TawfikDaim / home_automation

home automation user stories
0 stars 0 forks source link

11 automation. Sample automation YAML ============ depends on ZigBee sensor (1 from above) alias: Motion_Zigbee_Nader-Bathroom-Light #22

Open TawfikDaim opened 1 year ago

TawfikDaim commented 1 year ago

Automation has many types:

  1. Based on Zigbee sensor motion detection (this is the standard one and preferred one)
  2. Based on Camera sensor motion (try to get out of using this one)
  3. Based on EchoDot ultrasound routine (that change value of a sensor called presence for each room that has a EchoDot and make the automation script run using this presence sensor (motioinliving)

=========== 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:

TawfikDaim commented 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: