Hi, looking for some advise. I have a farily simple HA setup with a few smart bulbs, motion/presence sensors and a hub. Trying to setup an automation that will switch on a light with based on the light level value provided by the hub with the condition if occupancy is detected in the room but it doesnt work; occupancy is detected but follow on actions dont execute.
Any tips on how to achieve this?
system:
HA running on mini N150 PC
Switchbot Hub 3
Wiz smart bulb
Switchbot Presence sensor
Have you checked the automations traces to see where exactly it’s failing? Also please post your automation yaml so that we can see where it might be going wrong.
Thanks for the responses. New to HA, tho I did look at the traces but couldnt figure out where it was failing. Thanks for the posting tips. Note the 2 minute timer was just for testing.
Can you please edit your post or try again but put your yaml inside a codeblock? When replying click the icon at the top that looks like </> or follow @Mats789 link for further details. What you posted is hard to read accurately, but if it’s done right it comes through as it should.
At a guess your config is way off and you’re confusing different parts of of script syntax, but we can’t guess based on the formating that comes through without a proper codeblock.