Open TawfikDaim opened 1 year ago
Be careful automation done using UI can have issues and will keep old lines of code that will; confuse and make it not work make sure to review automation in YAML
Here is a working sample as of 7 May 2023
alias: Motion_Zigbee_Nader-Dressing-Light description: NaderDressingLightOn_Zigbee trigger:
Automation has many types:
=========== Sample automation YAML ============ depends on ZigBee sensor (1 from above) alias: Motion_Zigbee_Nader-Bathroom-Light description: NaderBathroomLightOn_Zigbee trigger:
================depends on toggle updated by Alexa integration based on presence (3 from above) alias: Motion_EchoDot_Lamar-Lights-ON description: >- This depends on binary sensor that is controlled by Alexa motion sensor in Echo
turn_on_lamar_on_motion detected from Echo trigger: