Hello. When I switched from mqtt to HA api, the home assistant shows that sensor updates every minute even when it sleeps. I do not like that, because while sensor sleeps, the HA shows not current value but last, which may not reflec actual value. The sensor sleeps for 24 hours. What is wrong with the configuration?
No idea. But the value is definitely not coming from the sensor. The battery voltage jitter and when sensor dies, home assistant gets constant updates every minute with latest value. Nevermind, I switched over to mqtt, that correctly shows latest measurement and its value.
api:
Here I reflashed the sensor, disabled api: (blue line) and added mqtt: (red line). You can see that Home assistant still shows it is receiving values via api: even if it has been disabled.