lawtancool / hass-control4

Control4 integration for Home Assistant
Apache License 2.0
29 stars 9 forks source link

Message that a lilght should use wriite_ha_state instead of update_ha_state. #18

Closed granvillebarker closed 2 months ago

granvillebarker commented 11 months ago

2023-12-09 20:15:50.439 WARNING (MainThread) [homeassistant.helpers.entity] Entity light.abigail_s_bath_lights (<class 'custom_components.control4.light.Control4Light'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please create a bug report at https://github.com/lawtancool/hass-control4/issues

granvillebarker commented 11 months ago

After digging further into this, I can not find the implementation of schedule_update_ha_state() anywhere in the code base.

lawtancool commented 2 months ago

Fixed in #29