Hi all,
I was searching for a solution to create a custom time input for a switch on the dashboard (not via switch timers).
The time for switching on/off must be very easy to change frequently.
No I was thinking to create a workaround as follow:
- Created a selector switch for hours (00-23u)
- Created a selector switch for minutes (steps of 10 minutes 00, 10, 20, 30 ....50)
(dashboard is dashticz).
Per selector I write the value to a hour and minute variable via json
The variable changes
Does someone know / can advise / help me how to combine these two variabele [hh:mm] into one variabele?
The 02:00h and 00:20h in the example must be 02:20h.
Afterwards I can compare this with the system time and switch on/off.
Thanks
Paul
Combine / adding up two time variabele
Moderators: leecollings, remb0
Who is online
Users browsing this forum: No registered users and 1 guest