Skip to content

'TIME_MINUTES' Depreciation #17

Description

@wh1t35m1th

HA core version

2025.1.0

Intergration version

0.3.0

The description of problem

Received the following error message:
Platform error 'sensor' from integration 'lta' - cannot import name 'TIME_MINUTES' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

'TIME_MINUTES' constant is depreciated in HA 2024.1.0.
'UnitOfTime.MINUTES' should be used instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions