ThomDietrich / miflora-mqtt-daemon

Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼πŸ₯€πŸ‘🌳
MIT License
606 stars 141 forks source link

add expire after for home assistant #138

Closed cycl0psg closed 3 years ago

mfoo commented 3 years ago

There's no description to this PR, but it sounds like it's adding the expire_after flag such that if e.g. the battery dies then HA will mark the sensor as unavailable. Is that correct?

Sounds super useful to me - my battery died yesterday!

ThomDietrich commented 3 years ago

I agree with what @mfoo said. Thanks @cycl0psg!