Hello. I have a simple automation to switch on xiaomi gateway light when movement detected (by xiaomi aqara motion sensor) if lux level is below 1 (of the same xiaomi aqara motion sensor), but it seems to be ignored. What do you think the problem is? Thanks.
It is highly recommended to execute the Check Config command after editing configuration.yaml to find formatting errors. Otherwise, upon startup, Home Assistant will ignore improperly formatted YAML code (worst case, it will fail to restart).
Thanks for your help. I commented out the condition section. The automation still works exactly the same way… Seems like it doesn’t matter if the condition section is there or not…