Hi, I have searched a lot for a solution but have not found anything that satisfied me.
I created an oven thermostat with an ESP32 and through MQTT I send a countdown in seconds (time left to cooking) to HA as well as an elapsed time and various temperatures. I would:
transform the seconds into → hours:minutes:seconds 00:00:00 *¹
use this value to give me the end time (knowing the current time) end of cook 18:35:00
create a timer with HA notification. (how to pass the time info to timer?)
Thanks.
*¹ this is probably the only thing I was able to do but i am not sure how to insert it in mqtt sensor:
Thanks for the reply. I tried using your template but it adds 1 hour to the time. It is not clear to me why.
Could it be related to UTC? I’m in the Rome +1 area.