[ { "id": "3d_printer_prusa_mk4_print_finished", "automation": "- alias: 3D-Printer - Prusa MK4 Print Finished\n id: 3d_printer_prusa_mk4_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4\n to: finished\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: 3D Print Complete\n data:\n tag: prusa_mk4_finished\n group: 3d_printer", "config": [ { "name": "Prusa MK4 printer", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.prusa_mk4", "device_id": null } }, { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } } ] }, { "id": "3d_printer_prusa_mk4_print_error", "automation": "- alias: 3D-Printer - Prusa MK4 Print Error\n id: 3d_printer_prusa_mk4_print_error\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4_nozzle_temperature\n below: 165\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: sensor.prusa_mk4\n state: printing\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: 3D Print Error\n data:\n tag: prusa_error\n group: 3d_printer", "config": [ { "name": "Prusa MK4 printer", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.prusa_mk4", "device_id": null } }, { "name": "Prusa MK4 nozzle temperature", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.prusa_mk4_nozzle_temperature", "device_id": null } }, { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } } ] }, { "id": "3d_printer_prusa_mk4_print_error_status", "automation": "- alias: 3D-Printer - Prusa MK4 Print Error Status\n id: 3d_printer_prusa_mk4_print_error_status\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4\n to: error\n - trigger: state\n entity_id: sensor.prusa_mk4\n to: attention\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: 3D Print Error\n data:\n tag: prusa_error\n group: 3d_printer", "config": [ { "name": "Prusa MK4 printer", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.prusa_mk4", "device_id": null } }, { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } } ] }, { "id": "alarm_trouble_notification", "automation": "- alias: Alarm - Trouble Notification\n id: alarm_trouble_notification\n triggers:\n - trigger: state\n entity_id: sensor.alarm_system_trouble\n from: 'false'\n to: 'true'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Alarm System Trouble Light On", "config": [ { "name": "Alarm system trouble sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.alarm_system_trouble", "device_id": null } } ] }, { "id": "away_notification_garage_door_opened", "automation": "- alias: Away Notification - Garage Door Opened\n id: away_notification_garage_door_opened\n triggers:\n - trigger: state\n entity_id: group.garage_doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_away_notifications\n state: 'off'\n actions:\n - delay: 00:00:10\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Away Alert - Garage Door Opened\n data:\n push:\n category: camera\n entity_id: camera.garage_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Away Alert - Garage Door Opened\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Garage doors group", "room": "garage", "type": "group", "id": { "entity_id": "group.garage_doors", "device_id": null } }, { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable away notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_away_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } } ] }, { "id": "away_notification_back_door_opened", "automation": "- alias: Away Notification - Back Door Opened\n id: away_notification_back_door_opened\n triggers:\n - trigger: state\n entity_id: binary_sensor.back_door\n from: 'off'\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_away_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Away Alert - Back Door Opened\n data:\n push:\n category: camera\n entity_id: camera.south_back_door_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Away Alert - Back Door Opened\n data:\n push:\n category: camera\n entity_id: camera.south_back_door_high", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable away notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_away_notifications", "device_id": null } }, { "name": "Back door sensor", "room": "back", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.back_door", "device_id": null } }, { "name": "South back door high camera", "room": "back", "type": "camera", "id": { "entity_id": "camera.south_back_door_high", "device_id": null } } ] }, { "id": "away_notification_front_door_opened", "automation": "- alias: Away Notification - Front Door Opened\n id: away_notification_front_door_opened\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door\n from: 'off'\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_away_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Away Alert - Front Door Opened\n data:\n push:\n category: camera\n entity_id: camera.north_front_door_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Away Alert - Front Door Opened\n data:\n push:\n category: camera\n entity_id: camera.north_front_door_high", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable away notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_away_notifications", "device_id": null } }, { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "North front door high camera", "room": "front", "type": "camera", "id": { "entity_id": "camera.north_front_door_high", "device_id": null } } ] }, { "id": "away_notification_basement_door_opened", "automation": "- alias: Away Notification - Basement Door Opened\n id: away_notification_basement_door_opened\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_door\n from: 'off'\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_away_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Away Alert - Basement Door Opened\n data:\n push:\n category: camera\n entity_id: camera.west_walkout_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Away Alert - Basement Door Opened\n data:\n push:\n category: camera\n entity_id: camera.west_walkout_high", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable away notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_away_notifications", "device_id": null } }, { "name": "Basement door sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.basement_door", "device_id": null } }, { "name": "West walkout high camera", "room": "basement", "type": "camera", "id": { "entity_id": "camera.west_walkout_high", "device_id": null } } ] }, { "id": "away_notification_garage_back)door_opened", "automation": "- alias: Away Notification - Garage Back Door Opened\n id: away_notification_garage_back)door_opened\n triggers:\n - trigger: state\n entity_id: binary_sensor.garage_back_door\n from: 'off'\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_away_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Away Alert - Garage Back Door Opened\n data:\n push:\n category: camera\n entity_id: camera.garage_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Away Alert - Garage Back Door Opened\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable away notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_away_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Garage back door sensor", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.garage_back_door", "device_id": null } } ] }, { "id": "alarm_exterior_door_open_long", "automation": "- alias: Notification - Exterior Door Open Long\n id: alarm_exterior_door_open_long\n triggers:\n - trigger: state\n entity_id: binary_sensor.back_door\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n variables:\n trigger_message: Alert - Back Door Opened 1 Minute\n trigger_camera: camera.south_back_door_high\n - trigger: state\n entity_id: binary_sensor.basement_door\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n variables:\n trigger_message: Alert - Basement Door Opened 1 Minute\n trigger_camera: camera.west_walkout_high\n - trigger: state\n entity_id: binary_sensor.front_door\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n variables:\n trigger_message: Alert - Front Door Opened 1 Minute\n trigger_camera: camera.north_front_door_high\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: '{{ trigger_message }}'\n data:\n push:\n category: camera\n entity_id: '{{ trigger_camera }}'\n - action: notify.mobile_app_USER2_iphone\n data:\n message: '{{ trigger_message }}'\n data:\n push:\n category: camera\n entity_id: '{{ trigger_camera }}'", "config": [ { "name": "Back door sensor", "room": "back", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.back_door", "device_id": null } }, { "name": "South back door high camera", "room": "back", "type": "camera", "id": { "entity_id": "camera.south_back_door_high", "device_id": null } }, { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "North front door high camera", "room": "front", "type": "camera", "id": { "entity_id": "camera.north_front_door_high", "device_id": null } }, { "name": "Basement door sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.basement_door", "device_id": null } }, { "name": "West walkout high camera", "room": "basement", "type": "camera", "id": { "entity_id": "camera.west_walkout_high", "device_id": null } } ] }, { "id": "alarm_garage_entry_door_open_long", "automation": "- alias: Notification - Garage Entry Door Open Long\n id: alarm_garage_entry_door_open_long\n triggers:\n - trigger: state\n entity_id: binary_sensor.garage_entry_door\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n variables:\n trigger_message: Alert - Garage Entry Door Opened 1 Minute\n trigger_camera: camera.garage_high\n conditions:\n condition: or\n conditions:\n - condition: state\n entity_id: cover.double_garage\n state: open\n - condition: state\n entity_id: cover.single_garage\n state: open\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: '{{ trigger_message }}'\n data:\n push:\n category: camera\n entity_id: '{{ trigger_camera }}'\n - action: notify.mobile_app_USER2_iphone\n data:\n message: '{{ trigger_message }}'\n data:\n push:\n category: camera\n entity_id: '{{ trigger_camera }}'", "config": [ { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Garage entry door sensor", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.garage_entry_door", "device_id": null } }, { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Single garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.single_garage", "device_id": null } } ] }, { "id": "biocube_feed_mode_on", "automation": "- alias: Biocube32 Feed Mode On\n id: biocube_feed_mode_on\n triggers:\n - trigger: state\n entity_id: input_boolean.biocube_feed_mode\n to: 'on'\n actions:\n - action: switch.turn_off\n entity_id:\n - switch.biocube_pump\n - action: switch.turn_off\n entity_id:\n - switch.biocube_wavemaker\n - action: homeassistant.turn_on\n entity_id: input_boolean.fish_fed_today", "config": [ { "name": "Biocube feed mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_feed_mode", "device_id": null } }, { "name": "Biocube pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_pump", "device_id": null } }, { "name": "Biocube wavemaker switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_wavemaker", "device_id": null } }, { "name": "Fish fed today switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.fish_fed_today", "device_id": null } } ] }, { "id": "biocube_feed_mode_off", "automation": "- alias: Biocube32 Feed Mode Off\n id: biocube_feed_mode_off\n triggers:\n - trigger: state\n entity_id: input_boolean.biocube_feed_mode\n to: 'off'\n actions:\n - action: switch.turn_on\n entity_id:\n - switch.biocube_wavemaker\n - delay: 00:03:00\n - action: switch.turn_on\n entity_id:\n - switch.biocube_pump", "config": [ { "name": "Biocube feed mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_feed_mode", "device_id": null } }, { "name": "Biocube pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_pump", "device_id": null } }, { "name": "Biocube wavemaker switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_wavemaker", "device_id": null } } ] }, { "id": "biocube_temperature_high", "automation": "- alias: Biocube32 High Temperature\n id: biocube_temperature_high\n triggers:\n - trigger: numeric_state\n entity_id: sensor.biocube_temperature\n above: 82\n for:\n hours: 0\n minutes: 20\n seconds: 0\n actions:\n - action: switch.turn_off\n entity_id:\n - switch.biocube_heater\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube Temp High - Heater turned Off!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Biocube Temp High - Heater turned Off!", "config": [ { "name": "Biocube temperature sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.biocube_temperature", "device_id": null } }, { "name": "Biocube heater switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_heater", "device_id": null } } ] }, { "id": "biocube_temperature_low", "automation": "- alias: Biocube32 Low Temperature\n id: biocube_temperature_low\n triggers:\n - trigger: numeric_state\n entity_id: sensor.biocube_temperature\n below: 76\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.biocube_maintenance_mode\n state: 'off'\n actions:\n - action: switch.turn_on\n entity_id:\n - switch.biocube_heater\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube Temp Low - Check Tank Temp\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Biocube Temp Low - Check Tank Temp", "config": [ { "name": "Biocube temperature sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.biocube_temperature", "device_id": null } }, { "name": "Biocube heater switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_heater", "device_id": null } }, { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "biocube_pump_left_off_after_feeding", "automation": "- alias: Biocube32 Pump Left Off After Feeding\n id: biocube_pump_left_off_after_feeding\n triggers:\n - trigger: state\n entity_id: switch.biocube_pump\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.fish_fed_today\n state: 'on'\n - condition: state\n entity_id: input_boolean.biocube_maintenance_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.biocube_feed_mode\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube Pump Off 10m After Feeding - Turning On!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Biocube Pump Off 10m After Feeding - Turning On!", "config": [ { "name": "Biocube feed mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_feed_mode", "device_id": null } }, { "name": "Biocube pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_pump", "device_id": null } }, { "name": "Fish fed today switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.fish_fed_today", "device_id": null } }, { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "biocube_pump_off_15m", "automation": "- alias: Biocube32 Pump Off 15m\n id: biocube_pump_off_15m\n triggers:\n - trigger: state\n entity_id: switch.biocube_pump\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.biocube_maintenance_mode\n state: 'off'\n action:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube Pump Off 15m - CHECK PUMP!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Biocube Pump Off 15m - CHECK PUMP!", "config": [ { "name": "Biocube pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_pump", "device_id": null } }, { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "biocube_wavemaker_off_20m", "automation": "- alias: Biocube32 Wavemaker Off 20m\n id: biocube_wavemaker_off_20m\n triggers:\n - trigger: state\n entity_id: switch.biocube_wavemaker\n to: 'off'\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.biocube_maintenance_mode\n state: 'off'\n action:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube Wavemaker Off 20m - CHECK Wavemaker!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Biocube Pump Off 20m - CHECK Wavemaker!", "config": [ { "name": "Biocube wavemaker switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_wavemaker", "device_id": null } }, { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "biocube_ato_running", "automation": "- alias: Biocube32 ATO Running\n id: biocube_ato_running\n triggers:\n - trigger: state\n entity_id: sensor.biocube_ato_status\n from: not running\n to: running\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube ATO Running", "config": [ { "name": "Biocube ATO status sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.biocube_ato_status", "device_id": null } } ] }, { "id": "biocube_ato_running_long", "automation": "- alias: Biocube32 ATO Running LONG\n id: biocube_ato_running_long\n triggers:\n - trigger: state\n entity_id: sensor.biocube_ato_status\n from: not running\n to: running\n for:\n hours: 0\n minutes: 3\n seconds: 0\n actions:\n - action: switch.turn_off\n entity_id: switch.biocube_ato\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube ATO Running LONG 3m - ATO Turned Off", "config": [ { "name": "Biocube ATO status sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.biocube_ato_status", "device_id": null } }, { "name": "Biocube ATO switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_ato", "device_id": null } } ] }, { "id": "biocube_ato_tank_low", "automation": "- alias: Biocube32 ATO Tank Low\n id: biocube_ato_tank_low\n triggers:\n - trigger: numeric_state\n entity_id: sensor.biocube_32_ato_reservoir_level\n below: 30\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.biocube_maintenance_mode\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube ATO Tank Needs Filled - Currently at {{states.sensor.biocube_32_ato_reservoir_level.state}}", "config": [ { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } }, { "name": "Biocube 32 ATO reservoir level sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.biocube_32_ato_reservoir_level", "device_id": null } } ] }, { "id": "biocube_ato_off_disable_pump", "automation": "- alias: Biocube32 ATO Off - Disable Pump\n id: biocube_ato_off_disable_pump\n triggers:\n - trigger: state\n entity_id: switch.biocube_ato\n to: 'off'\n actions:\n - action: switch.turn_off\n entity_id: switch.biocube_ato_pump", "config": [ { "name": "Biocube ATO switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_ato", "device_id": null } }, { "name": "Biocube ATO pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_ato_pump", "device_id": null } } ] }, { "id": "biocube_ato_on_enable_pump", "automation": "- alias: Biocube32 ATO On - Enable Pump\n id: biocube_ato_on_enable_pump\n triggers:\n - trigger: state\n entity_id: switch.biocube_ato\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n actions:\n - action: switch.turn_on\n entity_id: switch.biocube_ato_pump", "config": [ { "name": "Biocube ATO switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_ato", "device_id": null } }, { "name": "Biocube ATO pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_ato_pump", "device_id": null } } ] }, { "id": "biocube_maintenance_mode_60m", "automation": "- alias: Biocube32 Maintenance Mode - 60m\n id: biocube_maintenance_mode_60m\n triggers:\n - trigger: state\n entity_id: input_boolean.biocube_maintenance_mode\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Biocube Maintenance Mode Off 60m!", "config": [ { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "biocube_feed_fish_reminder_all", "automation": "- alias: Feed Fish Reminder - All\n id: biocube_feed_fish_reminder_all\n triggers:\n - trigger: time\n at: '17:30:00'\n conditions:\n - condition: state\n entity_id: input_boolean.fish_fed_today\n state: 'off'\n action:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Reminder fish need fed today\n - action: notify.mobile_app_USER4_iphone\n data:\n message: Reminder fish need fed today\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Reminder fish need fed today", "config": [ { "name": "Fish fed today switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.fish_fed_today", "device_id": null } } ] }, { "id": "biocube_feed_fish_reset", "automation": "- alias: Fish Fed Today - Reset Switch\n id: biocube_feed_fish_reset\n triggers:\n - trigger: time\n at: 00:30:00\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.fish_fed_today", "config": [ { "name": "Fish fed today switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.fish_fed_today", "device_id": null } } ] }, { "id": "red_sea_uv_usage_total_counter", "automation": "- alias: Red Sea UV Light Usage - Total Counter\n id: red_sea_uv_usage_total_counter\n triggers:\n - trigger: time\n at: '23:59:00'\n actions:\n - action: input_number.set_value\n data_template:\n entity_id: input_number.redsea_uv_light_usage\n value: '{{ states.sensor.red_sea_aqua_uv_runtime_today.state | float / 24 +\n states.input_number.redsea_uv_light_usage.state | float }}'", "config": [ { "name": "Red Sea UV light usage input", "room": "aquarium", "type": "input_number", "id": { "entity_id": "input_number.redsea_uv_light_usage", "device_id": null } }, { "name": "Red Sea aqua UV runtime today sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_aqua_uv_runtime_today", "device_id": null } } ] }, { "id": "red_sea_dosing_enabled", "automation": "- alias: Red Sea Dosing - Enabled\n id: red_sea_dosing_enabled\n triggers:\n - trigger: state\n entity_id: input_boolean.red_sea_dosing\n to: 'on'\n actions:\n - action: homeassistant.turn_off\n entity_id: switch.1_uv_light", "config": [ { "name": "Red Sea dosing switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.red_sea_dosing", "device_id": null } }, { "name": "Red Sea UV light switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.1_uv_light", "device_id": null } } ] }, { "id": "red_sea_dosing_disabled", "automation": "- alias: Red Sea Dosing - Disabled\n id: red_sea_dosing_disabled\n triggers:\n - trigger: state\n entity_id: input_boolean.red_sea_dosing\n to: 'on'\n for:\n hours: '{{ states.input_number.red_sea_dosing_delay.state | int }}'\n minutes: 0\n seconds: 0\n actions:\n - action: homeassistant.turn_on\n entity_id: switch.1_uv_light\n - action: homeassistant.turn_off\n entity_id: input_boolean.red_sea_dosing", "config": [ { "name": "Red Sea dosing switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.red_sea_dosing", "device_id": null } }, { "name": "Red Sea UV light switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.1_uv_light", "device_id": null } }, { "name": "Red Sea dosing delay input", "room": "aquarium", "type": "input_number", "id": { "entity_id": "input_number.red_sea_dosing_delay", "device_id": null } } ] }, { "id": "redsea_temperature_high", "automation": "- alias: Red Sea High Temperature\n id: redsea_temperature_high\n triggers:\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_1\n above: input_number.red_sea_high_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_2\n above: input_number.red_sea_high_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_3\n above: input_number.red_sea_high_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_4\n above: input_number.red_sea_high_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Red Sea Temp High - Check Tank!!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Red Sea Temp High - Check Tank!!", "config": [ { "name": "Red Sea temperature 1 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_1", "device_id": null } }, { "name": "Red Sea temperature 2 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_2", "device_id": null } }, { "name": "Red Sea temperature 3 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_3", "device_id": null } }, { "name": "Red Sea temperature 4 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_4", "device_id": null } }, { "name": "Red Sea high temp alarm input", "room": "aquarium", "type": "input_number", "id": { "entity_id": "input_number.red_sea_high_temp_alarm", "device_id": null } } ] }, { "id": "redsea_temperature_low", "automation": "- alias: Red Sea Low Temperature\n id: redsea_temperature_low\n triggers:\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_1\n below: input_number.red_sea_low_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_2\n below: input_number.red_sea_low_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_3\n below: input_number.red_sea_low_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.red_sea_temperature_4\n below: input_number.red_sea_low_temp_alarm\n for:\n hours: 0\n minutes: 20\n seconds: 0\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Red Sea Temp Low - Check Tank Temp!!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Red Sea Temp Low - Check Tank Temp!!", "config": [ { "name": "Red Sea temperature 1 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_1", "device_id": null } }, { "name": "Red Sea temperature 2 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_2", "device_id": null } }, { "name": "Red Sea temperature 3 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_3", "device_id": null } }, { "name": "Red Sea temperature 4 sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.red_sea_temperature_4", "device_id": null } }, { "name": "Red Sea low temp alarm input", "room": "aquarium", "type": "input_number", "id": { "entity_id": "input_number.red_sea_low_temp_alarm", "device_id": null } } ] }, { "id": "red_sea_protein_skimmer_pump_off_with_return_pump", "automation": "- alias: Red Sea Protein Skimmer Pump Off with Return Pump\n id: red_sea_protein_skimmer_pump_off_with_return_pump\n triggers:\n - trigger: numeric_state\n entity_id: sensor.1_return_pump_current_consumption\n below: 30\n conditions:\n - condition: state\n entity_id: switch.1_protein_skimmer_pump\n state: 'on'\n actions:\n - action: homeassistant.turn_off\n entity_id: switch.1_protein_skimmer_pump\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Red Sea Protein Skimmer Pump Turned Off with Return Pump", "config": [ { "name": "Red Sea return pump current consumption sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.1_return_pump_current_consumption", "device_id": null } }, { "name": "Red Sea protein skimmer pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.1_protein_skimmer_pump", "device_id": null } } ] }, { "id": "red_sea_protein_skimmer_full", "automation": "- alias: Red Sea Protein Skimmer Full\n id: red_sea_protein_skimmer_full\n triggers:\n - trigger: numeric_state\n entity_id: sensor.1_protein_skimmer_current_consumption\n below: 10\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: switch.1_protein_skimmer_pump\n state: 'on'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Red Sea Protein Skimmer possibly FULL! Low Power Usage.", "config": [ { "name": "Red Sea protein skimmer pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.1_protein_skimmer_pump", "device_id": null } }, { "name": "Red Sea protein skimmer current consumption sensor", "room": "aquarium", "type": "sensor", "id": { "entity_id": "sensor.1_protein_skimmer_current_consumption", "device_id": null } } ] }, { "id": "Audio Notification - Kitchen Sink Water Sensor", "automation": "- alias: Audio Notification - Kitchen Sink Water Sensor\n triggers:\n - trigger: event\n event_type: timer.started\n event_data:\n entity_id: timer.alarm_kitchen_sink_water_sensor\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: media_player.volume_set\n entity_id:\n - media_player.office\n data:\n volume_level: '0.6'\n - action: tts.google_translate_say\n entity_id: media_player.office\n data:\n message: Warning, Warning. Water detected by the Kitchen Sink.", "config": [ { "name": "Kitchen sink water sensor timer", "room": "kitchen", "type": "timer", "id": { "entity_id": "timer.alarm_kitchen_sink_water_sensor", "device_id": null } }, { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Office media player", "room": "office", "type": "media_player", "id": { "entity_id": "media_player.office", "device_id": null } } ] }, { "id": "Audio Notification Loop - Kitchen Sink Water Sensor", "automation": "- alias: Audio Notification Loop - Kitchen Sink Water Sensor\n triggers:\n - trigger: event\n event_type: timer.finished\n event_data:\n entity_id: timer.alarm_kitchen_sink_water_sensor\n conditions:\n condition: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n state: 'on'\n actions:\n - action: timer.start\n entity_id: timer.alarm_kitchen_sink_water_sensor", "config": [ { "name": "Kitchen sink water sensor timer", "room": "kitchen", "type": "timer", "id": { "entity_id": "timer.alarm_kitchen_sink_water_sensor", "device_id": null } }, { "name": "Kitchen sink water sensor", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_sink_water_sensor", "device_id": null } } ] }, { "id": "IOS USER4 Charge Phone - Notification", "automation": "- alias: IOS USER4 Charge Phone - Notification\n triggers:\n - trigger: numeric_state\n entity_id: sensor.USER4_iphone_battery_level\n below: 50\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.USER4_iphone_battery_state\n state: Not Charging\n - condition: state\n entity_id: sensor.USER4_iphone_connection_type\n state: Wi-Fi\n - condition: state\n entity_id: sensor.USER4_iphone_ssid\n state: Restricted Section\n actions:\n - action: notify.mobile_app_USER4_iphone\n data:\n message: Battery Low - Plug In Phone Now\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Battery Low", "config": [ { "name": "USER4 iPhone battery level sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_battery_level", "device_id": null } }, { "name": "USER4 iPhone battery state sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_battery_state", "device_id": null } }, { "name": "USER4 iPhone connection type sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_connection_type", "device_id": null } }, { "name": "USER4 iPhone SSID sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_ssid", "device_id": null } } ] }, { "id": "IOS USER4 Charge Phone Critical - Notification", "automation": "- alias: IOS USER4 Charge Phone Critical - Notification\n triggers:\n - trigger: numeric_state\n entity_id: sensor.USER4_iphone_battery_level\n below: 30\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.USER4_iphone_battery_state\n state: Not Charging\n actions:\n - action: notify.mobile_app_USER4_iphone\n data:\n message: Battery Critical - Plug In Phone Now\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Battery Critical", "config": [ { "name": "USER4 iPhone battery level sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_battery_level", "device_id": null } }, { "name": "USER4 iPhone battery state sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_battery_state", "device_id": null } } ] }, { "id": "IOS USER4 Turned Off Wifi At Home - Notification", "automation": "- alias: IOS USER4 Turned Off Wifi At Home - Notification\n triggers:\n - trigger: state\n entity_id: sensor.USER4_iphone_connection_type\n from: Wi-Fi\n to: Cellular\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: person.USER4\n state: home\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Turned Off Wifi - At Home", "config": [ { "name": "USER4 iPhone connection type sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER4_iphone_connection_type", "device_id": null } }, { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } } ] }, { "id": "IOS USER3 Charge Phone - Notification", "automation": "- alias: IOS USER3 Charge Phone - Notification\n triggers:\n - trigger: numeric_state\n entity_id: sensor.USER3_iphone_battery_level\n below: 45\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.USER3_iphone_battery_state\n state: Not Charging\n - condition: state\n entity_id: sensor.USER3_iphone_connection_type\n state: Wi-Fi\n - condition: state\n entity_id: sensor.USER3_iphone_ssid\n state: Restricted Section\n actions:\n - action: notify.mobile_app_USER3_iphone\n data:\n message: Battery Low - Plug In Phone Now\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER3 Battery Low", "config": [ { "name": "USER3 iPhone battery level sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER3_iphone_battery_level", "device_id": null } }, { "name": "USER3 iPhone battery state sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER3_iphone_battery_state", "device_id": null } }, { "name": "USER3 iPhone connection type sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER3_iphone_connection_type", "device_id": null } }, { "name": "USER3 iPhone SSID sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER3_iphone_ssid", "device_id": null } } ] }, { "id": "IOS USER3 Charge Phone Critical - Notification", "automation": "- alias: IOS USER3 Charge Phone Critical - Notification\n triggers:\n - trigger: numeric_state\n entity_id: sensor.USER3_iphone_battery_level\n below: 30\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.USER3_iphone_battery_state\n state: Not Charging\n actions:\n - action: notify.mobile_app_USER3_iphone\n data:\n message: Battery Critical - Plug In Phone Now\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER3 Battery Critical", "config": [ { "name": "USER3 iPhone battery level sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER3_iphone_battery_level", "device_id": null } }, { "name": "USER3 iPhone battery state sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER3_iphone_battery_state", "device_id": null } } ] }, { "id": "Basement Theme - Default On", "automation": "- alias: Basement Theme - Default On\n triggers:\n - trigger: state\n entity_id: input_select.basement_theme\n to: Default\n actions:\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n transition: 5\n brightness_pct: 100\n effect: Warm White\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n transition: 5\n brightness_pct: 100\n effect: Warm White", "config": [ { "name": "Basement theme selector", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.basement_theme", "device_id": null } }, { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } } ] }, { "id": "Basement Theme - None Reset", "automation": "- alias: Basement Theme - None Reset\n triggers:\n - trigger: state\n entity_id: light.basement\n to: 'off'\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.basement_theme\n option: None", "config": [ { "name": "Basement theme selector", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.basement_theme", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } } ] }, { "id": "Basement Theme - Party Mode On", "automation": "- alias: Basement Theme - Party Mode On\n triggers:\n - trigger: state\n entity_id: input_select.basement_theme\n to: Party\n actions:\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n transition: 10\n effect: Party\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n transition: 10\n effect: Party", "config": [ { "name": "Basement theme selector", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.basement_theme", "device_id": null } }, { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } } ] }, { "id": "Basement Theme - Red Alert", "automation": "- alias: Basement Theme - Red Alert\n triggers:\n - trigger: state\n entity_id: input_select.basement_theme\n to: Red Alert\n actions:\n - delay: 00:00:10\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_off\n entity_id: light.basement_sitting_area\n - action: light.turn_off\n entity_id: light.basement_entry\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n color_name: red", "config": [ { "name": "Basement theme selector", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.basement_theme", "device_id": null } }, { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } } ] }, { "id": "Basement Theme - TV Mode On", "automation": "- alias: Basement Theme - TV Mode On\n triggers:\n - trigger: state\n entity_id: input_select.basement_theme\n to: TV Mode\n actions:\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n transition: 10\n effect: TV time\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n transition: 10\n effect: TV time\n - action: light.turn_off\n entity_id: light.basement_recessed_2\n data:\n transition: 10\n - action: light.turn_off\n entity_id: light.basement_recessed_5\n data:\n transition: 10", "config": [ { "name": "Basement theme selector", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.basement_theme", "device_id": null } }, { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement recessed 2 light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_recessed_2", "device_id": null } }, { "name": "Basement recessed 5 light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_recessed_5", "device_id": null } } ] }, { "id": "bedtime_master_bedroom", "automation": "- alias: Bedtime Master Bedroom\n id: bedtime_master_bedroom\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 5\n actions:\n - action: light.turn_off\n entity_id:\n - light.master_bedroom\n - action: switch.turn_on\n entity_id:\n - switch.sound_machine", "config": [ { "name": "Bedtime switch", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.bedtime", "device_id": null } }, { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Sound machine switch", "room": "bedroom", "type": "switch", "id": { "entity_id": "switch.sound_machine", "device_id": null } } ] }, { "id": "bedtime_reset_switch", "automation": "- alias: Bedtime - Reset Switch\n id: bedtime_reset_switch\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.bedtime", "config": [ { "name": "Bedtime switch", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.bedtime", "device_id": null } } ] }, { "id": "chore_dishwasher_reminder_USER3", "automation": "- alias: Chore - Dishwasher Reminder USER3\n id: chore_dishwasher_reminder_USER3\n trigger:\n - platform: time_pattern\n hours: /1\n - platform: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: time\n after: input_datetime.chore_dishwasher_reminder\n before: '21:30:00'\n - condition: state\n entity_id: input_boolean.chore_dishwasher_unloaded\n state: 'off'\n - condition: state\n entity_id: person.USER3\n state: home\n - condition: state\n entity_id: sensor.chore_dishwasher_status\n state: USER3\n action:\n - service: notify.mobile_app_USER1_iphone\n data:\n message: USER3 - Dishwasher Not Emptied Reminder\n - service: notify.mobile_app_USER3_iphone\n data:\n message: USER3 - Dishwasher Not Emptied Reminder", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "Dishwasher reminder datetime", "room": "kitchen", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_dishwasher_reminder", "device_id": null } }, { "name": "Dishwasher unloaded switch", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_dishwasher_unloaded", "device_id": null } }, { "name": "Dishwasher status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.chore_dishwasher_status", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_dishwasher_reminder_USER4", "automation": "- alias: Chore - Dishwasher Reminder USER4\n id: chore_dishwasher_reminder_USER4\n trigger:\n - platform: time_pattern\n hours: /1\n - platform: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: time\n after: input_datetime.chore_dishwasher_reminder\n before: '21:30:00'\n - condition: state\n entity_id: input_boolean.chore_dishwasher_unloaded\n state: 'off'\n - condition: state\n entity_id: person.USER4\n state: home\n - condition: state\n entity_id: sensor.chore_dishwasher_status\n state: USER4\n action:\n - service: notify.mobile_app_USER1_iphone\n data:\n message: USER4 - Dishwasher Not Emptied Reminder\n - service: notify.mobile_app_USER4_iphone\n data:\n message: USER4 - Dishwasher Not Emptied Reminder", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "Dishwasher reminder datetime", "room": "kitchen", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_dishwasher_reminder", "device_id": null } }, { "name": "Dishwasher unloaded switch", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_dishwasher_unloaded", "device_id": null } }, { "name": "Dishwasher status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.chore_dishwasher_status", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_dishwasher_reset_if_done", "automation": "- alias: Chore - Dishwasher Reset if Done\n id: chore_dishwasher_reset_if_done\n trigger:\n - platform: time\n at: 01:30:00\n condition:\n - condition: state\n entity_id: input_boolean.chore_dishwasher_unloaded\n state: 'on'\n action:\n - service: input_select.select_next\n target:\n entity_id: input_select.chore_dishwasher_assignment\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_dishwasher_unloaded", "config": [ { "name": "Dishwasher unloaded switch", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_dishwasher_unloaded", "device_id": null } }, { "name": "Dishwasher assignment selector", "room": "kitchen", "type": "input_select", "id": { "entity_id": "input_select.chore_dishwasher_assignment", "device_id": null } } ] }, { "id": "chore_USER3_bedroom_reset_if_done", "automation": "- alias: Chore - USER3 Bedroom Reset if Done\n id: chore_USER3_bedroom_reset_if_done\n trigger:\n - platform: time\n at: 01:30:00\n condition:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER3_bedroom_cleaned\n state: 'on'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER3_bedroom_cleaned", "config": [ { "name": "USER3 bedroom cleaned switch", "room": "USER3_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bedroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER3_bedroom_reminder", "automation": "- alias: Chore - USER3 Bedroom Reminder\n id: chore_USER3_bedroom_reminder\n trigger:\n - platform: time_pattern\n hours: /2\n - platform: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bedroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: time\n after: input_datetime.chore_USER3_bedroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER3_bedroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER3\n state: home\n action:\n - service: notify.mobile_app_USER1_iphone\n data:\n message: USER3 Bedroom Not Cleaned Reminder", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "USER3 bedroom cleaned switch", "room": "USER3_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bedroom_cleaned", "device_id": null } }, { "name": "USER3 bedroom reminder datetime", "room": "USER3_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER3_bedroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_USER4_bedroom_reset_if_done", "automation": "- alias: Chore - USER4 Bedroom Reset if Done\n id: chore_USER4_bedroom_reset_if_done\n trigger:\n - platform: time\n at: 01:30:00\n condition:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER4_bedroom_cleaned\n state: 'on'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER4_bedroom_cleaned", "config": [ { "name": "USER4 bedroom cleaned switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bedroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER4_bedroom_reminder", "automation": "- alias: Chore - USER4 Bedroom Reminder\n id: chore_USER4_bedroom_reminder\n trigger:\n - platform: time_pattern\n hours: /2\n - platform: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bedroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: time\n after: input_datetime.chore_USER4_bedroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER4_bedroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER4\n state: home\n action:\n - service: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Bedroom Not Cleaned Reminder", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "USER4 bedroom cleaned switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bedroom_cleaned", "device_id": null } }, { "name": "USER4 bedroom reminder datetime", "room": "USER4_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER4_bedroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_USER3_bathroom_reset_if_done", "automation": "- alias: Chore - USER3 Bathroom Reset if Done\n id: chore_USER3_bathroom_reset_if_done\n trigger:\n - platform: time\n at: 01:30:00\n condition:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER3_bathroom_cleaned\n state: 'on'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER3_bathroom_cleaned", "config": [ { "name": "USER3 bathroom cleaned switch", "room": "USER3_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bathroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER3_bathroom_reminder", "automation": "- alias: Chore - USER3 Bathroom Reminder\n id: chore_USER3_bathroom_reminder\n trigger:\n - platform: time_pattern\n hours: /3\n - platform: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bathroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: time\n after: input_datetime.chore_USER3_bathroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER3_bathroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER3\n state: home\n action:\n - service: notify.mobile_app_USER1_iphone\n data:\n message: USER3 Bathroom Not Cleaned Reminder", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "USER3 bathroom cleaned switch", "room": "USER3_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bathroom_cleaned", "device_id": null } }, { "name": "USER3 bathroom reminder datetime", "room": "USER3_bathroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER3_bathroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_USER4_bathroom_reset_if_done", "automation": "- alias: Chore - USER4 Bathroom Reset if Done\n id: chore_USER4_bathroom_reset_if_done\n trigger:\n - platform: time\n at: 01:30:00\n condition:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER4_bathroom_cleaned\n state: 'on'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER4_bathroom_cleaned", "config": [ { "name": "USER4 bathroom cleaned switch", "room": "USER4_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bathroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER4_bathroom_reminder", "automation": "- alias: Chore - USER4 Bathroom Reminder\n id: chore_USER4_bathroom_reminder\n trigger:\n - platform: time_pattern\n hours: /3\n - platform: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bathroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: time\n after: input_datetime.chore_USER4_bathroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER4_bathroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER4\n state: home\n action:\n - service: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Bathroom Not Cleaned Reminder", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "USER4 bathroom cleaned switch", "room": "USER4_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bathroom_cleaned", "device_id": null } }, { "name": "USER4 bathroom reminder datetime", "room": "USER4_bathroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER4_bathroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "outside_christmas_lights_on", "automation": "- alias: Outside Christmas Lights On\n id: outside_christmas_lights_on\n triggers:\n - trigger: state\n entity_id: light.landscape\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n actions:\n - action: homeassistant.turn_on\n entity_id: group.christmas_outside_lights", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas outside lights group", "room": "outdoor", "type": "group", "id": { "entity_id": "group.christmas_outside_lights", "device_id": null } } ] }, { "id": "outside_christmas_lights_off", "automation": "- alias: Outside Christmas Lights Off\n id: outside_christmas_lights_off\n triggers:\n - trigger: state\n entity_id: light.landscape\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n actions:\n - action: homeassistant.turn_off\n entity_id: group.christmas_outside_lights", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas outside lights group", "room": "outdoor", "type": "group", "id": { "entity_id": "group.christmas_outside_lights", "device_id": null } } ] }, { "id": "inside_christmas_lights_on_household_home", "automation": "- alias: Inside Christmas Lights On - Household Home\n id: inside_christmas_lights_on_household_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n actions:\n - action: homeassistant.turn_on\n entity_id: group.christmas_inside_lights", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas inside lights group", "room": "indoor", "type": "group", "id": { "entity_id": "group.christmas_inside_lights", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "inside_christmas_lights_on", "automation": "- alias: Inside Christmas Lights On\n id: inside_christmas_lights_on\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:10:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: homeassistant.turn_on\n entity_id: group.christmas_inside_lights", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas inside lights group", "room": "indoor", "type": "group", "id": { "entity_id": "group.christmas_inside_lights", "device_id": null } } ] }, { "id": "Climate - Adjust Thermostat if Fireplace On", "automation": "- alias: Climate - Adjust Thermostat if Fireplace On\n triggers:\n - trigger: state\n entity_id: sensor.fireplace_status\n from: not running\n to: running\n for:\n hours: 0\n minutes: 10\n seconds: 0\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.home\n preset_mode: Fireplace", "config": [ { "name": "Fireplace status sensor", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.fireplace_status", "device_id": null } }, { "name": "Home climate", "room": "home", "type": "climate", "id": { "entity_id": "climate.home", "device_id": null } } ] }, { "id": "Climate - Reset Thermostat when Fireplace off", "automation": "- alias: Climate - Reset Thermostat when Fireplace off\n triggers:\n - trigger: state\n entity_id: sensor.fireplace_status\n from: running\n to: not running\n for:\n hours: 0\n minutes: 30\n seconds: 0\n actions:\n - action: ecobee.resume_program\n data:\n entity_id: climate.home\n resume_all: true", "config": [ { "name": "Fireplace status sensor", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.fireplace_status", "device_id": null } }, { "name": "Home climate", "room": "home", "type": "climate", "id": { "entity_id": "climate.home", "device_id": null } } ] }, { "id": "chore_dishwasher_reminder_USER3", "automation": "- alias: Chore - Dishwasher Reminder USER3\n id: chore_dishwasher_reminder_USER3\n triggers:\n - trigger: time_pattern\n hours: /1\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: time\n after: input_datetime.chore_dishwasher_reminder\n before: '21:30:00'\n - condition: state\n entity_id: input_boolean.chore_dishwasher_unloaded\n state: 'off'\n - condition: state\n entity_id: person.USER3\n state: home\n - condition: state\n entity_id: sensor.chore_dishwasher_status\n state: USER3\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER3 - Dishwasher Not Emptied Reminder\n - action: notify.mobile_app_USER3_iphone\n data:\n message: USER3 - Dishwasher Not Emptied Reminder", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "Dishwasher reminder datetime", "room": "kitchen", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_dishwasher_reminder", "device_id": null } }, { "name": "Dishwasher unloaded switch", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_dishwasher_unloaded", "device_id": null } }, { "name": "Dishwasher status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.chore_dishwasher_status", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_dishwasher_reminder_USER4", "automation": "- alias: Chore - Dishwasher Reminder USER4\n id: chore_dishwasher_reminder_USER4\n triggers:\n - trigger: time_pattern\n hours: /1\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: time\n after: input_datetime.chore_dishwasher_reminder\n before: '21:30:00'\n - condition: state\n entity_id: input_boolean.chore_dishwasher_unloaded\n state: 'off'\n - condition: state\n entity_id: person.USER4\n state: home\n - condition: state\n entity_id: sensor.chore_dishwasher_status\n state: USER4\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 - Dishwasher Not Emptied Reminder\n - action: notify.mobile_app_USER4_iphone\n data:\n message: USER4 - Dishwasher Not Emptied Reminder", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "Dishwasher reminder datetime", "room": "kitchen", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_dishwasher_reminder", "device_id": null } }, { "name": "Dishwasher unloaded switch", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_dishwasher_unloaded", "device_id": null } }, { "name": "Dishwasher status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.chore_dishwasher_status", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_dishwasher_reset_if_done", "automation": "- alias: Chore - Dishwasher Reset if Done\n id: chore_dishwasher_reset_if_done\n triggers:\n - trigger: time\n at: 01:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.chore_dishwasher_unloaded\n state: 'on'\n actions:\n - action: input_select.select_next\n target:\n entity_id: input_select.chore_dishwasher_assignment\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_dishwasher_unloaded", "config": [ { "name": "Dishwasher unloaded switch", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_dishwasher_unloaded", "device_id": null } }, { "name": "Dishwasher assignment selector", "room": "kitchen", "type": "input_select", "id": { "entity_id": "input_select.chore_dishwasher_assignment", "device_id": null } } ] }, { "id": "chore_USER3_bedroom_reset_if_done", "automation": "- alias: Chore - USER3 Bedroom Reset if Done\n id: chore_USER3_bedroom_reset_if_done\n triggers:\n - trigger: time\n at: 01:30:00\n conditions:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER3_bedroom_cleaned\n state: 'on'\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER3_bedroom_cleaned", "config": [ { "name": "USER3 bedroom cleaned switch", "room": "USER3_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bedroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER3_bedroom_reminder", "automation": "- alias: Chore - USER3 Bedroom Reminder\n id: chore_USER3_bedroom_reminder\n triggers:\n - trigger: time_pattern\n hours: /2\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bedroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: time\n after: input_datetime.chore_USER3_bedroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER3_bedroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER3\n state: home\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER3 Bedroom Not Cleaned Reminder", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "USER3 bedroom cleaned switch", "room": "USER3_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bedroom_cleaned", "device_id": null } }, { "name": "USER3 bedroom reminder datetime", "room": "USER3_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER3_bedroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_USER4_bedroom_reset_if_done", "automation": "- alias: Chore - USER4 Bedroom Reset if Done\n id: chore_USER4_bedroom_reset_if_done\n triggers:\n - trigger: time\n at: 01:30:00\n conditions:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER4_bedroom_cleaned\n state: 'on'\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER4_bedroom_cleaned", "config": [ { "name": "USER4 bedroom cleaned switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bedroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER4_bedroom_reminder", "automation": "- alias: Chore - USER4 Bedroom Reminder\n id: chore_USER4_bedroom_reminder\n triggers:\n - trigger: time_pattern\n hours: /2\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bedroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: time\n after: input_datetime.chore_USER4_bedroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER4_bedroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER4\n state: home\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Bedroom Not Cleaned Reminder", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "USER4 bedroom cleaned switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bedroom_cleaned", "device_id": null } }, { "name": "USER4 bedroom reminder datetime", "room": "USER4_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER4_bedroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_USER3_bathroom_reset_if_done", "automation": "- alias: Chore - USER3 Bathroom Reset if Done\n id: chore_USER3_bathroom_reset_if_done\n triggers:\n - trigger: time\n at: 01:30:00\n conditions:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER3_bathroom_cleaned\n state: 'on'\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER3_bathroom_cleaned", "config": [ { "name": "USER3 bathroom cleaned switch", "room": "USER3_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bathroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER3_bathroom_reminder", "automation": "- alias: Chore - USER3 Bathroom Reminder\n id: chore_USER3_bathroom_reminder\n triggers:\n - trigger: time_pattern\n hours: /3\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bathroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: time\n after: input_datetime.chore_USER3_bathroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER3_bathroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER3\n state: home\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER3 Bathroom Not Cleaned Reminder", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "USER3 bathroom cleaned switch", "room": "USER3_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER3_bathroom_cleaned", "device_id": null } }, { "name": "USER3 bathroom reminder datetime", "room": "USER3_bathroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER3_bathroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "chore_USER4_bathroom_reset_if_done", "automation": "- alias: Chore - USER4 Bathroom Reset if Done\n id: chore_USER4_bathroom_reset_if_done\n triggers:\n - trigger: time\n at: 01:30:00\n conditions:\n - condition: time\n weekday:\n - mon\n - condition: state\n entity_id: input_boolean.chore_USER4_bathroom_cleaned\n state: 'on'\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.chore_USER4_bathroom_cleaned", "config": [ { "name": "USER4 bathroom cleaned switch", "room": "USER4_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bathroom_cleaned", "device_id": null } } ] }, { "id": "chore_USER4_bathroom_reminder", "automation": "- alias: Chore - USER4 Bathroom Reminder\n id: chore_USER4_bathroom_reminder\n triggers:\n - trigger: time_pattern\n hours: /3\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bathroom_reminder.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: time\n after: input_datetime.chore_USER4_bathroom_reminder\n before: '21:00:00'\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: input_boolean.chore_USER4_bathroom_cleaned\n state: 'off'\n - condition: state\n entity_id: person.USER4\n state: home\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Bathroom Not Cleaned Reminder", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "USER4 bathroom cleaned switch", "room": "USER4_bathroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.chore_USER4_bathroom_cleaned", "device_id": null } }, { "name": "USER4 bathroom reminder datetime", "room": "USER4_bathroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.chore_USER4_bathroom_reminder", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "Outside Christmas Lights On", "automation": "- alias: Outside Christmas Lights On\n trigger:\n - platform: state\n entity_id: light.landscape\n to: 'on'\n condition:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n action:\n - service: homeassistant.turn_on\n entity_id: group.christmas_outside_lights", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas outside lights group", "room": "outdoor", "type": "group", "id": { "entity_id": "group.christmas_outside_lights", "device_id": null } } ] }, { "id": "Outside Christmas Lights Off", "automation": "- alias: Outside Christmas Lights Off\n trigger:\n - platform: state\n entity_id: light.landscape\n to: 'off'\n condition:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n action:\n - service: homeassistant.turn_off\n entity_id: group.christmas_outside_lights", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas outside lights group", "room": "outdoor", "type": "group", "id": { "entity_id": "group.christmas_outside_lights", "device_id": null } } ] }, { "id": "Inside Christmas Lights On - Household Home", "automation": "- alias: Inside Christmas Lights On - Household Home\n trigger:\n - platform: state\n entity_id: group.household\n from: not_home\n to: home\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n action:\n - service: homeassistant.turn_on\n entity_id: group.christmas_inside_lights", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas inside lights group", "room": "indoor", "type": "group", "id": { "entity_id": "group.christmas_inside_lights", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "Inside Christmas Lights On", "automation": "- alias: Inside Christmas Lights On\n trigger:\n - platform: sun\n event: sunset\n offset: -00:10:00\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n action:\n - service: homeassistant.turn_on\n entity_id: group.christmas_inside_lights", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Christmas inside lights group", "room": "indoor", "type": "group", "id": { "entity_id": "group.christmas_inside_lights", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "iOS Action - Washing Machine Switch On", "automation": "- alias: iOS Action - Washing Machine Switch On\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: WASHINGMACHINE_TURN_ON_SWITCH\n actions:\n - action: switch.turn_on\n entity_id: switch.washing_machine", "config": [ { "name": "Washing machine switch", "room": "laundry", "type": "switch", "id": { "entity_id": "switch.washing_machine", "device_id": null } } ] }, { "id": "iOS Action - Air Cleaner Switch On", "automation": "- alias: iOS Action - Air Cleaner Switch On\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: AIRCLEANER_TURN_ON_SWITCH\n actions:\n - action: switch.turn_on\n entity_id: switch.air_cleaner", "config": [ { "name": "Air cleaner switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.air_cleaner", "device_id": null } } ] }, { "id": "iOS Action - Hall Closet Light Off", "automation": "- alias: iOS Action - Hall Closet Light Off\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: HALLCLOSET_TURN_OFF_LIGHT\n actions:\n - action: switch.turn_off\n entity_id: light.hall_closet_lights", "config": [ { "name": "Hall closet lights", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet_lights", "device_id": null } }, { "name": "Hall closet light", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet", "device_id": null } } ] }, { "id": "iOS Action - Biocube Pump Switch On", "automation": "- alias: iOS Action - Biocube Pump Switch On\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: BIOCUBEPUMP_TURN_ON_SWITCH\n actions:\n - action: switch.turn_on\n entity_id: switch.biocube_pump", "config": [ { "name": "Biocube pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_pump", "device_id": null } } ] }, { "id": "iOS Action - Biocube Wavemaker Switch On", "automation": "- alias: iOS Action - Biocube Wavemaker Switch On\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: BIOCUBEWAVEMAKER_TURN_ON_SWITCH\n actions:\n - action: switch.turn_on\n entity_id: switch.biocube_wavemaker", "config": [ { "name": "Biocube wavemaker switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_wavemaker", "device_id": null } } ] }, { "id": "iOS Action - Biocube Maintenance Mode Off", "automation": "- alias: iOS Action - Biocube Maintenance Mode Off\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: BIOCUBEMAINTENANCE_TURN_OFF_SWITCH\n actions:\n - action: switch.turn_off\n entity_id: input_boolean.biocube_maintenance_mode", "config": [ { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "iOS Action - Double Garage Close", "automation": "- alias: iOS Action - Double Garage Close\n triggers:\n - trigger: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: DOUBLE_GARAGE_CLOSE\n actions:\n - action: cover.close_cover\n entity_id: cover.double_garage", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } } ] }, { "id": "doorbell_turn_on_front_door_when_rung", "automation": "- alias: Doorbell - Turn On Front Door when Rung\n id: doorbell_turn_on_front_door_when_rung\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } }, { "name": "Front door doorbell sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_doorbell", "device_id": null } }, { "name": "Disable doorbell switch", "room": "front", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_doorbell", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } } ] }, { "id": "doorbell_reset_front_after_ring", "automation": "- alias: Doorbell - Reset Front Door After Ring\n id: doorbell_reset_front_after_ring\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_doorbell\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: scene.turn_on\n data_template:\n entity_id: scene.front_{{ states.input_select.outdoor_theme.state | lower |\n replace(' ', '_') | replace('\\'', '') }}", "config": [ { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } }, { "name": "Front door doorbell sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_doorbell", "device_id": null } }, { "name": "Disable doorbell switch", "room": "front", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_doorbell", "device_id": null } }, { "name": "Front door scene", "room": "front", "type": "scene", "id": { "entity_id": "scene.front", "device_id": null } } ] }, { "id": "doorbell_turn_on_front_door_when_person_detected", "automation": "- alias: Doorbell - Turn On Front Door when Person Detected\n id: doorbell_turn_on_front_door_when_person_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_person_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } }, { "name": "Disable doorbell switch", "room": "front", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_doorbell", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Front door person detected sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_person_detected", "device_id": null } } ] }, { "id": "doorbell_reset_front_door_after_person_detected_before_11", "automation": "- alias: Doorbell - Reset Front Door After Person Detected before 11:30\n id: doorbell_reset_front_door_after_person_detected_before_11\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: time\n before: '23:30:00'\n - condition: time\n after: '16:00:00'\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n brightness_pct: 30\n kelvin: 2700", "config": [ { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "Disable doorbell switch", "room": "front", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_doorbell", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Front door person detected sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_person_detected", "device_id": null } } ] }, { "id": "doorbell_reset_front_door_after_person_detected_after_11", "automation": "- alias: Doorbell - Reset Front Door After Person Detected after 11:30\n id: doorbell_reset_front_door_after_person_detected_after_11\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: or\n conditions:\n - condition: time\n before: 08:00:00\n - condition: time\n after: '23:30:00'\n actions:\n - action: light.turn_off\n entity_id: light.front_door", "config": [ { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "Disable doorbell switch", "room": "front", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_doorbell", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Front door person detected sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_person_detected", "device_id": null } } ] }, { "id": "doorbell_play_sound_when_someone_rings_doorbell", "automation": "- alias: Doorbell - Play Sound When Someone Rings Doorbell\n id: doorbell_play_sound_when_someone_rings_doorbell\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: media_player.volume_set\n entity_id:\n - media_player.office\n data:\n volume_level: '0.6'\n - delay: 00:00:01\n - action: tts.amazon_polly_say\n entity_id: media_player.office\n data:\n message: Someone is at the Front Door.", "config": [ { "name": "Front door sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door", "device_id": null } }, { "name": "Office media player", "room": "office", "type": "media_player", "id": { "entity_id": "media_player.office", "device_id": null } }, { "name": "Front door doorbell sensor", "room": "front", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_doorbell", "device_id": null } }, { "name": "Disable doorbell switch", "room": "front", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_doorbell", "device_id": null } } ] }, { "id": "double_garage_open_15_minutes_at_night_notification", "automation": "- alias: Notification - Double Garage Door Open 15 Minutes At Night\n id: double_garage_open_15_minutes_at_night_notification\n triggers:\n - trigger: state\n entity_id: cover.double_garage\n to: open\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n before: sunrise\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Double Garage Door Still Open\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } } ] }, { "id": "single_garage_open_15_minutes_at_night_notification", "automation": "- alias: Notification - Single Garage Door Open 15 Minutes At Night\n id: single_garage_open_15_minutes_at_night_notification\n triggers:\n - trigger: state\n entity_id: cover.single_garage\n to: open\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n before: sunrise\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Single Garage Door Still Open\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Single garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.single_garage", "device_id": null } } ] }, { "id": "double_garage_open_20_minutes_when_cold_notification", "automation": "- alias: Notification - Double Garage Door Left Open 20m When Cold\n id: double_garage_open_20_minutes_when_cold_notification\n triggers:\n - trigger: state\n entity_id: cover.double_garage\n to: open\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.pirateweather_temperature\n below: 45\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Double Garage Door Open 20m in Cold Weather\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Pirateweather temperature sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.pirateweather_temperature", "device_id": null } } ] }, { "id": "single_garage_open_20_minutes_when_cold_notification", "automation": "- alias: Notification - Single Garage Door Left Open 20m When Cold\n id: single_garage_open_20_minutes_when_cold_notification\n triggers:\n - trigger: state\n entity_id: cover.single_garage\n to: open\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.pirateweather_temperature\n below: 45\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Single Garage Door Open 20m in Cold Weather\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Single garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.single_garage", "device_id": null } }, { "name": "Pirateweather temperature sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.pirateweather_temperature", "device_id": null } } ] }, { "id": "double_garage_left_open_at_night_notification", "automation": "- alias: Notification - Double Garage Door Left Open At Night\n id: double_garage_left_open_at_night_notification\n triggers:\n - trigger: state\n entity_id: sun.sun\n to: below_horizon\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: cover.double_garage\n state: open\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Double Garage Door Still Open\n data:\n push:\n category: camera\n entity_id: camera.garage_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Double Garage Door Still Open\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "single_garage_left_open_at_night_notification", "automation": "- alias: Notification - Single Garage Door Left Open At Night\n id: single_garage_left_open_at_night_notification\n triggers:\n - trigger: state\n entity_id: sun.sun\n to: below_horizon\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: cover.single_garage\n state: open\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Single Garage Door Still Open\n data:\n push:\n category: camera\n entity_id: camera.garage_high\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Single Garage Door Still Open\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Single garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.single_garage", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "double_garage_door_opening", "automation": "- alias: Double Garage Door Opening\n id: double_garage_door_opening\n triggers:\n - trigger: state\n entity_id: input_boolean.garage_double_door_motor\n to: 'on'\n actions:\n - delay: 00:00:45\n - action: homeassistant.turn_off\n entity_id: input_boolean.garage_double_door_motor", "config": [ { "name": "Garage double door motor switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_double_door_motor", "device_id": null } } ] }, { "id": "garage_USER1_home_from_driving_open_garage_door", "automation": "- alias: Garage - USER1 Home from Driving Open Garage Door\n id: garage_USER1_home_from_driving_open_garage_door\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: sensor.USER1_iphone_activity\n state: Automotive\n - condition: state\n entity_id: cover.double_garage\n state: closed\n - condition: state\n entity_id: input_boolean.garage_double_door_motor\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_double_door_motor\n - action: cover.open_cover\n entity_id: cover.double_garage", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Garage double door motor switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_double_door_motor", "device_id": null } }, { "name": "USER1 person", "room": null, "type": "person", "id": { "entity_id": "person.USER1", "device_id": null } }, { "name": "Disable auto garage switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_auto_garage", "device_id": null } }, { "name": "USER1 iPhone activity sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER1_iphone_activity", "device_id": null } } ] }, { "id": "garage_USER1_away_from_driving_close_garage_door", "automation": "- alias: Garage - USER1 Away from Driving Close Garage Door\n id: garage_USER1_away_from_driving_close_garage_door\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: sensor.USER1_iphone_activity\n state: Automotive\n - condition: state\n entity_id: cover.double_garage\n state: open\n - condition: state\n entity_id: input_boolean.garage_double_door_motor\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Garage Left Open!\n data:\n apns_headers:\n apns-collapse-id: doublegarage-close\n push:\n badge: 0\n category: doublegarageclose", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Garage double door motor switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_double_door_motor", "device_id": null } }, { "name": "USER1 person", "room": null, "type": "person", "id": { "entity_id": "person.USER1", "device_id": null } }, { "name": "Disable auto garage switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_auto_garage", "device_id": null } }, { "name": "USER1 iPhone activity sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER1_iphone_activity", "device_id": null } } ] }, { "id": "garage_USER2_home_from_driving_open_garage_door", "automation": "- alias: Garage - USER2 Home from Driving Open Garage Door\n id: garage_USER2_home_from_driving_open_garage_door\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: sensor.USER2_iphone_activity\n state: Automotive\n - condition: state\n entity_id: cover.double_garage\n state: closed\n - condition: state\n entity_id: input_boolean.garage_double_door_motor\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_double_door_motor\n - action: cover.open_cover\n entity_id: cover.double_garage", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Garage double door motor switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_double_door_motor", "device_id": null } }, { "name": "Disable auto garage switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_auto_garage", "device_id": null } }, { "name": "USER2 person", "room": null, "type": "person", "id": { "entity_id": "person.USER2", "device_id": null } }, { "name": "USER2 iPhone activity sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER2_iphone_activity", "device_id": null } } ] }, { "id": "garage_USER2_away_from_driving_close_garage_door", "automation": "- alias: Garage - USER2 Away from Driving Close Garage Door\n id: garage_USER2_away_from_driving_close_garage_door\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: sensor.USER2_iphone_activity\n state: Automotive\n - condition: state\n entity_id: cover.double_garage\n state: open\n - condition: state\n entity_id: input_boolean.garage_double_door_motor\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Garage Left Open!\n data:\n apns_headers:\n apns-collapse-id: doublegarage-close\n push:\n badge: 0\n category: doublegarageclose", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Garage double door motor switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_double_door_motor", "device_id": null } }, { "name": "Disable auto garage switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_auto_garage", "device_id": null } }, { "name": "USER2 person", "room": null, "type": "person", "id": { "entity_id": "person.USER2", "device_id": null } }, { "name": "USER2 iPhone activity sensor", "room": null, "type": "sensor", "id": { "entity_id": "sensor.USER2_iphone_activity", "device_id": null } } ] }, { "id": "garage_USER4_away_from_driving_close_garage_door", "automation": "- alias: Garage - USER4 Away from Driving Close Garage Door\n id: garage_USER4_away_from_driving_close_garage_door\n triggers:\n - trigger: state\n entity_id: person.USER4\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.double_garage\n state: open\n - condition: state\n entity_id: input_boolean.garage_double_door_motor\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: USER4 Left Garage Open!\n data:\n apns_headers:\n apns-collapse-id: doublegarage-close\n push:\n badge: 0\n category: doublegarageclose", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "Garage double door motor switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_double_door_motor", "device_id": null } }, { "name": "Disable auto garage switch", "room": "garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_auto_garage", "device_id": null } } ] }, { "id": "garage_home_away_double_garage_left_open", "automation": "- alias: Garage - Home Away Double Garage Left Open\n id: garage_home_away_double_garage_left_open\n triggers:\n - trigger: numeric_state\n entity_id: zone.home\n below: 1\n conditions:\n - condition: state\n entity_id: cover.double_garage\n state: open\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: AWAY ALERT - Double Garage Left Garage Open!\n data:\n apns_headers:\n apns-collapse-id: doublegarage-close\n push:\n badge: 0\n category: doublegarageclose", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Home zone", "room": "home", "type": "zone", "id": { "entity_id": "zone.home", "device_id": null } } ] }, { "id": "garage_home_away_single_garage_left_open", "automation": "- alias: Garage - Home Away Single Garage Left Open\n id: garage_home_away_single_garage_left_open\n triggers:\n - trigger: numeric_state\n entity_id: zone.home\n below: 1\n conditions:\n - condition: state\n entity_id: cover.single_garage\n state: open\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: AWAY ALERT - Single Garage Left Garage Open!\n data:\n apns_headers:\n apns-collapse-id: singlegarage-close\n push:\n badge: 0\n category: singlegarageclose", "config": [ { "name": "Single garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.single_garage", "device_id": null } }, { "name": "Home zone", "room": "home", "type": "zone", "id": { "entity_id": "zone.home", "device_id": null } } ] }, { "id": "garage_double_garage_counter", "automation": "- alias: Double Garage Door Counter\n id: garage_double_garage_counter\n triggers:\n - trigger: state\n entity_id: cover.double_garage\n to:\n - open\n - closed\n action:\n - action: counter.increment\n entity_id: counter.double_garage_spring_counter", "config": [ { "name": "Double garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.double_garage", "device_id": null } }, { "name": "Double garage spring counter", "room": "garage", "type": "counter", "id": { "entity_id": "counter.double_garage_spring_counter", "device_id": null } } ] }, { "id": "garage_single_garage_counter", "automation": "- alias: Single Garage Door Counter\n id: garage_single_garage_counter\n triggers:\n - trigger: state\n entity_id: cover.single_garage\n to: null\n action:\n - action: counter.increment\n entity_id: counter.single_garage_spring_counter", "config": [ { "name": "Single garage cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.single_garage", "device_id": null } }, { "name": "Single garage spring counter", "room": "garage", "type": "counter", "id": { "entity_id": "counter.single_garage_spring_counter", "device_id": null } } ] }, { "id": "Notification - Golf Cart Unplugged", "automation": "- alias: Notification - Golf Cart Unplugged\n triggers:\n - trigger: state\n entity_id: sensor.golf_cart_status\n to: unplugged\n for:\n hours: 0\n minutes: 0\n seconds: 60\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Golf Cart - Unplugged - {{states.sensor.golf_cart_current_power.state}}w\n data:\n push:\n category: camera\n entity_id: camera.garage_high", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Garage high camera", "room": "garage", "type": "camera", "id": { "entity_id": "camera.garage_high", "device_id": null } }, { "name": "Golf cart status sensor", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.golf_cart_status", "device_id": null } }, { "name": "Golf cart current power sensor", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.golf_cart_current_power", "device_id": null } } ] }, { "id": "Notification Text - Home Assistant Start", "automation": "- alias: Notification Text - Home Assistant Start\n triggers:\n - trigger: homeassistant\n event: start\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Home Assistant Started", "config": [] }, { "id": "Notification Log - Home Assistant Start", "automation": "- alias: Notification Log - Home Assistant Start\n triggers:\n - trigger: homeassistant\n event: start\n actions:\n action: system_log.write\n data:\n message: Home Assistant started.", "config": [] }, { "id": "Notification Text - NAS Warning", "automation": "- alias: Notification Text - NAS Warning\n triggers:\n - trigger: state\n entity_id: sensor.nas_status\n to: warning\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: NAS RAID Failing", "config": [ { "name": "NAS status sensor", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.nas_status", "device_id": null } } ] }, { "id": "Notification Text - UPS Power Loss Alert", "automation": "- alias: Notification Text - UPS Power Loss Alert\n triggers:\n - trigger: state\n entity_id: sensor.ups_status\n from: Online\n to: On Battery Battery Discharging\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Power Outage - UPS Runtime - {{states.sensor.ups_battery_runtime_mins.state}}", "config": [ { "name": "UPS status sensor", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.ups_status", "device_id": null } }, { "name": "UPS battery runtime mins sensor", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.ups_battery_runtime_mins", "device_id": null } } ] }, { "id": "Notification Text - UPS Low Runtime Alert", "automation": "- alias: Notification Text - UPS Low Runtime Alert\n triggers:\n - trigger: numeric_state\n entity_id: sensor.ups_battery_runtime_mins\n below: 15\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: 15 mins of UPS Battery Remaining!", "config": [ { "name": "UPS battery runtime mins sensor", "room": "office", "type": "sensor", "id": { "entity_id": "sensor.ups_battery_runtime_mins", "device_id": null } } ] }, { "id": "hardware_zwave_unavailable_sesnors", "automation": "- alias: Zwave - Unavailble Sensors in Home Assistant\n id: hardware_zwave_unavailable_sesnors\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor\n to: unavailable\n variables:\n trigger_message: Basement Drain Water Sensor Unavailable\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n to: unavailable\n variables:\n trigger_message: Washing Machine Water Sensor Unavailable\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n to: unavailable\n variables:\n trigger_message: Kitchen Sink Water Sensor Unavailable\n - trigger: state\n entity_id: binary_sensor.refrigerator_water_sensor\n to: unavailable\n variables:\n trigger_message: Refrigerator Water Sensor Unavailable\n - trigger: state\n entity_id: binary_sensor.filtration_water_sensor\n to: unavailable\n variables:\n trigger_message: Filtration Water Sensor Unavailable\n - trigger: state\n entity_id: binary_sensor.red_sea_floor_water_sensor\n to: unavailable\n variables:\n trigger_message: Red Sea Floor Water Sensor Unavailable\n - trigger: state\n entity_id: binary_sensor.red_sea_sump_water_sensor\n to: unavailable\n variables:\n trigger_message: Red Sea Sump Water Sensor Unavailable\n - trigger: state\n entity_id: switch.basement_bathroom\n to: unavailable\n variables:\n trigger_message: Basement Bathroom Switch Unavailable\n - trigger: state\n entity_id: switch.basement_room\n to: unavailable\n variables:\n trigger_message: Basement Room Switch Unavailable\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: '{{ trigger_message }}'", "config": [ { "name": "Kitchen sink water sensor", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_sink_water_sensor", "device_id": null } }, { "name": "Basement drain water sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.basement_drain_water_sensor", "device_id": null } }, { "name": "Washing machine water sensor", "room": "laundry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.washing_machine_water_sensor", "device_id": null } }, { "name": "Refrigerator water sensor", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.refrigerator_water_sensor", "device_id": null } }, { "name": "Filtration water sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.filtration_water_sensor", "device_id": null } }, { "name": "Red Sea floor water sensor", "room": "aquarium", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.red_sea_floor_water_sensor", "device_id": null } }, { "name": "Red Sea sump water sensor", "room": "aquarium", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.red_sea_sump_water_sensor", "device_id": null } }, { "name": "Basement bathroom switch", "room": "basement_bathroom", "type": "switch", "id": { "entity_id": "switch.basement_bathroom", "device_id": null } }, { "name": "Basement room switch", "room": "basement", "type": "switch", "id": { "entity_id": "switch.basement_room", "device_id": null } } ] }, { "id": "Notification Text - AUX Heat", "automation": "- alias: Notification Text - AUX Heat\n triggers:\n - trigger: state\n entity_id: sensor.thermostat_aux_heat\n from: 'off'\n to: 'on'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Aux Heat turned on", "config": [ { "name": "Thermostat aux heat sensor", "room": "home", "type": "sensor", "id": { "entity_id": "sensor.thermostat_aux_heat", "device_id": null } } ] }, { "id": "Household Home", "automation": "- alias: Household Home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n action: light.turn_on\n entity_id: light.family_room\n data:\n brightness: 255", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } }, { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } } ] }, { "id": "Pantry Light On", "automation": "- alias: Pantry Light On\n triggers:\n - trigger: state\n entity_id: binary_sensor.pantry_door\n from: 'off'\n to: 'on'\n actions:\n action: light.turn_on\n entity_id: light.pantry\n data:\n brightness: 255", "config": [ { "name": "Pantry door sensor", "room": "pantry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.pantry_door", "device_id": null } }, { "name": "Pantry light", "room": "pantry", "type": "light", "id": { "entity_id": "light.pantry", "device_id": null } } ] }, { "id": "Pantry Light Off", "automation": "- alias: Pantry Light Off\n triggers:\n - trigger: state\n entity_id: binary_sensor.pantry_door\n from: 'on'\n to: 'off'\n actions:\n action: light.turn_off\n entity_id: light.pantry", "config": [ { "name": "Pantry door sensor", "room": "pantry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.pantry_door", "device_id": null } }, { "name": "Pantry light", "room": "pantry", "type": "light", "id": { "entity_id": "light.pantry", "device_id": null } } ] }, { "id": "Hall Closet Light On", "automation": "- alias: Hall Closet Light On\n triggers:\n - trigger: state\n entity_id: binary_sensor.hall_closet_door\n from: 'off'\n to: 'on'\n actions:\n action: light.turn_on\n entity_id: light.hall_closet\n data:\n brightness: 255", "config": [ { "name": "Hall closet door sensor", "room": "hall", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.hall_closet_door", "device_id": null } }, { "name": "Hall closet light", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet", "device_id": null } } ] }, { "id": "Hall Closet Lights Off", "automation": "- alias: Hall Closet Lights Off\n triggers:\n - trigger: state\n entity_id: binary_sensor.hall_closet_door\n from: 'on'\n to: 'off'\n actions:\n action: light.turn_off\n entity_id: light.hall_closet", "config": [ { "name": "Hall closet door sensor", "room": "hall", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.hall_closet_door", "device_id": null } }, { "name": "Hall closet light", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet", "device_id": null } } ] }, { "id": "Hall Closet Lights Off - Left Open", "automation": "- alias: Hall Closet Lights Off - Left Open\n triggers:\n - trigger: state\n entity_id: light.hall_closet\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Hall Closet Lights Left On!\n data:\n apns_headers:\n apns-collapse-id: hallcloset-lights\n push:\n badge: 0\n category: hallclosetlights", "config": [ { "name": "Hall closet light", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet", "device_id": null } } ] }, { "id": "USER4 Bedroom Lights Off", "automation": "- alias: USER4 Bedroom Lights Off\n triggers:\n - trigger: time\n at: '23:00:00'\n conditions:\n - condition: state\n entity_id: person.USER4\n state: home\n actions:\n - action: light.turn_off\n entity_id: light.USER4_bedroom", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "USER4 bedroom light", "room": "USER4_bedroom", "type": "light", "id": { "entity_id": "light.USER4_bedroom", "device_id": null } } ] }, { "id": "USER3 Bedroom Lights Off", "automation": "- alias: USER3 Bedroom Lights Off\n triggers:\n - trigger: time\n at: '23:00:00'\n conditions:\n - condition: state\n entity_id: person.USER3\n state: home\n actions:\n - action: light.turn_off\n entity_id: light.USER3_bedroom", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "USER3 bedroom light", "room": "USER3_bedroom", "type": "light", "id": { "entity_id": "light.USER3_bedroom", "device_id": null } } ] }, { "id": "USER4 Bedroom Lights Off - Away", "automation": "- alias: USER4 Bedroom Lights Off - Away\n triggers:\n - trigger: state\n entity_id: person.USER4\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: light.USER4_bedroom\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id: light.USER4_bedroom", "config": [ { "name": "USER4 person", "room": null, "type": "person", "id": { "entity_id": "person.USER4", "device_id": null } }, { "name": "USER4 bedroom light", "room": "USER4_bedroom", "type": "light", "id": { "entity_id": "light.USER4_bedroom", "device_id": null } } ] }, { "id": "USER3 Bedroom Lights Off - Away", "automation": "- alias: USER3 Bedroom Lights Off - Away\n triggers:\n - trigger: state\n entity_id: person.USER3\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: light.USER3_bedroom\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id: light.USER3_bedroom", "config": [ { "name": "USER3 person", "room": null, "type": "person", "id": { "entity_id": "person.USER3", "device_id": null } }, { "name": "USER3 bedroom light", "room": "USER3_bedroom", "type": "light", "id": { "entity_id": "light.USER3_bedroom", "device_id": null } } ] }, { "id": "basement.light.off.reset_theme", "automation": "- id: basement.light.off.reset_theme\n alias: Basement Lights Off - Reset Theme\n triggers:\n - trigger: state\n entity_id: light.basement\n from: 'on'\n to: 'off'\n actions:\n - action: input_select.select_option\n target:\n entity_id: input_select.basement_theme\n data:\n option: None", "config": [ { "name": "Basement theme selector", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.basement_theme", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } } ] }, { "id": "wax_melt_off_after_time", "automation": "- alias: Wax Melt - Off after Time\n id: wax_melt_off_after_time\n triggers:\n - trigger: state\n entity_id: switch.wax_melt\n to: 'on'\n for:\n hours: 5\n minutes: 0\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n entity_id: switch.wax_melt", "config": [ { "name": "Wax melt switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.wax_melt", "device_id": null } } ] }, { "id": "wax_melt_off_after_away", "automation": "- alias: Wax Melt - Off after Away\n id: wax_melt_off_after_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n actions:\n - action: homeassistant.turn_off\n entity_id: switch.wax_melt", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Wax melt switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.wax_melt", "device_id": null } } ] }, { "id": "iOS Action - Washing Machine Switch On", "automation": "- alias: iOS Action - Washing Machine Switch On\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: WASHINGMACHINE_TURN_ON_SWITCH\n action:\n - service: switch.turn_on\n entity_id: switch.washing_machine", "config": [ { "name": "Washing machine switch", "room": "laundry", "type": "switch", "id": { "entity_id": "switch.washing_machine", "device_id": null } } ] }, { "id": "iOS Action - Air Cleaner Switch On", "automation": "- alias: iOS Action - Air Cleaner Switch On\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: AIRCLEANER_TURN_ON_SWITCH\n action:\n - service: switch.turn_on\n entity_id: switch.air_cleaner", "config": [ { "name": "Air cleaner switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.air_cleaner", "device_id": null } } ] }, { "id": "iOS Action - Hall Closet Light Off", "automation": "- alias: iOS Action - Hall Closet Light Off\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: HALLCLOSET_TURN_OFF_LIGHT\n action:\n - service: switch.turn_off\n entity_id: light.hall_closet_lights", "config": [ { "name": "Hall closet lights", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet_lights", "device_id": null } }, { "name": "Hall closet light", "room": "hall", "type": "light", "id": { "entity_id": "light.hall_closet", "device_id": null } } ] }, { "id": "iOS Action - Biocube Pump Switch On", "automation": "- alias: iOS Action - Biocube Pump Switch On\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: BIOCUBEPUMP_TURN_ON_SWITCH\n action:\n - service: switch.turn_on\n entity_id: switch.biocube_pump", "config": [ { "name": "Biocube pump switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_pump", "device_id": null } } ] }, { "id": "iOS Action - Biocube Wavemaker Switch On", "automation": "- alias: iOS Action - Biocube Wavemaker Switch On\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: BIOCUBEWAVEMAKER_TURN_ON_SWITCH\n action:\n - service: switch.turn_on\n entity_id: switch.biocube_wavemaker", "config": [ { "name": "Biocube wavemaker switch", "room": "aquarium", "type": "switch", "id": { "entity_id": "switch.biocube_wavemaker", "device_id": null } } ] }, { "id": "iOS Action - Biocube Maintenance Mode Off", "automation": "- alias: iOS Action - Biocube Maintenance Mode Off\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: BIOCUBEMAINTENANCE_TURN_OFF_SWITCH\n action:\n - service: switch.turn_off\n entity_id: input_boolean.biocube_maintenance_mode", "config": [ { "name": "Biocube maintenance mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_maintenance_mode", "device_id": null } } ] }, { "id": "Notification - Washing Machine Done", "automation": "- alias: Notification - Washing Machine Done\n triggers:\n - trigger: state\n entity_id: sensor.washing_machine_status\n from: running\n to: not running\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Washing Machine - Done", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Washing machine status sensor", "room": "laundry", "type": "sensor", "id": { "entity_id": "sensor.washing_machine_status", "device_id": null } } ] }, { "id": "Laundry - Washing Machine Switch Off Notification", "automation": "- alias: Laundry - Washing Machine Switch Off Notification\n triggers:\n - trigger: state\n entity_id: switch.washing_machine\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Washing Machine Switch Turned Off!\n data:\n apns_headers:\n apns-collapse-id: laundry-switch\n push:\n badge: 0\n category: washingmachineswitch", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "Washing machine switch", "room": "laundry", "type": "switch", "id": { "entity_id": "switch.washing_machine", "device_id": null } } ] }, { "id": "magicmirror_off_away", "automation": "- alias: Magic Mirror Off when Away\n id: magicmirror_off_away\n triggers:\n - trigger: state\n entity_id: group.family\n from: home\n to: not_home\n actions:\n - action: homeassistant.turn_off\n entity_id: switch.magicmirror_display", "config": [ { "name": "MagicMirror display switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.magicmirror_display", "device_id": null } }, { "name": "Family group", "room": "home", "type": "group", "id": { "entity_id": "group.family", "device_id": null } } ] }, { "id": "magicmirror_on_away", "automation": "- alias: Magic Mirror On when Home\n id: magicmirror_on_away\n triggers:\n - trigger: state\n entity_id: group.family\n from: not_home\n to: home\n conditions:\n - condition: time\n after: 05:00:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_on\n entity_id: switch.magicmirror_display\n - action: homeassistant.turn_on\n entity_id: switch.magicmirror_restart", "config": [ { "name": "MagicMirror display switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.magicmirror_display", "device_id": null } }, { "name": "MagicMirror restart switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.magicmirror_restart", "device_id": null } }, { "name": "Family group", "room": "home", "type": "group", "id": { "entity_id": "group.family", "device_id": null } } ] }, { "id": "magicmirror_turn_off_at_night", "automation": "- alias: Magic Mirror Turn Off At Night\n id: magicmirror_turn_off_at_night\n triggers:\n - trigger: time\n at: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n entity_id: switch.magicmirror_display", "config": [ { "name": "MagicMirror display switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.magicmirror_display", "device_id": null } } ] }, { "id": "magicmirror_turn_on_at_morning", "automation": "- alias: Magic Mirror Turn On At Morning\n id: magicmirror_turn_on_at_morning\n triggers:\n - trigger: time\n at: 06:30:00\n actions:\n - action: homeassistant.turn_on\n entity_id: switch.magicmirror_display\n - action: homeassistant.turn_on\n entity_id: switch.magicmirror_restart", "config": [ { "name": "MagicMirror display switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.magicmirror_display", "device_id": null } }, { "name": "MagicMirror restart switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.magicmirror_restart", "device_id": null } } ] }, { "id": "basement_harmony_turn_off", "automation": "- alias: Basement Harmony - Turn Off when TV Falls Asleep\n id: basement_harmony_turn_off\n triggers:\n - trigger: state\n entity_id: media_player.basement_tv\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n condition: not\n conditions:\n - condition: state\n entity_id: sensor.basement_media_center\n state: PowerOff\n actions:\n - action: input_select.select_option\n data:\n option: PowerOff\n target:\n entity_id: input_select.remote_basement", "config": [ { "name": "Basement TV media player", "room": "basement", "type": "media_player", "id": { "entity_id": "media_player.basement_tv", "device_id": null } }, { "name": "Basement media center sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.basement_media_center", "device_id": null } }, { "name": "Remote basement input select", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.remote_basement", "device_id": null } }, { "name": "Basement media player", "room": "basement", "type": "media_player", "id": { "entity_id": "media_player.basement", "device_id": null } } ] }, { "id": "family_room_harmony_turn_off", "automation": "- alias: Basement Harmony - Turn Off when TV Falls Asleep\n id: family_room_harmony_turn_off\n triggers:\n - trigger: state\n entity_id: media_player.family_room_tv\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n condition: not\n conditions:\n - condition: state\n entity_id: sensor.family_room_media_center\n state: PowerOff\n actions:\n - action: input_select.select_option\n data:\n option: PowerOff\n target:\n entity_id: input_select.remote_family_room", "config": [ { "name": "Family room TV media player", "room": "family_room", "type": "media_player", "id": { "entity_id": "media_player.family_room_tv", "device_id": null } }, { "name": "Family room media center sensor", "room": "family_room", "type": "sensor", "id": { "entity_id": "sensor.family_room_media_center", "device_id": null } }, { "name": "Remote family room input select", "room": "family_room", "type": "input_select", "id": { "entity_id": "input_select.remote_family_room", "device_id": null } } ] }, { "id": "Network - WAN Down Notification", "automation": "- alias: Network - WAN Down Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.wan\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: persistent_notification.create\n data:\n message: Internet Down\n title: WAN\n notification_id: '1'", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "WAN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.wan", "device_id": null } } ] }, { "id": "Network - WAN Up Notification", "automation": "- alias: Network - WAN Up Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.wan\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: persistent_notification.create\n data:\n message: Internet Up\n title: WAN\n notification_id: '1'", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "WAN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.wan", "device_id": null } } ] }, { "id": "Network - REDACTED VPN Down Notification", "automation": "- alias: Network - REDACTED VPN Down Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.REDACTED_vpn\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: binary_sensor.wan\n state: 'on'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: REDACTED VPN Down", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "WAN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.wan", "device_id": null } }, { "name": "REDACTED VPN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.REDACTED_vpn", "device_id": null } }, { "name": "REDACTED sensor", "room": "network", "type": "sensor", "id": { "entity_id": "sensor.REDACTED", "device_id": null } } ] }, { "id": "Network - REDACTED VPN Up Notification", "automation": "- alias: Network - REDACTED VPN Up Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.REDACTED_vpn\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: REDACTED VPN Up", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "REDACTED VPN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.REDACTED_vpn", "device_id": null } }, { "name": "REDACTED sensor", "room": "network", "type": "sensor", "id": { "entity_id": "sensor.REDACTED", "device_id": null } } ] }, { "id": "Network - REDACTED VPN Down Notification", "automation": "- alias: Network - REDACTED VPN Down Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.REDACTED_vpn\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: binary_sensor.wan\n state: 'on'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: REDACTED VPN Down", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "WAN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.wan", "device_id": null } }, { "name": "REDACTED VPN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.REDACTED_vpn", "device_id": null } }, { "name": "REDACTED sensor", "room": "network", "type": "sensor", "id": { "entity_id": "sensor.REDACTED", "device_id": null } } ] }, { "id": "Network - REDACTED VPN Up Notification", "automation": "- alias: Network - REDACTED VPN Up Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.REDACTED_vpn\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: REDACTED VPN Up", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "REDACTED VPN sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.REDACTED_vpn", "device_id": null } }, { "name": "REDACTED sensor", "room": "network", "type": "sensor", "id": { "entity_id": "sensor.REDACTED", "device_id": null } } ] }, { "id": "network_REDACTED_ip_change_notification", "automation": "- alias: Network - REDACTED IP Change Notification\n id: network_REDACTED_ip_change_notification\n triggers:\n - trigger: state\n entity_id: sensor.REDACTED\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: ALERT - REDACTED IP Changed", "config": [ { "name": "REDACTED sensor", "room": "network", "type": "sensor", "id": { "entity_id": "sensor.REDACTED", "device_id": null } } ] }, { "id": "network_REDACTED_ip_change_notification", "automation": "- alias: Network - REDACTED IP Change Notification\n id: network_REDACTED_ip_change_notification\n triggers:\n - trigger: state\n entity_id: sensor.REDACTED\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: ALERT - REDACTED IP Changed", "config": [ { "name": "REDACTED sensor", "room": "network", "type": "sensor", "id": { "entity_id": "sensor.REDACTED", "device_id": null } } ] }, { "id": "Network - HCS WAN Gateway Down Notification", "automation": "- alias: Network - HCS WAN Gateway Down Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.hcs_wan_gateway\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: persistent_notification.create\n data:\n message: HCS WAN Gateway Down\n title: HCS\n notification_id: '1'\n - action: notify.mobile_app_USER1_iphone\n data:\n message: ALERT - HCS WAN Gateway Down", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "HCS WAN gateway sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.hcs_wan_gateway", "device_id": null } } ] }, { "id": "Network - HCS WAN Gateway Up Notification", "automation": "- alias: Network - HCS WAN Gateway Up Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.hcs_wan_gateway\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: persistent_notification.create\n data:\n message: HCS WAN Gateway Down\n title: HCS\n notification_id: '1'\n - action: notify.mobile_app_USER1_iphone\n data:\n message: ALERT - HCS WAN Gateway Up", "config": [ { "name": "Disable notifications switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_notifications", "device_id": null } }, { "name": "HCS WAN gateway sensor", "room": "network", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.hcs_wan_gateway", "device_id": null } } ] }, { "id": "Outdoor Theme - American On", "automation": "- alias: Outdoor Theme - American On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: American\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n color_name: white\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: white\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: white\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: white\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: white\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Blue On", "automation": "- alias: Outdoor Theme - Blue On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Blue\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n color_name: blue\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Bug Mode On", "automation": "- alias: Outdoor Theme - Bug Mode On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Bug Mode\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 30\n color_name: gold\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Bug Mode On After 10 Minutes", "automation": "- alias: Outdoor Theme - Bug Mode On After 10 Minutes\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:05:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Bug Mode\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 30\n color_name: gold\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: gold\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Christmas On", "automation": "- alias: Outdoor Theme - Christmas On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Christmas\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n color_name: green\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Default On", "automation": "- alias: Outdoor Theme - Default On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Default\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 30\n kelvin: 2700\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 30", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Easter On", "automation": "- alias: Outdoor Theme - Easter On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Easter\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n color_name: yellowgreen\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: aqua\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: lime\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: plum\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: aqua\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: magenta\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: lime\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: pink\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: plum\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: yellowgreen\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: turquoise\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "Outdoor Theme - Halloween On", "automation": "- alias: Outdoor Theme - Halloween On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Halloween\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n color_name: orange\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: blueviolet\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: blueviolet\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: blueviolet\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: blueviolet\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outdoor_theme_party_on", "automation": "- alias: Outdoor Theme - Party On\n id: outdoor_theme_party_on\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Party\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100\n - action: homeassistant.turn_on\n entity_id: input_boolean.animate_outside", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Animate outside switch", "room": "outdoor", "type": "input_boolean", "id": { "entity_id": "input_boolean.animate_outside", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outdoor_theme_random_color_change", "automation": "- alias: Outdoor Theme Random Color Change\n id: outdoor_theme_random_color_change\n triggers:\n - trigger: time_pattern\n seconds: /10\n conditions:\n - condition: state\n entity_id: input_boolean.animate_outside\n state: 'on'\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Party\n actions:\n - action: automation.trigger\n entity_id: automation.outdoor_theme_party_on", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Animate outside switch", "room": "outdoor", "type": "input_boolean", "id": { "entity_id": "input_boolean.animate_outside", "device_id": null } }, { "name": "Outdoor Theme Party On", "room": null, "type": "automation", "id": { "entity_id": "automation.outdoor_theme_party_on", "device_id": null } } ] }, { "id": "Outdoor Theme - Pink On", "automation": "- alias: Outdoor Theme - Pink On\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_select.outdoor_theme\n state: Pink\n actions:\n - action: light.turn_on\n entity_id: light.front_door\n data:\n transition: 5\n brightness_pct: 50\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.garage_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.garage_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.garage_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_1\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_3\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_4\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_5\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_6\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.outdoor_spot_7\n data:\n transition: 5\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.walkout\n data:\n brightness_pct: 100", "config": [ { "name": "Outdoor theme selector", "room": "outdoor", "type": "input_select", "id": { "entity_id": "input_select.outdoor_theme", "device_id": null } }, { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outside_lights_front_and_walkout_lights_off", "automation": "- alias: Outside Lights - Front and Walkout Lights Off\n id: outside_lights_front_and_walkout_lights_off\n triggers:\n - trigger: time\n at: '23:30:00'\n actions:\n - action: homeassistant.turn_off\n entity_id: light.walkout\n - action: homeassistant.turn_off\n entity_id: light.front_door", "config": [ { "name": "Front door light", "room": "front", "type": "light", "id": { "entity_id": "light.front_door", "device_id": null } }, { "name": "Walkout light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.walkout", "device_id": null } } ] }, { "id": "outside_lights_landscape_lights_dim", "automation": "- alias: Outside Lights - Landscape Lights Dim\n id: outside_lights_landscape_lights_dim\n triggers:\n - trigger: time\n at: '23:35:00'\n actions:\n - action: light.turn_on\n entity_id: light.landscape\n data:\n transition: 5\n brightness_pct: 30\n - action: light.turn_on\n entity_id: light.garage\n data:\n transition: 5\n brightness_pct: 50", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outside_lights_off", "automation": "- alias: Outside Lights - Off\n id: outside_lights_off\n triggers:\n - trigger: time\n at: 04:00:00\n actions:\n - action: homeassistant.turn_off\n entity_id: light.garage\n - action: homeassistant.turn_off\n entity_id: light.landscape\n - action: homeassistant.turn_off\n entity_id: input_boolean.animate_outside", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Animate outside switch", "room": "outdoor", "type": "input_boolean", "id": { "entity_id": "input_boolean.animate_outside", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outside_lights_off_2", "automation": "- alias: Outside Lights - Off 2\n id: outside_lights_off_2\n triggers:\n - trigger: time\n at: 04:10:00\n actions:\n - action: homeassistant.turn_off\n entity_id: light.garage\n - action: homeassistant.turn_off\n entity_id: light.landscape", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outside_lights_landscape_hue_light_fix_night_on", "automation": "- alias: Outside Lights - Landscape Hue Light Fix - Night On\n id: outside_lights_landscape_hue_light_fix_night_on\n triggers:\n - trigger: state\n entity_id: light.landscape\n to: 'on'\n for:\n minutes: 2\n conditions:\n condition: and\n conditions:\n - condition: time\n after: '17:01:00'\n before: 03:00:00\n - condition: or\n conditions:\n - condition: state\n entity_id: light.outdoor_spot_1\n state: 'off'\n - condition: state\n entity_id: light.outdoor_spot_2\n state: 'off'\n - condition: state\n entity_id: light.outdoor_spot_3\n state: 'off'\n - condition: state\n entity_id: light.outdoor_spot_4\n state: 'off'\n - condition: state\n entity_id: light.outdoor_spot_5\n state: 'off'\n - condition: state\n entity_id: light.outdoor_spot_6\n state: 'off'\n - condition: state\n entity_id: light.outdoor_spot_7\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.landscape", "config": [ { "name": "Landscape light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.landscape", "device_id": null } }, { "name": "Outdoor spot 1 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_1", "device_id": null } }, { "name": "Outdoor spot 2 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_2", "device_id": null } }, { "name": "Outdoor spot 3 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_3", "device_id": null } }, { "name": "Outdoor spot 4 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_4", "device_id": null } }, { "name": "Outdoor spot 5 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_5", "device_id": null } }, { "name": "Outdoor spot 6 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_6", "device_id": null } }, { "name": "Outdoor spot 7 light", "room": "outdoor", "type": "light", "id": { "entity_id": "light.outdoor_spot_7", "device_id": null } } ] }, { "id": "outside_lights_garage_hue_light_fix", "automation": "- alias: Outside Lights - Garage Hue Light Fix\n id: outside_lights_garage_hue_light_fix\n triggers:\n - trigger: state\n entity_id: light.garage\n to: 'on'\n for:\n minutes: 2\n conditions:\n condition: or\n conditions:\n - condition: state\n entity_id: light.garage_1\n state: 'off'\n - condition: state\n entity_id: light.garage_2\n state: 'off'\n - condition: state\n entity_id: light.garage_3\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.garage", "config": [ { "name": "Garage 1 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_1", "device_id": null } }, { "name": "Garage 2 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_2", "device_id": null } }, { "name": "Garage 3 light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_3", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } } ] }, { "id": "outside_lights_garage_back_door_light_on", "automation": "- alias: Outside Lights - Garage Back Door Light On\n id: outside_lights_garage_back_door_light_on\n triggers:\n - trigger: state\n entity_id: binary_sensor.garage_back_door\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - action: light.turn_on\n entity_id: light.garage_back_door\n - delay: 00:15:00\n - action: light.turn_off\n entity_id: light.garage_back_door", "config": [ { "name": "Garage back door sensor", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.garage_back_door", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } }, { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } }, { "name": "Garage back door light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage_back_door", "device_id": null } } ] }, { "id": "Party - Outside to Colorloop", "automation": "- alias: Party - Outside to Colorloop\n triggers:\n - trigger: state\n entity_id: input_boolean.party_outside\n to: 'on'\n actions:\n - delay: 00:00:25\n - action: light.turn_on\n entity_id: light.garage\n data:\n effect: colorloop\n transition: 5\n brightness_pct: 100", "config": [ { "name": "Garage light", "room": "garage", "type": "light", "id": { "entity_id": "light.garage", "device_id": null } }, { "name": "Party outside switch", "room": "outdoor", "type": "input_boolean", "id": { "entity_id": "input_boolean.party_outside", "device_id": null } } ] }, { "id": "party_family_room_color_on", "automation": "- alias: Party - Set Family Room to Random Color\n id: party_family_room_color_on\n triggers:\n - trigger: time_pattern\n seconds: /6\n conditions:\n - condition: state\n entity_id: input_boolean.party_family_room\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.family_room\n data:\n transition: 5\n brightness_pct: 100\n color_name: '{{ [''lawngreen'', ''blueviolet'', ''magenta'', ''yellow'', ''red'']\n | random }}'", "config": [ { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Party family room switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.party_family_room", "device_id": null } } ] }, { "id": "Party - Set Family Room to Random Color Off", "automation": "- alias: Party - Set Family Room to Random Color Off\n triggers:\n - trigger: state\n entity_id: input_boolean.party_family_room\n to: 'off'\n actions:\n - action: light.turn_on\n entity_id:\n - light.family_room\n data:\n transition: 30\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Party family room switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.party_family_room", "device_id": null } } ] }, { "id": "Party - Set USER4 Bedroom to Random Color", "automation": "- alias: Party - Set USER4 Bedroom to Random Color\n triggers:\n - trigger: state\n entity_id: input_boolean.party_USER4_bedroom\n to: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.USER4_bedroom\n data:\n effect: colorloop\n transition: 5\n brightness_pct: 100", "config": [ { "name": "USER4 bedroom light", "room": "USER4_bedroom", "type": "light", "id": { "entity_id": "light.USER4_bedroom", "device_id": null } }, { "name": "Party USER4 bedroom switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.party_USER4_bedroom", "device_id": null } } ] }, { "id": "Party - Set USER4 Bedroom to Random Color Off", "automation": "- alias: Party - Set USER4 Bedroom to Random Color Off\n triggers:\n - trigger: state\n entity_id: input_boolean.party_USER4_bedroom\n to: 'off'\n actions:\n - action: light.turn_on\n entity_id:\n - light.USER4_bedroom\n data:\n transition: 30\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "USER4 bedroom light", "room": "USER4_bedroom", "type": "light", "id": { "entity_id": "light.USER4_bedroom", "device_id": null } }, { "name": "Party USER4 bedroom switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.party_USER4_bedroom", "device_id": null } } ] }, { "id": "Party - Set Test Random Color", "automation": "- alias: Party - Set Test Random Color\n triggers:\n - trigger: time_pattern\n seconds: /6\n conditions:\n - condition: state\n entity_id: input_boolean.party_family_room\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.family_room_2\n data:\n transition: 5\n brightness_pct: 100\n color_name: '{{ [''lawngreen'', ''blueviolet'', ''magenta'', ''yellow'', ''red'']\n | random }}'", "config": [ { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Party family room switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.party_family_room", "device_id": null } }, { "name": "Family room 2 light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room_2", "device_id": null } } ] }, { "id": "pico_master_bedroom_pico_on", "automation": "- alias: Master Bedroom Pico - On\n id: pico_master_bedroom_pico_on\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: 'on'\n action: press\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom\n data:\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Master bedroom pico remote", "room": "master_bedroom", "type": "device", "id": { "entity_id": null, "device_id": "43997118" } } ] }, { "id": "pico_master_bedroom_pico_off", "automation": "- alias: Master Bedroom Pico - Off\n id: pico_master_bedroom_pico_off\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: 'off'\n action: press\n actions:\n - action: light.turn_off\n entity_id: light.master_bedroom", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Master bedroom pico remote", "room": "master_bedroom", "type": "device", "id": { "entity_id": null, "device_id": "43997118" } } ] }, { "id": "pico_master_bedroom_pico_raise", "automation": "- alias: Master Bedroom Pico - Raise\n id: pico_master_bedroom_pico_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: raise\n action: press\n conditions:\n - condition: state\n entity_id: light.master_bedroom\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom\n data:\n brightness_pct: 75", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Master bedroom pico remote", "room": "master_bedroom", "type": "device", "id": { "entity_id": null, "device_id": "43997118" } } ] }, { "id": "pico_master_bedroom_pico_lower", "automation": "- alias: Master Bedroom Pico - Lower\n id: pico_master_bedroom_pico_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: lower\n action: press\n conditions:\n - condition: state\n entity_id: light.master_bedroom\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom\n data:\n brightness_pct: 40", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Master bedroom pico remote", "room": "master_bedroom", "type": "device", "id": { "entity_id": null, "device_id": "43997118" } } ] }, { "id": "pico_master_bedroom_pico_stop", "automation": "- alias: Master Bedroom Pico - Favorite\n id: pico_master_bedroom_pico_stop\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: stop\n action: press\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom\n data:\n kelvin: 2700", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Master bedroom pico remote", "room": "master_bedroom", "type": "device", "id": { "entity_id": null, "device_id": "43997118" } } ] }, { "id": "pico_master_bedroom_pico_stop_long_press", "automation": "- alias: Master Bedroom Pico - Favorite Long Press\n id: pico_master_bedroom_pico_stop_long_press\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: stop\n action: press\n actions:\n - wait_for_trigger:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43997118\n button_type: stop\n action: release\n timeout:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n continue_on_timeout: false\n - action: light.turn_on\n entity_id: light.master_bedroom\n data:\n kelvin: 3400", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Master bedroom pico remote", "room": "master_bedroom", "type": "device", "id": { "entity_id": null, "device_id": "43997118" } } ] }, { "id": "pico_basement_entry_pico_on", "automation": "- alias: Basement Entry Pico - On\n id: pico_basement_entry_pico_on\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43514236\n button_type: 'on'\n action: press\n actions:\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement entry pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "43514236" } } ] }, { "id": "pico_basement_entry_pico_off", "automation": "- alias: Basement Entry Pico - Off\n id: pico_basement_entry_pico_off\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43514236\n button_type: 'off'\n action: press\n actions:\n - action: light.turn_off\n entity_id: light.basement_entry", "config": [ { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement entry pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "43514236" } } ] }, { "id": "pico_basement_entry_pico_raise", "automation": "- alias: Basement Entry Pico - Raise\n id: pico_basement_entry_pico_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43514236\n button_type: raise\n action: press\n conditions:\n - condition: state\n entity_id: light.basement_entry\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 60", "config": [ { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement entry pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "43514236" } } ] }, { "id": "pico_basement_entry_pico_lower", "automation": "- alias: Basement Entry Pico - Lower\n id: pico_basement_entry_pico_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43514236\n button_type: lower\n action: press\n conditions:\n - condition: state\n entity_id: light.basement_entry\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.basement_entry\n data:\n brightness_pct: 30", "config": [ { "name": "Basement entry light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_entry", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement entry pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "43514236" } } ] }, { "id": "pico_basement_sitting_area_pico_on", "automation": "- alias: Basement Sitting Area Pico - On\n id: pico_basement_sitting_area_pico_on\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 48067597\n button_type: 'on'\n action: press\n actions:\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement sitting area pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "48067597" } } ] }, { "id": "pico_basement_sitting_area_pico_off", "automation": "- alias: Basement Sitting Area Pico - Off\n id: pico_basement_sitting_area_pico_off\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 48067597\n button_type: 'off'\n action: press\n actions:\n - action: light.turn_off\n entity_id: light.basement_sitting_area", "config": [ { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement sitting area pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "48067597" } } ] }, { "id": "pico_basement_sitting_area_pico_raise", "automation": "- alias: Basement Sitting Area Pico - Raise\n id: pico_basement_sitting_area_pico_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 48067597\n button_type: raise\n action: press\n conditions:\n - condition: state\n entity_id: light.basement_sitting_area\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 60", "config": [ { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement sitting area pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "48067597" } } ] }, { "id": "pico_basement_sitting_area_pico_lower", "automation": "- alias: Basement Sitting Area Pico - Lower\n id: pico_basement_sitting_area_pico_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 48067597\n button_type: lower\n action: press\n conditions:\n - condition: state\n entity_id: light.basement_sitting_area\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.basement_sitting_area\n data:\n brightness_pct: 30", "config": [ { "name": "Basement sitting area light", "room": "basement", "type": "light", "id": { "entity_id": "light.basement_sitting_area", "device_id": null } }, { "name": "Basement light group", "room": "basement", "type": "light", "id": { "entity_id": "light.basement", "device_id": null } }, { "name": "Basement sitting area pico remote", "room": "basement", "type": "device", "id": { "entity_id": null, "device_id": "48067597" } } ] }, { "id": "biocube_pico_pico_on_feed_mode_off", "automation": "- alias: Biocube Pico On - Feed Mode Off\n id: biocube_pico_pico_on_feed_mode_off\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 46769819\n button_type: 'on'\n action: press\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.biocube_feed_mode", "config": [ { "name": "Biocube feed mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_feed_mode", "device_id": null } }, { "name": "Biocube pico remote", "room": "aquarium", "type": "device", "id": { "entity_id": null, "device_id": "46769819" } } ] }, { "id": "biocube_pico_pico_off_feed_mode_on", "automation": "- alias: Biocube Pico Off - Feed Mode On\n id: biocube_pico_pico_off_feed_mode_on\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 46769819\n button_type: 'off'\n action: press\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.biocube_feed_mode", "config": [ { "name": "Biocube feed mode switch", "room": "aquarium", "type": "input_boolean", "id": { "entity_id": "input_boolean.biocube_feed_mode", "device_id": null } }, { "name": "Biocube pico remote", "room": "aquarium", "type": "device", "id": { "entity_id": null, "device_id": "46769819" } } ] }, { "id": "Media - Remote external update Family Room Media Center", "automation": "- alias: Media - Remote external update Family Room Media Center\n triggers:\n trigger: state\n entity_id: remote.family_room\n actions:\n - action: input_select.select_option\n data_template:\n entity_id: input_select.remote_family_room\n option: '{{ states.remote.family_room.attributes.current_activity }}\n\n '", "config": [ { "name": "Remote family room input select", "room": "family_room", "type": "input_select", "id": { "entity_id": "input_select.remote_family_room", "device_id": null } }, { "name": "Family room remote", "room": "family_room", "type": "remote", "id": { "entity_id": "remote.family_room", "device_id": null } } ] }, { "id": "Media - Remote start activity from input select Family Room media center", "automation": "- alias: Media - Remote start activity from input select Family Room media center\n triggers:\n trigger: state\n entity_id: input_select.remote_family_room\n actions:\n - action: script.turn_on\n entity_id: script.input_select_remote_family_room", "config": [ { "name": "Remote family room input select", "room": "family_room", "type": "input_select", "id": { "entity_id": "input_select.remote_family_room", "device_id": null } }, { "name": "Input select remote family room script", "room": "family_room", "type": "script", "id": { "entity_id": "script.input_select_remote_family_room", "device_id": null } } ] }, { "id": "Media - Remote external update Basement Media Center", "automation": "- alias: Media - Remote external update Basement Media Center\n triggers:\n trigger: state\n entity_id: remote.basement\n actions:\n - action: input_select.select_option\n data_template:\n entity_id: input_select.remote_basement\n option: '{{ states.remote.basement.attributes.current_activity }}\n\n '", "config": [ { "name": "Remote basement input select", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.remote_basement", "device_id": null } }, { "name": "Basement remote", "room": "basement", "type": "remote", "id": { "entity_id": "remote.basement", "device_id": null } } ] }, { "id": "Media - Remote start activity from input select Basement media center", "automation": "- alias: Media - Remote start activity from input select Basement media center\n triggers:\n trigger: state\n entity_id: input_select.remote_basement\n actions:\n - action: script.turn_on\n entity_id: script.input_select_remote_basement", "config": [ { "name": "Remote basement input select", "room": "basement", "type": "input_select", "id": { "entity_id": "input_select.remote_basement", "device_id": null } }, { "name": "Input select remote basement script", "room": "basement", "type": "script", "id": { "entity_id": "script.input_select_remote_basement", "device_id": null } } ] }, { "id": "Roomba - Stuck Notification", "automation": "- alias: Roomba - Stuck Notification\n triggers:\n - trigger: template\n value_template: '{%if is_state_attr(''vacuum.rosie'', ''status'', ''Stuck'') %}true{%endif%}'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Rosie is Stuck, Please Help\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Rosie is Stuck, Please Help", "config": [ { "name": "Rosie vacuum", "room": "home", "type": "vacuum", "id": { "entity_id": "vacuum.rosie", "device_id": null } } ] }, { "id": "Roomba - Full Notification", "automation": "- alias: Roomba - Full Notification\n triggers:\n - trigger: template\n value_template: '{%if is_state_attr(''vacuum.rosie'', ''bin_full'', true) %}true{%endif%}'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Rosie is Full, Empty It\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Rosie is Full, Empty It", "config": [ { "name": "Rosie vacuum", "room": "home", "type": "vacuum", "id": { "entity_id": "vacuum.rosie", "device_id": null } } ] }, { "id": "Smoke Sensor - Flash Lights when Smoke Warning", "automation": "- alias: Smoke Sensor - Flash Lights when Smoke Warning\n triggers:\n - trigger: state\n entity_id: sensor.hallway_nest_protect_smoke_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.kitchen_nest_protect_smoke_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.master_bedroom_nest_protect_smoke_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.basement_nest_protect_smoke_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n actions:\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n flash: long\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Smoke - Warning in House!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Smoke - Warning in House!", "config": [ { "name": "Hallway Nest Protect smoke status sensor", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_nest_protect_smoke_status", "device_id": null } }, { "name": "Kitchen Nest Protect smoke status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_nest_protect_smoke_status", "device_id": null } }, { "name": "Master bedroom Nest Protect smoke status sensor", "room": "master_bedroom", "type": "sensor", "id": { "entity_id": "sensor.master_bedroom_nest_protect_smoke_status", "device_id": null } }, { "name": "Basement Nest Protect smoke status sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.basement_nest_protect_smoke_status", "device_id": null } }, { "name": "Emergency lights", "room": "home", "type": "light", "id": { "entity_id": "light.emergency_lights", "device_id": null } } ] }, { "id": "Smoke Sensor - Flash Lights when Smoke Emergency", "automation": "- alias: Smoke Sensor - Flash Lights when Smoke Emergency\n triggers:\n - trigger: state\n entity_id: sensor.hallway_nest_protect_smoke_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.kitchen_nest_protect_smoke_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.master_bedroom_nest_protect_smoke_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.basement_nest_protect_smoke_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n actions:\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n flash: long\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Smoke - Emergency in House!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Smoke - Emergency in House!", "config": [ { "name": "Hallway Nest Protect smoke status sensor", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_nest_protect_smoke_status", "device_id": null } }, { "name": "Kitchen Nest Protect smoke status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_nest_protect_smoke_status", "device_id": null } }, { "name": "Master bedroom Nest Protect smoke status sensor", "room": "master_bedroom", "type": "sensor", "id": { "entity_id": "sensor.master_bedroom_nest_protect_smoke_status", "device_id": null } }, { "name": "Basement Nest Protect smoke status sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.basement_nest_protect_smoke_status", "device_id": null } }, { "name": "Emergency lights", "room": "home", "type": "light", "id": { "entity_id": "light.emergency_lights", "device_id": null } } ] }, { "id": "Smoke Sensor - Flash Lights when CO Warning", "automation": "- alias: Smoke Sensor - Flash Lights when CO Warning\n triggers:\n - trigger: state\n entity_id: sensor.hallway_nest_protect_co_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.kitchen_nest_protect_co_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.master_bedroom_nest_protect_co_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.basement_nest_protect_co_status\n to: Warning\n for:\n hours: 0\n minutes: 0\n seconds: 3\n actions:\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n flash: long\n - action: notify.mobile_app_USER1_iphone\n data:\n message: CO - Warning in House!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: CO - Warning in House!", "config": [ { "name": "Emergency lights", "room": "home", "type": "light", "id": { "entity_id": "light.emergency_lights", "device_id": null } }, { "name": "Hallway Nest Protect CO status sensor", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_nest_protect_co_status", "device_id": null } }, { "name": "Kitchen Nest Protect CO status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_nest_protect_co_status", "device_id": null } }, { "name": "Master bedroom Nest Protect CO status sensor", "room": "master_bedroom", "type": "sensor", "id": { "entity_id": "sensor.master_bedroom_nest_protect_co_status", "device_id": null } }, { "name": "Basement Nest Protect CO status sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.basement_nest_protect_co_status", "device_id": null } } ] }, { "id": "Smoke Sensor - Flash Lights when CO Emergency", "automation": "- alias: Smoke Sensor - Flash Lights when CO Emergency\n triggers:\n - trigger: state\n entity_id: sensor.hallway_nest_protect_co_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.kitchen_nest_protect_co_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.master_bedroom_nest_protect_co_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - trigger: state\n entity_id: sensor.basement_nest_protect_co_status\n to: Emergency\n for:\n hours: 0\n minutes: 0\n seconds: 3\n actions:\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n brightness_pct: 100\n color_name: orange\n - action: light.turn_on\n entity_id: light.emergency_lights\n data:\n flash: long\n - action: notify.mobile_app_USER1_iphone\n data:\n message: CO - Emergency in House!\n - action: notify.mobile_app_USER2_iphone\n data:\n message: CO - Emergency in House!", "config": [ { "name": "Emergency lights", "room": "home", "type": "light", "id": { "entity_id": "light.emergency_lights", "device_id": null } }, { "name": "Hallway Nest Protect CO status sensor", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_nest_protect_co_status", "device_id": null } }, { "name": "Kitchen Nest Protect CO status sensor", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_nest_protect_co_status", "device_id": null } }, { "name": "Master bedroom Nest Protect CO status sensor", "room": "master_bedroom", "type": "sensor", "id": { "entity_id": "sensor.master_bedroom_nest_protect_co_status", "device_id": null } }, { "name": "Basement Nest Protect CO status sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.basement_nest_protect_co_status", "device_id": null } } ] }, { "id": "Blackhawks Goal - On", "automation": "- alias: Blackhawks Goal - On\n triggers:\n trigger: state\n entity_id: input_boolean.blackhawks_goal\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.blackhawks_mode\n state: 'on'\n actions:\n - action: media_player.play_media\n data:\n entity_id: media_player.office\n media_content_id: https://REDACTED/local/audio/blackhawks_goal.mp3\n media_content_type: music\n - action: light.turn_on\n entity_id: light.family_room\n data:\n color_name: red\n brightness_pct: 100\n - delay: 00:00:60\n - action: light.turn_on\n entity_id: light.family_room", "config": [ { "name": "Office media player", "room": "office", "type": "media_player", "id": { "entity_id": "media_player.office", "device_id": null } }, { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Blackhawks goal switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.blackhawks_goal", "device_id": null } }, { "name": "Blackhawks mode switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.blackhawks_mode", "device_id": null } } ] }, { "id": "Blackhawks Goal - Off", "automation": "- alias: Blackhawks Goal - Off\n triggers:\n trigger: state\n entity_id: input_boolean.blackhawks_goal\n to: 'on'\n for:\n seconds: 50\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.blackhawks_goal\n - action: light.turn_on\n entity_id: light.family_room\n data:\n color_name: white\n brightness_pct: 100\n - action: light.turn_on\n entity_id:\n - light.family_room\n data:\n transition: 10\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Blackhawks goal switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.blackhawks_goal", "device_id": null } } ] }, { "id": "Blackhawks Mode - Off", "automation": "- alias: Blackhawks Mode - Off\n triggers:\n trigger: state\n entity_id: input_boolean.blackhawks_mode\n to: 'on'\n for:\n hours: 4\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.blackhawks_mode", "config": [ { "name": "Blackhawks mode switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.blackhawks_mode", "device_id": null } } ] }, { "id": "Cardinals Score - On", "automation": "- alias: Cardinals Score - On\n triggers:\n trigger: state\n entity_id: input_boolean.cardinals_score\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.cardinals_mode\n state: 'on'\n actions:\n - action: media_player.play_media\n data:\n entity_id: media_player.office\n media_content_id: https://REDACTED/local/audio/cardinals_score.mp3\n media_content_type: music\n - action: light.turn_on\n entity_id: light.family_room\n data:\n color_name: red\n brightness_pct: 100\n - action: light.turn_on\n entity_id: light.family_room\n data:\n flash: long\n - delay: 00:00:10\n - action: light.turn_on\n entity_id: light.family_room\n data:\n flash: long\n - delay: 00:00:10\n - action: light.turn_on\n entity_id: light.family_room\n data:\n flash: long", "config": [ { "name": "Office media player", "room": "office", "type": "media_player", "id": { "entity_id": "media_player.office", "device_id": null } }, { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Cardinals score switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.cardinals_score", "device_id": null } }, { "name": "Cardinals mode switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.cardinals_mode", "device_id": null } } ] }, { "id": "Cardinals Score - Off", "automation": "- alias: Cardinals Score - Off\n triggers:\n trigger: state\n entity_id: input_boolean.cardinals_score\n to: 'on'\n for:\n seconds: 50\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.cardinals_score\n - action: light.turn_on\n entity_id: light.family_room\n data:\n color_name: white\n brightness_pct: 100\n - action: light.turn_on\n entity_id:\n - light.family_room\n data:\n transition: 10\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Cardinals score switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.cardinals_score", "device_id": null } } ] }, { "id": "Cardinals Mode - Off", "automation": "- alias: Cardinals Mode - Off\n triggers:\n trigger: state\n entity_id: input_boolean.cardinals_mode\n to: 'on'\n for:\n hours: 4\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.cardinals_mode", "config": [ { "name": "Cardinals mode switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.cardinals_mode", "device_id": null } } ] }, { "id": "Blackhawks Goal TEST", "automation": "- alias: Blackhawks Goal TEST\n triggers:\n trigger: state\n entity_id: input_boolean.blackhawks_goal\n from: 'off'\n to: 'on'\n actions:\n - action: media_player.play_media\n data:\n entity_id: media_player.basement\n media_content_id: https://REDACTED/local/audio/blackhawks_goal.mp3\n media_content_type: music", "config": [ { "name": "Blackhawks goal switch", "room": "family_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.blackhawks_goal", "device_id": null } }, { "name": "Basement media player", "room": "basement", "type": "media_player", "id": { "entity_id": "media_player.basement", "device_id": null } } ] }, { "id": "teslamate_update_location", "automation": "- alias: Teslamate - Update Tesla location as MQTT location updates\n id: teslamate_update_location\n initial_state: true\n triggers:\n - trigger: mqtt\n topic: teslamate/cars/1/latitude\n - trigger: mqtt\n topic: teslamate/cars/1/longitude\n actions:\n - action: device_tracker.see\n data_template:\n dev_id: tesla_location\n gps:\n - '{{ states.sensor.tesla_latitude.state }}'\n - '{{ states.sensor.tesla_longitude.state }}'", "config": [ { "name": "Tesla latitude sensor", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.tesla_latitude", "device_id": null } }, { "name": "Tesla longitude sensor", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.tesla_longitude", "device_id": null } } ] }, { "id": "tesla_not_plugged_in", "automation": "- alias: Tesla Not Plugged In After 9pm\n id: tesla_not_plugged_in\n triggers:\n - trigger: time\n at: '21:00:00'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: device_tracker.tesla_location\n state: home\n - condition: state\n entity_id: binary_sensor.tesla_plugged_in\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Tesla Not Plugged In", "config": [ { "name": "USER1 person", "room": null, "type": "person", "id": { "entity_id": "person.USER1", "device_id": null } }, { "name": "Tesla location tracker", "room": "garage", "type": "device_tracker", "id": { "entity_id": "device_tracker.tesla_location", "device_id": null } }, { "name": "Tesla plugged in sensor", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.tesla_plugged_in", "device_id": null } } ] }, { "id": "Vacation - Lights On Sunset", "automation": "- alias: Vacation - Lights On Sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:10:00\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.family_room\n - action: light.turn_on\n entity_id: light.master_bedroom", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Vacation mode switch", "room": "home", "type": "input_boolean", "id": { "entity_id": "input_boolean.vacation_mode", "device_id": null } } ] }, { "id": "Vacation - Lights Off 11p", "automation": "- alias: Vacation - Lights Off 11p\n triggers:\n - trigger: time\n at: '23:34'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id: light.family_room\n - action: light.turn_off\n entity_id: light.master_bedroom", "config": [ { "name": "Master bedroom light", "room": "master_bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } }, { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Vacation mode switch", "room": "home", "type": "input_boolean", "id": { "entity_id": "input_boolean.vacation_mode", "device_id": null } } ] }, { "id": "wakeup_all_activation", "automation": "- alias: Wakeup All Activation\n id: wakeup_all_activation\n triggers:\n trigger: state\n entity_id: input_boolean.all_wakeup\n to: 'on'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.USER2_wakeup\n - action: homeassistant.turn_on\n entity_id: input_boolean.USER3_wakeup\n - action: homeassistant.turn_on\n entity_id: input_boolean.USER4_wakeup\n - action: homeassistant.turn_off\n entity_id: input_boolean.all_wakeup", "config": [ { "name": "All wakeup switch", "room": "home", "type": "input_boolean", "id": { "entity_id": "input_boolean.all_wakeup", "device_id": null } }, { "name": "USER2 wakeup switch", "room": "USER2_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.USER2_wakeup", "device_id": null } }, { "name": "USER3 wakeup switch", "room": "USER3_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.USER3_wakeup", "device_id": null } }, { "name": "USER4 wakeup switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.USER4_wakeup", "device_id": null } } ] }, { "id": "wakeup_USER2_wakeup_light", "automation": "- alias: Alarm - USER2 Wakeup Light\n id: wakeup_USER2_wakeup_light\n triggers:\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.USER2_wakeup_time.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: state\n entity_id: input_boolean.USER2_wakeup\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.family_room\n - action: light.turn_on\n entity_id: light.USER2_bedroom_1\n data:\n color_name: red\n brightness_pct: 10\n transition: 60\n - delay: 00:01:00\n - action: light.turn_on\n entity_id: light.USER2_bedroom_1\n data:\n color_name: orange\n brightness_pct: 70\n transition: 120\n - delay: 00:02:00\n - action: light.turn_on\n entity_id: light.USER2_bedroom_1\n data:\n color_name: gold\n brightness_pct: 80\n transition: 120\n - delay: 00:02:30\n - action: light.turn_on\n entity_id: light.USER2_bedroom_1\n data:\n brightness_pct: 100\n kelvin: 2700\n transition: 30\n - delay: 00:03:00\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER2_wakeup", "config": [ { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "USER2 wakeup switch", "room": "USER2_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.USER2_wakeup", "device_id": null } }, { "name": "USER2 wakeup time datetime", "room": "USER2_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.USER2_wakeup_time", "device_id": null } }, { "name": "USER2 bedroom 1 light", "room": "USER2_bedroom", "type": "light", "id": { "entity_id": "light.USER2_bedroom_1", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "wakeup_USER3_wakeup_light", "automation": "- alias: Alarm - USER3 Wakeup Light\n id: wakeup_USER3_wakeup_light\n triggers:\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.USER3_wakeup_time.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: state\n entity_id: input_boolean.USER3_wakeup\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.USER3_bedroom_1\n data:\n color_name: red\n brightness_pct: 10\n transition: 60\n - delay: 00:01:00\n - action: light.turn_on\n entity_id: light.USER3_bedroom_1\n data:\n color_name: orange\n brightness_pct: 70\n transition: 120\n - delay: 00:02:00\n - action: light.turn_on\n entity_id: light.USER3_bedroom_1\n data:\n color_name: gold\n brightness_pct: 80\n transition: 120\n - delay: 00:02:00\n - action: light.turn_on\n entity_id: light.USER3_bedroom_1\n data:\n brightness_pct: 100\n kelvin: 2700\n transition: 60\n - delay: 00:03:00\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER3_wakeup", "config": [ { "name": "USER3 bedroom light", "room": "USER3_bedroom", "type": "light", "id": { "entity_id": "light.USER3_bedroom", "device_id": null } }, { "name": "USER3 wakeup switch", "room": "USER3_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.USER3_wakeup", "device_id": null } }, { "name": "USER3 wakeup time datetime", "room": "USER3_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.USER3_wakeup_time", "device_id": null } }, { "name": "USER3 bedroom 1 light", "room": "USER3_bedroom", "type": "light", "id": { "entity_id": "light.USER3_bedroom_1", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "wakeup_USER4_wakeup_light", "automation": "- alias: Alarm - USER4 Wakeup Light\n id: wakeup_USER4_wakeup_light\n triggers:\n - trigger: template\n value_template: '{{ states(''sensor.time'') == (states.input_datetime.USER4_wakeup_time.attributes.timestamp\n | int | timestamp_custom(''%H:%M'', False)) }}'\n conditions:\n - condition: state\n entity_id: input_boolean.USER4_wakeup\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.USER4_bedroom_1\n data:\n color_name: red\n brightness_pct: 10\n transition: 60\n - delay: 00:01:00\n - action: light.turn_on\n entity_id: light.USER4_bedroom_1\n data:\n color_name: orange\n brightness_pct: 70\n transition: 120\n - delay: 00:02:00\n - action: light.turn_on\n entity_id: light.USER4_bedroom_1\n data:\n color_name: gold\n brightness_pct: 80\n transition: 120\n - delay: 00:02:00\n - action: light.turn_on\n entity_id: light.USER4_bedroom_1\n data:\n brightness_pct: 100\n kelvin: 2700\n transition: 60\n - delay: 00:03:00\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER4_wakeup", "config": [ { "name": "USER4 bedroom light", "room": "USER4_bedroom", "type": "light", "id": { "entity_id": "light.USER4_bedroom", "device_id": null } }, { "name": "USER4 wakeup switch", "room": "USER4_bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.USER4_wakeup", "device_id": null } }, { "name": "USER4 wakeup time datetime", "room": "USER4_bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.USER4_wakeup_time", "device_id": null } }, { "name": "USER4 bedroom 1 light", "room": "USER4_bedroom", "type": "light", "id": { "entity_id": "light.USER4_bedroom_1", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "Notification - Basement Water Sensor", "automation": "- alias: Notification - Basement Water Sensor\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected at Basement Drain!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Water Detected at Basement Drain!", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Basement drain water sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.basement_drain_water_sensor", "device_id": null } } ] }, { "id": "Notification - Washing Machine Water Sensor Text Notification", "automation": "- alias: Notification - Washing Machine Water Sensor Text Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected at Washing Machine!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Water Detected by Washing Machine!", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Washing machine water sensor", "room": "laundry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.washing_machine_water_sensor", "device_id": null } } ] }, { "id": "Notification - Kitchen Sink Water Sensor Text Notification", "automation": "- alias: Notification - Kitchen Sink Water Sensor Text Notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected by Kitchen Sink!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Water Detected by Kitchen Sink!", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Kitchen sink water sensor", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_sink_water_sensor", "device_id": null } } ] }, { "id": "Notification - Refrigerator Water Sensor", "automation": "- alias: Notification - Refrigerator Water Sensor\n triggers:\n - trigger: state\n entity_id: binary_sensor.refrigerator_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected under Refrigerator!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n - action: notify.mobile_app_USER2_iphone\n data:\n message: Water Detected by Refrigerator!", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Refrigerator water sensor", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.refrigerator_water_sensor", "device_id": null } } ] }, { "id": "Water Sensor - Washing Machine Shut Off", "automation": "- alias: Water Sensor - Washing Machine Shut Off\n triggers:\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: switch.turn_off\n entity_id:\n - switch.washing_machine", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Washing machine switch", "room": "laundry", "type": "switch", "id": { "entity_id": "switch.washing_machine", "device_id": null } }, { "name": "Washing machine water sensor", "room": "laundry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.washing_machine_water_sensor", "device_id": null } } ] }, { "id": "Notification - Filtration Water Sensor", "automation": "- alias: Notification - Filtration Water Sensor\n triggers:\n - trigger: state\n entity_id: binary_sensor.filtration_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected by Water Filtration in Basement!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Filtration water sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.filtration_water_sensor", "device_id": null } } ] }, { "id": "Notification - Red Sea Floor Water Sensor", "automation": "- alias: Notification - Red Sea Floor Water Sensor\n triggers:\n - trigger: state\n entity_id: binary_sensor.red_sea_floor_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected on floor by Red Sea Tank in Basement!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Red Sea floor water sensor", "room": "aquarium", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.red_sea_floor_water_sensor", "device_id": null } } ] }, { "id": "Notification - Red Sea Sump Water Sensor", "automation": "- alias: Notification - Red Sea Sump Water Sensor\n triggers:\n - trigger: state\n entity_id: binary_sensor.red_sea_sump_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Water Alert\n message: Water Detected in sump of Red Sea Tank in Basement!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0", "config": [ { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Red Sea sump water sensor", "room": "aquarium", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.red_sea_sump_water_sensor", "device_id": null } } ] }, { "id": "Water Sensor - Flash Lights when Water Detected", "automation": "- alias: Water Sensor - Flash Lights when Water Detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.refridgerator_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.water_lights\n data:\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.water_lights\n data:\n flash: long\n - delay: 00:00:10\n - action: light.turn_on\n entity_id: light.water_lights\n data:\n flash: long\n - delay: 00:00:10\n - action: light.turn_on\n entity_id: light.water_lights\n data:\n brightness_pct: 100\n kelvin: 2700", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Kitchen sink water sensor", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_sink_water_sensor", "device_id": null } }, { "name": "Basement drain water sensor", "room": "basement", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.basement_drain_water_sensor", "device_id": null } }, { "name": "Washing machine water sensor", "room": "laundry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.washing_machine_water_sensor", "device_id": null } }, { "name": "Refrigerator water sensor (alternate)", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.refridgerator_water_sensor", "device_id": null } }, { "name": "Water lights", "room": "home", "type": "light", "id": { "entity_id": "light.water_lights", "device_id": null } } ] }, { "id": "Repeat Test Water Sensor - Flash Lights when Water Detected", "automation": "- alias: Repeat Test Water Sensor - Flash Lights when Water Detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.pantry_door\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_sensors\n state: 'off'\n mode: single\n actions:\n - alias: repeat flash until water not detected\n repeat:\n sequence:\n - action: light.turn_on\n entity_id: light.family_room_1\n data:\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.family_room_1\n data:\n flash: long\n - delay: 00:00:10\n until:\n - condition: state\n entity_id: binary_sensor.pantry_door\n state: 'off'", "config": [ { "name": "Household group", "room": null, "type": "group", "id": { "entity_id": "group.household", "device_id": null } }, { "name": "Disable water sensors switch", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.disable_water_sensors", "device_id": null } }, { "name": "Family room light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room", "device_id": null } }, { "name": "Pantry door sensor", "room": "pantry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.pantry_door", "device_id": null } }, { "name": "Family room 1 light", "room": "family_room", "type": "light", "id": { "entity_id": "light.family_room_1", "device_id": null } } ] }, { "id": "Lift Station Activations Counter", "automation": "- alias: Lift Station Activations Counter\n triggers:\n - trigger: state\n entity_id: sensor.lift_station_status\n to: running\n action:\n - action: counter.increment\n entity_id: counter.lift_station_activations_counter\n - action: counter.increment\n entity_id: counter.lift_station_activations_counter_current_day\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Lift Station Running - {{states.counter.lift_station_activations_counter_current_day.state}}", "config": [ { "name": "Lift station status sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.lift_station_status", "device_id": null } }, { "name": "Lift station activations counter", "room": "basement", "type": "counter", "id": { "entity_id": "counter.lift_station_activations_counter", "device_id": null } }, { "name": "Lift station activations counter current day", "room": "basement", "type": "counter", "id": { "entity_id": "counter.lift_station_activations_counter_current_day", "device_id": null } } ] }, { "id": "Lift Station Activations Counter - Daily", "automation": "- alias: Lift Station Activations Counter - Daily\n triggers:\n - trigger: time\n at: '23:59:00'\n actions:\n - action: counter.set_value\n data_template:\n entity_id: counter.lift_station_activations_counter_last_day\n value: '{{ states.counter.lift_station_activations_counter_current_day.state\n | int }}'\n - action: counter.reset\n entity_id: counter.lift_station_activations_counter_current_day", "config": [ { "name": "Lift station activations counter", "room": "basement", "type": "counter", "id": { "entity_id": "counter.lift_station_activations_counter", "device_id": null } }, { "name": "Lift station activations counter current day", "room": "basement", "type": "counter", "id": { "entity_id": "counter.lift_station_activations_counter_current_day", "device_id": null } }, { "name": "Lift station activations counter last day", "room": "basement", "type": "counter", "id": { "entity_id": "counter.lift_station_activations_counter_last_day", "device_id": null } } ] }, { "id": "Lift Station Check System", "automation": "- alias: Lift Station Check System\n triggers:\n - trigger: state\n entity_id: sensor.lift_station_status\n to: check system\n for:\n hours: 0\n minutes: 3\n seconds: 0\n action:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: Lift Station Error - Check Status - {{states.sensor.esp_energy_ct1_lift_station_watts.state}}", "config": [ { "name": "Lift station status sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.lift_station_status", "device_id": null } }, { "name": "ESP energy CT1 lift station watts sensor", "room": "basement", "type": "sensor", "id": { "entity_id": "sensor.esp_energy_ct1_lift_station_watts", "device_id": null } } ] }, { "id": "Weather - Winter Weather Warning", "automation": "- alias: Weather - Winter Weather Warning\n triggers:\n - trigger: state\n entity_id: sensor.nws_winter_storm_warning\n from: '0'\n to: '1'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: NWS -- {{ states.sensor.nws_warnings.attributes.winter_storm_warning_headline\n }}", "config": [ { "name": "NWS winter storm warning sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.nws_winter_storm_warning", "device_id": null } }, { "name": "NWS warnings sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.nws_warnings", "device_id": null } } ] }, { "id": "Weather - Tornado Warning", "automation": "- alias: Weather - Tornado Warning\n triggers:\n - trigger: state\n entity_id: sensor.nws_tornado_warning\n from: '0'\n to: '1'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n title: Tornado Warning\n message: NWS -- {{ states.sensor.nws_warnings.attributes.tornado_warning_headline\n }}\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n - action: notify.mobile_app_USER2_iphone\n data:\n title: Tornado Warning\n message: NWS -- {{ states.sensor.nws_warnings.attributes.tornado_warning_headline\n }}\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0", "config": [ { "name": "NWS warnings sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.nws_warnings", "device_id": null } }, { "name": "NWS tornado warning sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.nws_tornado_warning", "device_id": null } } ] }, { "id": "Weather - Tornado Watch", "automation": "- alias: Weather - Tornado Watch\n triggers:\n - trigger: state\n entity_id: sensor.nws_tornado_watch\n from: '0'\n to: '1'\n actions:\n - action: notify.mobile_app_USER1_iphone\n data:\n message: NWS -- {{ states.sensor.nws_warnings.attributes.tornado_watch_headline\n }}", "config": [ { "name": "NWS warnings sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.nws_warnings", "device_id": null } }, { "name": "NWS tornado watch sensor", "room": "outdoor", "type": "sensor", "id": { "entity_id": "sensor.nws_tornado_watch", "device_id": null } } ] } ]