Problems with nested "if" automation

Cupertino, February 11, 2021

I have an automation that says: When motion is detected If the lights are not already on Turn the lights on at 25% I have no problem with that automation. I would like to configure it where it runs only when the light sensor shows that it is touching a certain darkness on the outside. If I add another if statement at the beginning where: When motion has been detected If it is less than a certain brightness and If the lights are not already on Turn on the lights at 25% For some reason, they will not run. Nested "if" statements don't work?

Best selling & Top trending HomeKit product in our shop at this moment

HomeKit.Blog is in no way affiliated with or endorsed by Apple Inc. or Apple related subsidiaries.

All images, videos and logos are the copyright of the respective rights holders, and this website does not claim ownership or copyright of the aforementioned.

All information about products mentioned on this site has been collected in good faith. However, the information relating to them, may not be 100% accurate, as we only rely on the information we are able to gather from the companies themselves or the resellers who stock these products, and therefore cannot be held responsible for any inaccuracies arising from the aforementioned sources, or any subsequent changes that are made that we have not been made aware of.

HomeKit.Blog Is A Participant In The Amazon Services LLC Associates Program, An Affiliate Advertising Program Designed To Provide A Means For Sites To Earn Advertising Fees By Advertising And Linking To Amazon Store (, Or,,, Or

The opinions expressed on this website by our contributors do not necessarily represent the views of the website owners. 

Copyright © 2022 . All rights reserved
United States