-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensors which do not response for a long time are not marked as "unavailable" #2121
Comments
Openmqttgateway does not maintain state for any sensors sending data thru it. This is an issue for the application receiving the sensor data and not omg. |
The option |
I believe this can be set via MQTT Discovery topics. The included rtl_433_mqtt_hass.py auto discovery script provided by rtl_433 has a flag (-x) that sets a single value for the expiration of all data.
|
This issue is stale because it has been open for 90 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Describe the bug
When a sensor is no longer available (e.g. due to dead battery) Home Assistant is still reporing the current state as if it is a correct reading.
To Reproduce
Expected behavior
Expire sensor readings after some (configurable?) time when no new message arrives. See https://www.home-assistant.io/integrations/sensor.mqtt/#expire_after
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: