Depending on who clicked the switch [user A, B or C] I’d like to do something different. It’s about how long the heating of the shower stays on.
user A: 15 minutes
user B: 10 minutes
user C: 5 minutes
Unfortunately I can’t find how to ‘extract’—using AppDaemon—who clicked the switch.
I listen to the state change and wrote the entity to the log file. I don’t see the user there.
Can you please help, thank you very much in advance.