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

UpdatedDate and new HASL v3 doesn't work #15

Closed
stenleo opened this issue Jan 6, 2022 · 0 comments
Closed

UpdatedDate and new HASL v3 doesn't work #15

stenleo opened this issue Jan 6, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@stenleo
Copy link

stenleo commented Jan 6, 2022

var updatedDate = new Date(entity_data.last_updated);

Hi!

Noted an issue with this card related to the new departure sensors in HASLv3. This card uses the last_updated state attribute but that seems to be triggered frequently even if the data is actually not refreshed. I am not sure if this is something new with v3 but I'm guessing it has something to do with it caching the reponses.

I changed this in my on version to use the attribute last_refresh instead which gives the behavior we want.

@DSorlov DSorlov assigned DSorlov and unassigned dimmanramone Sep 10, 2022
@DSorlov DSorlov added the bug Something isn't working label Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants