When sensor "opens" turn lights *on" only if plug plug is "on"

First time posting here so I hope I’m in the right forum, but anyways…I currently have my bedroom set up so that if I open my door between certain hours the lights turn on. I work different hours sometimes so if I wake up in the middle of the night to go to the bathroom my lights will turn on (which I don’t want bc they are bright). I also sleep with a fan on every night using a Wyze plug to turn it on/off. I really wish in the rules we were able to set a command that if a door sensor opens turn the lights on but only if the fan is off. Maybe one day we will get this! Maybe I’m the only one that would find this useful lol.


Your submission has been merged (see below). Please hop on over there and VOTE for it. For your vote to count, you must click the VOTE button at the top of the page.

A post was merged into an existing topic: Shortcuts / rules with multiple conditional triggers