-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
MQTT sensor timestamp extraction #33742
Comments
Hey there @emontnemery, @jbouwh, @bdraco, mind taking a look at this feedback as it has been labeled with an integration ( Code owner commandsCode owners of
|
I would not recommend using json attributes with changing values on every update, and neither, I would encourage not to set For the question on multiple time points of data in the past: |
@jbouwh, thank you for your answer. Thank you for clarifying this. It was not clear to me that Home Assistant assumes incoming sensor data is actual data. We can consider this matter resolved |
Feedback
Title: Clarification Needed on Extracting Timestamps from MQTT Sensors
Description:
I don't understand how to extract the timestamp from a sensor, and it's not very clear to me based on the current documentation.
There is an example explaining processing timestamps, but I am not 100% sure if my approach is correct:
I would appreciate it if there were a clear example of how to handle a scenario where a sensor wakes up and sends multiple time points. Is this not a common approach (for battery saving)?
Here's my specific case:
enviro/enviro-urban
To handle this, I manually added the following section to
configuration.yaml
using the file editor:It may be related to this discussion:
Would it be possible to get a clear example or further guidance on this?
URL
https://www.home-assistant.io/integrations/sensor.mqtt/
Version
2024.7.2
Additional information
No response
The text was updated successfully, but these errors were encountered: