Closed kalon33 closed 8 months ago
Plus 1 on the above problem. It seems only to happen with certain applications.
@kalon33 and @dickeos, does this warning message breaks the functioning of the integration, or is it just a "warning" without side-effects? I got the feeling no sensor updates are processed...
Hi,
I got the following message in home assistant log when my ttn v3 device is sending messages (for each of the entities retrieved) :
2023-05-27 15:20:42.271 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.trackit_ennio_batt (<class 'custom_components.thethingsnetwork.TTN_client.TtnDataSensor'>) 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.
Could you have a look for a fix? Thanks for your help.