Hey guys, i just got Home assistant setup, the main reason i got it is just to get this automation to work. i appreciate if someone can help me with that.
I have a smart plug (zigbee) that connected to a camera, The automation i want is as follow:
the camera switch is ON , from 7.45 am to 10.15 pm, OFF at other time
If im not home i want the camera switch to be ON all time, and disregard the rule 1)
if i come home , i want it to get back to rule 1)
i spent two days trying to get HA working and now i dont know the trigger , conditions, actions, or state logic to do this . Appreciate it.