I have a little problem with the remaining time of my washing machine.
The remaining time sensor, shows an end time, but it is wrong. Thus, I can not use it to display the remaining time (in minutes).
Here briefly for explanation in a template:
status: sensor from the washing machine end time 13:00 clock
2nd status: current time in Homeassistant
status: sensor time machine finished
status: remaining time in minutes (1h ago it showed me also already 34 minutes, because the machine should be finished at 13:00 o’clock, it should have shown 104 minutes).
the sensor time is in UTC, you can tell by the +0000 at the end. That means your timezone isn’t attached to the sensors time. So when you do a calculation, you need to use a utc time to get the difference or attach your local timezone to the sensor’s timestamp. This means 1 of 2 things, you think it should be 13, when it’s actually not 13 because your timezone is not applied on the timestamp. Or your timezone is set incorrectly in your HA system. Based on your second sensor Waschmaschine_Uhrzeit_fertig, HA knows your timezone as being +1. So your end time on your washing machine is actually 14, according to your washing machine. If that’s wrong, then your washing machine is reporting the wrong time.
Ok, when i understand that correctly means the 4 zero at the end that the Sensor of the Washing Machine has no timezone.
That means HA can not calculate correctly (makes sense).
That means i must tell the sensor the correct timezone?! Or i must tell the timestamp the correct timezone?!
It shows me the UTC Time again (without +1) and not the relative time - remaining minutes. (I try the template-editor).
Its confusing me at the moment.