Hi I’m using https://github.com/ThomDietrich/miflora-mqtt-daemon to fetch data from my miflora sensors and send it over mqtt.
The sensors are automatically added to home assistant with mqtt discovery.
But i want to set forced_update
to true, how would I do that when the sensor is dynamiclly created?
I have tried the following but it did not seem to work.
homeassistant:
customize_glob:
"sensor.plant_sensor_*_moisture":
force_update: true
The reason for doing this is, if I receive the exact same value again via mqtt the last changed field does not change value. (when forced_update
is set to true it changes timestamp even if the value is the same.)
I want to check for stale data, this could happen if a sensor locks up or runs out of battery, or if the daemon crashes.