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.

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