-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
MQTT last_reported not updated #139989
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
Comments
Hey there @emontnemery, @jbouwh, @bdraco, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) mqtt documentation |
May be your issue is a duplicate of #121978 Try to set |
I have several Ring cameras 3rd gen and all of them come in but one of them to MQTT, can you give me some guidance on why or how to repair it? Thanks for all your work on the Ring integration. It is much appreciated. |
@mikefrantz for support, please use discord. Your problem is not related to this issue |
The MQTT docs were updated to inform users how MQTT deals with state updates. See: https://www.home-assistant.io/integrations/mqtt/#entity-state-updates The linked PR is an opt in to allow disabling suppressing state writes. The default behavior is that MQTT will suppress state writes when a state was not changed. |
I will use force_update. Thanks |
The problem
For my P1 Meter (checked with MQTT Explorer), values are published every 30 seconds.
The MQTT integration is apparently not updating last_reported when both the published state and attributes remained the same.
Current behaviour (3rd is wrong imo):
1: State change: last_changed, last_updated, and last_reported are updated -> correct
2: attributes only change; last_updated, and last_reported are updated -> correct
3: same state and attributes published by device; only last_reported should update, but doesn’t!
What version of Home Assistant Core has the issue?
Core-2025.2.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
MQTT
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mqtt/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: