Anybody know why a calendar entry today is reporting 2 days ago?
Whether manual or automation or script this seems to be wrong. What is it trying to tell me?
Anybody know why a calendar entry today is reporting 2 days ago?
Whether manual or automation or script this seems to be wrong. What is it trying to tell me?
Hover over the 2 days ago
and it will show you last updated and last changed. Those values have distinct meanings in HA, which can be found in the state object documentation.
Also, you’ll get more hits on your posts if you post in configuration instead of development. Development category is for people asking questions about how to develop something for HA. It’s not an “ask the developers” category.
Hover I’m on a tablet.
As for last values were talking entries several an hour, so 2 days is impossible.
As for where to post this whole site is a spider web of confusing categories. If I post somewhere else I’m told not to post there, it’s a very unfriendly place.
It’s “last_changed” in the documentation I just linked on state objects. I can see that you haven’t clicked on it.
It can’t be there are dozens of other entries that hour never mind days.
It’s why I’m asking it makes no sense.
Right, but that’s the last_changed for the calendar entity, not the event. And it’s referencing the state of the calendar entity. Which is either on or off depending if it’s inside or outside an event.
I understand that but then there’s dozens of entries that day why is it saying 2 days?
The previous one is minutes ago, I get 30-40 entries a day in 12 different calendars. There is no way any of the have a 2 day gap between entries.
You still aren’t understanding. It’s the last time the state in the calendar’s changed. The last time the calendar when from off to on or vice versa.
So lets say you have a calendar with 45 events.
The state of the calendar is on or off if an event is active. Lets pretend you’re 4 days past event 23 and event 24 is in 2 days. That value on the current day will say 4 days ago. And tomorrow it will say 5 days ago. And the next day it will say 6 days ago. Then finally when the event 24 is active, it will say x minutes ago.
Yes, you’re not understanding, with dozens of entries a day in 12 different calendars (each), there is no way the last state change was 2 days ago.
They time base often just a few minutes, rarely even an hour or more. Anything over the 24 hour period is logged and restarted so there is nothing more than 24 hours and realistically none more than 8 hours. They aren’t even written into the calendar until the end date time is determined and both start and end is historical. With three exception that post date time based upon a runtime, so a start date time plus upto 4 hours…
I 100% understand that you are not understanding what a state change is currently. Please read my update in the last post.
To further clarify, events are not entities, calendars are. You’re looking at an event from a calendar entity. So the last state is for the full calendar not the singular event.