I have a washing machine with an attribute remain_time showing the time remaining in a cycle. The attribute value format is HH:MM:SS.
I’m trying to create a template sensor to return the value of that attribute but I’m failing.
I’ve tried the below but it just returns 0. Can anyone give me any help on this please? I also only want the result of the template to return the time in minutes.
Thanks, that’s resolved that part of the issue as I just entered your suggestion into the template editor and it does return the actual time in the format H:MM:SS.
@c0ntax keep in mind, if your remaining time is longer than 24 hours, hellis81’s template and the today_at template won’t work. I doubt this will happen, but if it does, you should use the as_timedelta template.