Maybe a silly question, but I am just starting out so please forgive me is I am asking redundant questions. Have tried to search the forum without success.
I have set up my and my wifes phones as 2 devices, pinged by the ping plugin.
I have also made a $home variable that is set to “true” if someone is home and “false” if both phones have been gone for at least 15 minutes.
I want to show this as a presence icon somehow.
Right now its only showing the string true/false.
How can i do this?
Possible to make with the presence “dot” somehow?
making it as a switch? - possible to make this unswitchable?
making it as a button group where i can choose home/away/night mode manually but the rules change automaticly if I am passive.
No 3 is a nice idea - is it possible to mark a button as selected depending on which mode is running?
Is there any overview somewhere about the different types classes that can be used?