rxwen / homeassistant-terncy-component

Terncy custom component for homeassistant
https://www.terncy.com
72 stars 11 forks source link

Fix error in HA 2024.1 (HA>=2022.11) #55

Closed Necroneco closed 10 months ago

Necroneco commented 10 months ago

Remove slots=True in @dataclass, which will cause error in HA 2024.1


Frozen the entity description

see https://developers.home-assistant.io/blog/2023/12/11/entity-description-changes


Replaced deprecated constants

This fix the warning in 2024.1, and will increase the minimum HA version to 2022.11

see https://developers.home-assistant.io/blog/2023/12/19/constant-deprecation