Skip to content
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

Attribute timestamp? #659

Open
olavt opened this issue Mar 29, 2024 · 3 comments
Open

Attribute timestamp? #659

olavt opened this issue Mar 29, 2024 · 3 comments

Comments

@olavt
Copy link

olavt commented Mar 29, 2024

Ideally each attribute should have a timestamp in order for the client to be able to determine the time for when the attribute value was last updated.

@marcelveldt
Copy link
Contributor

For now I don't see much benefit in this - it requires a big change in the datamodel and its less efficient.
What I can imagine as a middle-ground is a timestamp on node level to update when ANY attribute updates.

What we do in HA is just treat all attributes as new/updated at startup and then just listen to all attribute changed events.

@olavt
Copy link
Author

olavt commented May 16, 2024

It would certainly help to have a timestamp at the node level.

@marcelveldt
Copy link
Contributor

It would certainly help to have a timestamp at the node level.

OK, I'll see if I can add that quickly in somewhere in the next couple of days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants