enkama / hass-variables

Home Assistant variables component
89 stars 12 forks source link

Change async_update_ha_state() to async_write_ha_state() #59

Closed Snuffy2 closed 1 year ago

Snuffy2 commented 1 year ago

Warning in HA Logs.

2023-05-08 15:28:44.812 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.garage_door_bikes_status (<class 'custom_components.variable.sensor.Variable'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author.

Will look to fix .....