jason0x43 / hacs-hubitat

A Hubitat integration for Home Assistant
MIT License
196 stars 48 forks source link

Device_Stat_Attributes #156

Closed STiCory closed 2 years ago

STiCory commented 2 years ago

This error has been popping up every time I restart HA (which is not often enough for me to remember to submit an issue when I see it unfortunately), but it appears as though everything works fine?

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:574
First occurred: February 6, 2022, 9:40:04 PM (3 occurrences)
Last logged: February 6, 2022, 9:40:04 PM

Entity lock._redacted_ (<class 'custom_components.hubitat.lock.HubitatLock'>) implements device_state_attributes. Please report it to the custom component author.
Entity lock._redacted_ (<class 'custom_components.hubitat.lock.HubitatLock'>) implements device_state_attributes. Please report it to the custom component author.
Entity lock._redacted_ (<class 'custom_components.hubitat.lock.HubitatLock'>) implements device_state_attributes. Please report it to the custom component author.
STiCory commented 2 years ago

Hey @jason0x43, have you had a chance to take a look at this? Thank you!

jason0x43 commented 2 years ago

It's not a problem (yet); device_state_attributes was deprecated and replaced by extra_state_attributes in 2012.12.0. I'll have an update out shortly.

STiCory commented 2 years ago

Confirmed all good! Thank you!