5597 lines
240 KiB
JSON
5597 lines
240 KiB
JSON
[
|
|
{
|
|
"id": "'1601034054491'",
|
|
"automation": "- id: '1601034054491'\n alias: 'alarm: trigger when external door opened whilst armed'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.back_door_contact\n - binary_sensor.front_door_contact\n - binary_sensor.shed_door_contact\n - binary_sensor.shed_motion_occupancy\n to: 'on'\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_away\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_night\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_custom_bypass\n action:\n - service: alarm_control_panel.alarm_trigger\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "back door contact sensor",
|
|
"room": "back",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door contact sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed door contact sensor",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed motion occupancy sensor",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601034054492'",
|
|
"automation": "- id: '1601034054492'\n alias: 'alarm: trigger when motion detected whilst armed_away'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.living_room_motion_occupancy\n - binary_sensor.hallway_motion_occupancy\n - binary_sensor.study_motion_occupancy\n - binary_sensor.kitchen_motion_occupancy\n - binary_sensor.laundry_motion_occupancy\n - binary_sensor.spare_room_motion_occupancy\n - binary_sensor.bedroom_motion_occupancy\n to: 'on'\n condition:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_away\n action:\n - service: alarm_control_panel.alarm_trigger\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion occupancy sensor",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.living_room_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway motion occupancy sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study motion occupancy sensor",
|
|
"room": "study",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.study_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion occupancy sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry motion occupancy sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.laundry_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "spare room motion occupancy sensor",
|
|
"room": "spare_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.spare_room_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion occupancy sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bedroom_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'160103405444873'",
|
|
"automation": "- id: '160103405444873'\n alias: 'alarm: trigger when motion detected whilst armed_custom_bypass'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.study_motion_occupancy\n - binary_sensor.spare_room_motion_occupancy\n to: 'on'\n condition:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_custom_bypass\n action:\n - service: alarm_control_panel.alarm_trigger\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study motion occupancy sensor",
|
|
"room": "study",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.study_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "spare room motion occupancy sensor",
|
|
"room": "spare_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.spare_room_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'83294732987'",
|
|
"automation": "- id: '83294732987'\n alias: 'alarm: save state before trigger'\n description: ''\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - alarm_control_panel.ha_alarm\n from:\n - armed_night\n - armed_away\n - armed_custom_bypass\n to: pending\n conditions: []\n actions:\n - action: input_select.select_option\n metadata: {}\n data:\n option: '{{ trigger.from_state.state }}'\n target:\n entity_id: input_select.alarm_state_before_trigger",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm state before trigger input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.alarm_state_before_trigger",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601034697138'",
|
|
"automation": "- id: '1601034697138'\n alias: 'alarm: send notification when triggered'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: triggered\n conditions: []\n action:\n - service: notify.everyone\n data:\n title: Alarm Triggered\n message: The alarm was triggered at {{ now().strftime('%I:%M %p') }}{% if states('sensor.recently_triggered_sensors')\n %} by {{ states('sensor.recently_triggered_sensors') }}{% endif %}\n data:\n group: alarm-status\n url: /lovelace/security\n entity_id: camera.front_yard_high\n actions:\n - action: DISARM_ALARM\n title: Disarm\n authenticationRequired: true\n destructive: true\n push:\n sound:\n name: default\n critical: 1\n volume: '{%- if is_state(''input_select.alarm_state_before_trigger'',\n ''armed_night'') -%} 0.5 {%- else -%} 0 {%- endif -%}'\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm state before trigger input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.alarm_state_before_trigger",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "recently triggered sensors sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.recently_triggered_sensors",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front yard high camera",
|
|
"room": "front",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.front_yard_high",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035010807'",
|
|
"automation": "- id: '1601035010807'\n alias: 'alarm: send notification on disarm if triggered or pending'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: disarmed\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: pending\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: triggered\n action:\n - service: notify.everyone\n data:\n title: Alarm Disarmed\n message: The alarm was disarmed at {{ now().strftime('%I:%M %p') }}\n data:\n group: alarm-status\n tag: alarm-status\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035037271'",
|
|
"automation": "- id: '1601035037271'\n alias: 'alarm: send notification when pending'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: pending\n condition: []\n action:\n - service: notify.everyone\n data:\n title: Alarm Pending\n message: The alarm was pending at {{ now().strftime('%I:%M %p') }}{% if states('sensor.recently_triggered_sensors')\n %} by {{ states('sensor.recently_triggered_sensors') }}{% endif %}\n data:\n url: /lovelace/security\n entity_id: camera.front_yard_high\n group: alarm-status\n tag: alarm-status\n actions:\n - action: DISARM_ALARM\n title: Disarm\n authenticationRequired: true\n destructive: true\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "recently triggered sensors sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.recently_triggered_sensors",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front yard high camera",
|
|
"room": "front",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.front_yard_high",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035065291'",
|
|
"automation": "- id: '1601035065291'\n alias: 'alarm: send notification when armed'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to:\n - armed_away\n - armed_night\n - armed_custom_bypass\n condition: []\n action:\n - service: notify.everyone\n data:\n title: Alarm Armed\n message: '{% set state = trigger.to_state.state %} {% set state_names = {''armed_away'':\n ''armed for Away'', ''armed_night'': ''armed for Night'', ''armed_custom_bypass'':\n ''armed for Doors and Shed''} %} The alarm was {{ state_names[state] }} at\n {{ now().strftime(''%I:%M %p'') }}\n\n '\n data:\n group: alarm-status\n tag: alarm-status\n actions:\n - action: DISARM_ALARM\n title: Disarm\n authenticationRequired: true\n destructive: true\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035419737'",
|
|
"automation": "- id: '1601035419737'\n alias: 'alarm: disarm when everyone arrives home and armed/triggered/pending'\n description: ''\n trigger:\n - platform: state\n entity_id: group.all_people\n to: home\n condition:\n - condition: not\n conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_night\n action:\n - service: alarm_control_panel.alarm_disarm\n data:\n code: secret alarm_code\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035712824'",
|
|
"automation": "- id: '1601035712824'\n alias: 'alarm: arm_away when everyone leaves home and disarmed'\n description: ''\n trigger:\n - platform: state\n entity_id: group.all_people\n to: not_home\n condition:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: disarmed\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: binary_sensor.internal_motion_expected\n state: 'on'\n then:\n - action: alarm_control_panel.alarm_arm_custom_bypass\n data: {}\n entity_id: alarm_control_panel.ha_alarm\n else:\n - action: alarm_control_panel.alarm_arm_away\n data: {}\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion expected binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_expected",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601036735034'",
|
|
"automation": "- id: '1601036735034'\n alias: 'alarm: disarm when mobile app disarm action fired'\n description: ''\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: DISARM_ALARM\n condition: []\n action:\n - service: alarm_control_panel.alarm_disarm\n data:\n code: secret alarm_code\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601103558889'",
|
|
"automation": "- id: '1601103558889'\n alias: 'alarm: arm_night when no motion/activity detected'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.living_room_motion_occupancy\n - binary_sensor.hallway_motion_occupancy\n - binary_sensor.study_motion_occupancy\n - binary_sensor.laundry_motion_occupancy\n - binary_sensor.front_door_contact\n - binary_sensor.back_door_contact\n to:\n - 'on'\n - 'off'\n condition:\n - condition: time\n after: '22:30:00'\n before: 06:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'off'\n action:\n - delay: 00:15:00\n - condition: and\n conditions:\n - condition: state\n entity_id: binary_sensor.living_room_motion_occupancy\n state: 'off'\n - condition: state\n entity_id: binary_sensor.hallway_motion_occupancy\n state: 'off'\n - condition: state\n entity_id: binary_sensor.study_motion_occupancy\n state: 'off'\n - condition: state\n entity_id: binary_sensor.laundry_motion_occupancy\n state: 'off'\n - condition: time\n after: '22:30:00'\n before: 06:00:00\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: disarmed\n - service: alarm_control_panel.alarm_arm_night\n entity_id: alarm_control_panel.ha_alarm\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "back door contact sensor",
|
|
"room": "back",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door contact sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion occupancy sensor",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.living_room_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway motion occupancy sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study motion occupancy sensor",
|
|
"room": "study",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.study_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry motion occupancy sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.laundry_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601101160650'",
|
|
"automation": "- id: '1601101160650'\n alias: 'alarm: disarm night at 7am or when internal motion detected'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.hallway_motion_occupancy\n to: 'on'\n - platform: time\n at: 07:00:00\n condition:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: armed_night\n action:\n - service: alarm_control_panel.alarm_disarm\n data:\n code: secret alarm_code\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway motion occupancy sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601104910978'",
|
|
"automation": "- id: '1601104910978'\n alias: 'alarm: play sound on pending/triggered (armed_away)'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: pending\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: triggered\n condition:\n - condition: state\n entity_id: input_select.alarm_state_before_trigger\n state: armed_away\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: pending\n sequence:\n - service: script.set_siren\n data:\n siren_entity: switch.study_siren_alarm\n melody_entity: select.study_siren_melody\n melody: '8'\n volume_entity: select.study_siren_volume\n volume: medium\n duration_entity: number.study_siren_duration\n duration: 1800\n - conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: triggered\n sequence:\n - service: script.set_siren\n data:\n siren_entity: switch.study_siren_alarm\n melody_entity: select.study_siren_melody\n melody: '6'\n volume_entity: select.study_siren_volume\n volume: high\n duration_entity: number.study_siren_duration\n duration: 1800\n default: []\n - delay: 00:00:02\n - wait_template: '{{ states(''alarm_control_panel.ha_alarm'') not in (''pending'',\n ''triggered'') }}'\n continue_on_timeout: false\n - service: switch.turn_off\n target:\n entity_id: switch.study_siren_alarm\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm state before trigger input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.alarm_state_before_trigger",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren alarm switch",
|
|
"room": "study",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.study_siren_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren melody select",
|
|
"room": "study",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.study_siren_melody",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren volume select",
|
|
"room": "study",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.study_siren_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren duration number",
|
|
"room": "study",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.study_siren_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Set Siren",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.set_siren",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'16011049109782'",
|
|
"automation": "- id: '16011049109782'\n alias: 'alarm: play sound on pending/triggered (armed_night)'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: pending\n - platform: state\n entity_id: alarm_control_panel.ha_alarm\n to: triggered\n condition:\n - condition: state\n entity_id: input_select.alarm_state_before_trigger\n state: armed_night\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: pending\n sequence:\n - service: script.set_siren\n data:\n siren_entity: switch.study_siren_alarm\n melody_entity: select.study_siren_melody\n melody: '8'\n volume_entity: select.study_siren_volume\n volume: medium\n duration_entity: number.study_siren_duration\n duration: 1800\n - conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state: triggered\n sequence:\n - service: script.set_siren\n data:\n siren_entity: switch.study_siren_alarm\n melody_entity: select.study_siren_melody\n melody: '6'\n volume_entity: select.study_siren_volume\n volume: high\n duration_entity: number.study_siren_duration\n duration: 1800\n default: []\n - delay: 00:00:02\n - wait_template: '{{ states(''alarm_control_panel.ha_alarm'') not in (''pending'',\n ''triggered'') }}'\n continue_on_timeout: false\n - service: switch.turn_off\n target:\n entity_id: switch.study_siren_alarm\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm state before trigger input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.alarm_state_before_trigger",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren alarm switch",
|
|
"room": "study",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.study_siren_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren melody select",
|
|
"room": "study",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.study_siren_melody",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren volume select",
|
|
"room": "study",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.study_siren_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study siren duration number",
|
|
"room": "study",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.study_siren_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Set Siren",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.set_siren",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753839651513'",
|
|
"automation": "- id: '1753839651513'\n alias: 'alarm: rearm with custom bypass when internal motion expected'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.internal_motion_expected\n to: 'on'\n conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state:\n - pending\n - triggered\n - armed_away\n actions:\n - action: alarm_control_panel.alarm_arm_custom_bypass\n metadata: {}\n data: {}\n target:\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion expected binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_expected",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753839651577'",
|
|
"automation": "- id: '1753839651577'\n alias: 'alarm: rearm with armed_away when internal motion not expected'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.internal_motion_expected\n to: 'off'\n conditions:\n - condition: state\n entity_id: alarm_control_panel.ha_alarm\n state:\n - pending\n - triggered\n - armed_custom_bypass\n actions:\n - action: alarm_control_panel.alarm_arm_away\n metadata: {}\n data: {}\n target:\n entity_id: alarm_control_panel.ha_alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion expected binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_expected",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'2398473894732472362'",
|
|
"automation": "- alias: 'dog_door: allow pets to leave in morning'\n id: '2398473894732472362'\n mode: single\n trigger:\n - platform: time\n at: 07:00:00\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - service: lock.unlock\n data: {}\n target:\n entity_id: lock.backyard_locked_in",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "backyard locked in lock",
|
|
"room": "backyard",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.backyard_locked_in",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753871589158'",
|
|
"automation": "- id: '1753871589158'\n alias: vacuum 4 way button switch\n description: ''\n use_blueprint:\n path: rdeangel/zigbee2mqtt-tuya-4-button-switch-mqtt-device-trigger_rdeangel.yaml\n input:\n zigbee_device: 27af488873a369503ad82cc03d2dd6c5\n button_one_short_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_6\n button_one_double_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_8\n button_one_long_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_7\n button_two_short_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id:\n - button.x40_ultra_shortcut_3\n button_two_long_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id:\n - button.x40_ultra_shortcut_3\n button_three_short_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_1\n button_three_long_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_4\n button_four_short_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_2\n button_four_long_press:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_5",
|
|
"config": [
|
|
{
|
|
"name": "zigbee 4 button switch device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "27af488873a369503ad82cc03d2dd6c5"
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 6",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_6",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 8",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_8",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 7",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_7",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 3",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_3",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 1",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 4",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_4",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 2",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 5",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_5",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1754297735451'",
|
|
"automation": "- id: '1754297735451'\n alias: 'backyard: turn on fountain on person detected'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.shed_fp2_presence_sensor_deck\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: binary_sensor.back_yard_person_detected_last_hour\n state: 'on'\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: sun\n after: sunrise\n - condition: time\n before: '21:00:00'\n - condition: state\n entity_id: switch.front_garden_fountain\n state: 'off'\n actions:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.front_garden_fountain\n - wait_for_trigger:\n - trigger: state\n entity_id:\n - binary_sensor.back_yard_person_detected\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n timeout:\n hours: 2\n minutes: 0\n seconds: 0\n milliseconds: 0\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.front_garden_fountain\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed fp2 presence sensor deck",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_fp2_presence_sensor_deck",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard person detected last hour binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected_last_hour",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front garden fountain switch",
|
|
"room": "front",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.front_garden_fountain",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard person detected binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1754298218488'",
|
|
"automation": "- id: '1754298218488'\n alias: 'backyard: turn on ambiance on door open'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.back_door_contact\n to: 'on'\n conditions:\n - condition: numeric_state\n entity_id: sensor.ecowitt_hub_solar_lux\n below: 500\n - condition: time\n before: '23:59:00'\n - condition: state\n entity_id: light.back_yard_ambiance\n state: 'off'\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.back_yard_ambiance\n - wait_for_trigger:\n - trigger: state\n entity_id:\n - binary_sensor.back_yard_person_detected\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n - trigger: state\n entity_id:\n - light.back_yard_ambiance\n to: 'off'\n timeout:\n hours: 1\n minutes: 0\n seconds: 0\n milliseconds: 0\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.back_yard_ambiance\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "back door contact sensor",
|
|
"room": "back",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard person detected binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ecowitt hub solar lux sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ecowitt_hub_solar_lux",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard ambiance light",
|
|
"room": "backyard",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.back_yard_ambiance",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1754298435531'",
|
|
"automation": "- id: '1754298435531'\n alias: 'backyard: turn on ambiance on person detection'\n description: ''\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.ecowitt_hub_solar_lux\n for:\n hours: 0\n minutes: 5\n seconds: 0\n below: 500\n - trigger: state\n entity_id:\n - binary_sensor.back_yard_person_detected\n to: 'on'\n conditions:\n - condition: time\n before: '23:59:00'\n - condition: numeric_state\n entity_id: sensor.ecowitt_hub_solar_lux\n below: 500\n - condition: state\n entity_id: binary_sensor.back_yard_person_detected_last_hour\n state: 'on'\n - condition: state\n entity_id: light.back_yard_ambiance\n state: 'off'\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.back_yard_ambiance\n - wait_for_trigger:\n - trigger: state\n entity_id:\n - binary_sensor.back_yard_person_detected\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n - trigger: state\n entity_id:\n - light.back_yard_ambiance\n to: 'off'\n timeout:\n hours: 1\n minutes: 0\n seconds: 0\n milliseconds: 0\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.back_yard_ambiance\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "back yard person detected last hour binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected_last_hour",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard person detected binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ecowitt hub solar lux sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ecowitt_hub_solar_lux",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard ambiance light",
|
|
"room": "backyard",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.back_yard_ambiance",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1754299925764'",
|
|
"automation": "- id: '1754299925764'\n alias: 'front door: lock front door after 15m unlock timeout with door closed'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.front_door_contact\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n - trigger: state\n entity_id:\n - lock.front_door\n to: unlocked\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: lock.front_door\n state: unlocked\n - condition: state\n entity_id: binary_sensor.front_door_contact\n state: 'off'\n actions:\n - action: lock.lock\n metadata: {}\n data: {}\n target:\n entity_id: lock.front_door\n - action: notify.mobile_app_nicks_iphone\n metadata: {}\n data:\n title: Front Door\n message: Front door was locked after timeout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door contact sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door lock",
|
|
"room": "front",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.front_door",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1592101534049328'",
|
|
"automation": "- id: '1592101534049328'\n alias: 'laundry: broadcast on dryer completed'\n description: ''\n mode: single\n trigger:\n - entity_id: binary_sensor.dryer\n from: 'on'\n platform: state\n to: 'off'\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: binary_sensor.in_bed\n state: 'off'\n action:\n - repeat:\n count: 3\n sequence:\n - service: media_player.turn_on\n data: {}\n target:\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n - service: media_player.volume_set\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n data:\n volume_level: 0.5\n - service: tts.google_translate_say\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n data:\n message: The dryer has finished!\n - delay: 00:25:00",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dryer binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.dryer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "in bed binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.in_bed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room homepod media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_homepod",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom homepod media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.bedroom_homepod",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1592102651795'",
|
|
"automation": "- id: '1592102651795'\n alias: 'laundry: broadcast on washing machine completed whilst away when arriving\n home'\n description: ''\n trigger:\n - entity_id: binary_sensor.washing_machine\n from: 'on'\n platform: state\n to: 'off'\n condition:\n - condition: state\n entity_id: group.all_people\n state: not_home\n action:\n - wait_template: '{{ is_state(\"group.all_people\", \"home\") }}'\n timeout: '24:00:00'\n - delay: 00:05:00\n - service: media_player.turn_on\n data: {}\n target:\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n - service: media_player.volume_set\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n data:\n volume_level: 0.5\n - service: tts.google_translate_say\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n data:\n message: The washing machine finished whilst away",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room homepod media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_homepod",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom homepod media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.bedroom_homepod",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "washing machine binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.washing_machine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1592101514693'",
|
|
"automation": "- id: '1592101514693'\n alias: 'laundry: broadcast on washing machine completed'\n description: ''\n mode: single\n trigger:\n - entity_id: binary_sensor.washing_machine\n from: 'on'\n platform: state\n to: 'off'\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: binary_sensor.in_bed\n state: 'off'\n action:\n - repeat:\n count: 3\n sequence:\n - service: media_player.turn_on\n data: {}\n target:\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n - service: media_player.volume_set\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n data:\n volume_level: 0.5\n - service: tts.google_translate_say\n entity_id:\n - media_player.living_room_homepod\n - media_player.bedroom_homepod\n data:\n message: The washing machine has finished!\n - delay: 00:25:00",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "in bed binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.in_bed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room homepod media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_homepod",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom homepod media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.bedroom_homepod",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "washing machine binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.washing_machine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1592101534043894789'",
|
|
"automation": "- id: '1592101534043894789'\n alias: 'laundry: cancel broadcasts'\n description: ''\n mode: single\n trigger:\n - platform: state\n entity_id: group.all_people\n to: not_home\n - platform: state\n entity_id: binary_sensor.in_bed\n to: 'on'\n - platform: state\n entity_id: binary_sensor.laundry_motion_occupancy\n to: 'on'\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: automation.laundry_broadcast_on_dryer_completed\n state: 'on'\n sequence:\n - service: automation.turn_off\n target:\n entity_id: automation.laundry_broadcast_on_dryer_completed\n - service: automation.turn_on\n target:\n entity_id: automation.laundry_broadcast_on_dryer_completed\n - choose:\n - conditions:\n - condition: state\n entity_id: automation.when_washing_machine_completed_broadcast\n state: 'on'\n sequence:\n - service: automation.turn_off\n target:\n entity_id: automation.when_washing_machine_completed_broadcast\n - service: automation.turn_on\n target:\n entity_id: automation.when_washing_machine_completed_broadcast",
|
|
"config": [
|
|
{
|
|
"name": "laundry motion occupancy sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.laundry_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "in bed binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.in_bed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry broadcast on dryer completed automation",
|
|
"room": "laundry",
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.laundry_broadcast_on_dryer_completed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "when washing machine completed broadcast automation",
|
|
"room": null,
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.when_washing_machine_completed_broadcast",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1585648623740'",
|
|
"automation": "- id: '1585648623740'\n alias: 'every hour, call the check-in URL '\n description: ''\n trigger:\n - hours: '*'\n minutes: '0'\n platform: time_pattern\n seconds: '0'\n condition: []\n action:\n - data: {}\n service: rest_command.check_in",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1680575754656'",
|
|
"automation": "- id: '1680575754656'\n alias: 'osmo: clean bedrooms on weekday afternoons'\n description: ''\n trigger:\n - platform: time\n at: '17:15:00'\n condition:\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.crystal\n state: cleaning\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n action:\n - choose:\n - conditions:\n - condition: time\n weekday:\n - wed\n sequence:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_4\n default:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_1\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "x40 ultra shortcut button 1",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 4",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_4",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum crystal",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.crystal",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1680575875557'",
|
|
"automation": "- id: '1680575875557'\n alias: 'osmo: clean living areas before bed'\n description: ''\n trigger:\n - platform: time\n at: '22:15:00'\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.crystal\n state: cleaning\n - condition: or\n conditions:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n - condition: state\n entity_id: binary_sensor.some_lights_on\n state: 'on'\n action:\n - if:\n - condition: state\n entity_id: binary_sensor.lounge_occupancy_presence\n state: 'on'\n then:\n - wait_for_trigger:\n - platform: state\n entity_id:\n - binary_sensor.lounge_occupancy_presence\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n continue_on_timeout: false\n timeout:\n hours: 1\n minutes: 0\n seconds: 0\n milliseconds: 0\n - choose:\n - conditions:\n - condition: time\n weekday:\n - sun\n - wed\n sequence:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_5\n default:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.x40_ultra_shortcut_2\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "some lights on binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.some_lights_on",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 2",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 5",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_5",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum crystal",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.crystal",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lounge occupancy presence binary sensor",
|
|
"room": "lounge",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.lounge_occupancy_presence",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'presence: clear alarm notifications when someone arrives home'",
|
|
"automation": "- alias: 'presence: clear alarm notifications when someone arrives home'\n description: ''\n mode: single\n trigger:\n - platform: state\n entity_id: group.all_people\n from: not_home\n to: home\n condition: []\n action:\n - delay: 00:05:00\n - service: notify.everyone\n data:\n message: clear_notification\n data:\n tag: alarm-status",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'laundry: clear notifications every night'",
|
|
"automation": "- alias: 'laundry: clear notifications every night'\n description: ''\n mode: single\n trigger:\n - platform: time\n at: 03:00:00\n condition: []\n action:\n - service: notify.everyone\n data:\n message: clear_notification\n data:\n tag: washing-complete\n - service: notify.everyone\n data:\n message: clear_notification\n data:\n tag: dryer-complete",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "2F37F54A-B672-4C73-AC1F-83BB42BA7DBC",
|
|
"automation": "- id: 2F37F54A-B672-4C73-AC1F-83BB42BA7DBC\n alias: 'robot_vacuum: clear presence notifications when someone arrives home'\n description: ''\n mode: single\n trigger:\n - platform: state\n entity_id: group.all_people\n from: not_home\n to: home\n condition: []\n action:\n - service: notify.everyone\n data:\n message: clear_notification\n data:\n tag: robovac-no-one-home",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'16063042895494897'",
|
|
"automation": "- id: '16063042895494897'\n alias: 'blinds: close all blinds at sunset'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.ecowitt_hub_solar_lux\n below: 500\n for: 00:05:00\n - platform: sun\n event: sunset\n offset: 01:00:00\n condition:\n - condition: template\n value_template: '{{ state_attr(''automation.blinds_close_all_blinds_at_sunset'',\n ''last_triggered'') == None or state_attr(''automation.blinds_close_all_blinds_at_sunset'',\n ''last_triggered'') < now().replace(hour=3, minute=0, second=0) }}'\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n - condition: sun\n before: sunset\n before_offset: 01:30:00\n action:\n - service: cover.close_cover\n data: {}\n entity_id:\n - cover.living_side_blockout\n - cover.living_left_blockout\n - cover.living_right_screen\n - cover.living_right_blockout\n - cover.bedroom_blockout\n - cover.bedroom_screen\n - cover.study_blockout\n - cover.kitchen_blockout\n - cover.kitchen_screen\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "ecowitt hub solar lux sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ecowitt_hub_solar_lux",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living side blockout cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_side_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living left blockout cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_left_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living right screen cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_right_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living right blockout cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_right_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom blockout cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom screen cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study blockout cover",
|
|
"room": "study",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.study_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen blockout cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen screen cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_screen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1720421869518'",
|
|
"automation": "- id: '1720421869518'\n alias: 'study: close blockout when indoor brighter than outdoor'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.study_shelves_illuminance_illuminance\n for:\n hours: 0\n minutes: 0\n seconds: 15\n above: 35\n - platform: numeric_state\n entity_id:\n - sensor.ecowitt_hub_solar_lux\n for:\n hours: 0\n minutes: 0\n seconds: 30\n below: 1000\n condition:\n - condition: numeric_state\n entity_id: sensor.study_shelves_illuminance_illuminance\n above: 35\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.ecowitt_hub_solar_lux\n below: 1000\n - condition: and\n conditions:\n - condition: state\n entity_id: sensor.ecowitt_hub_solar_lux\n state:\n - unavailable\n - unknown\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n action:\n - action: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.study_blockout\n - delay:\n hours: 1\n minutes: 0\n seconds: 0\n milliseconds: 0\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "ecowitt hub solar lux sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ecowitt_hub_solar_lux",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study blockout cover",
|
|
"room": "study",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.study_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study shelves illuminance sensor",
|
|
"room": "study",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.study_shelves_illuminance_illuminance",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1647313038555'",
|
|
"automation": "- id: '1647313038555'\n alias: 'study: Set blind position with up down button'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.study_screen_blind_button_action\n to:\n - 'off'\n - brightness_move_down\n id: move_down\n - platform: state\n entity_id: sensor.study_screen_blind_button_action\n to:\n - 'on'\n - brightness_move_up\n id: move_up\n - platform: state\n entity_id: sensor.study_screen_blind_button_action\n to: brightness_stop\n id: move_stop\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: move_up\n sequence:\n - service: cover.open_cover\n data: {}\n target:\n entity_id: cover.study_blockout\n - conditions:\n - condition: trigger\n id: move_down\n sequence:\n - service: cover.close_cover\n data: {}\n target:\n entity_id: cover.study_blockout\n default:\n - service: cover.stop_cover\n data: {}\n target:\n entity_id: cover.study_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "study blockout cover",
|
|
"room": "study",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.study_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study screen blind button action sensor",
|
|
"room": "study",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.study_screen_blind_button_action",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1626435326924'",
|
|
"automation": "- id: '1626435326924'\n alias: 'presence: disable away mode when arriving home'\n description: ''\n trigger:\n - platform: state\n entity_id: group.all_people\n from: not_home\n to: home\n condition:\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'on'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.away_mode\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735967523621'",
|
|
"automation": "- id: '1735967523621'\n alias: Dishwasher Status\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.dishwasher_standby\n from: 'on'\n to: 'off'\n id: Dishwasher Off\n - trigger: state\n entity_id:\n - binary_sensor.dishwasher_standby\n from: 'off'\n to: 'on'\n id: Dishwasher Dirty\n - trigger: state\n entity_id:\n - binary_sensor.dishwasher_running\n from: 'off'\n to: 'on'\n id: Dishwasher Running\n - trigger: state\n entity_id:\n - binary_sensor.dishwasher_running\n from: 'on'\n to: 'off'\n id: Dishwasher Clean\n conditions: []\n actions:\n - if:\n - condition: state\n entity_id: light.dishwasher_main\n state: 'on'\n then:\n - action: select.select_option\n metadata: {}\n data:\n option: '{{ trigger.id }}'\n target:\n entity_id: select.dishwasher_preset\n - action: input_select.select_option\n data:\n option: '{{ trigger.id }}'\n target:\n entity_id: input_select.dishwasher_previous_preset_state\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "dishwasher standby binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.dishwasher_standby",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher running binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.dishwasher_running",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher main light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher_main",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher preset select",
|
|
"room": "kitchen",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.dishwasher_preset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher previous preset state input select",
|
|
"room": "kitchen",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.dishwasher_previous_preset_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1742708013692'",
|
|
"automation": "- id: '1742708013692'\n alias: 'dog door: lock on boot + when open for long time'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - lock.backyard_locked_in\n to: unlocked\n for:\n hours: 2\n minutes: 0\n seconds: 0\n - trigger: homeassistant\n event: start\n alias: When Home Assistant is started (e.g. power is restored)\n conditions: []\n actions:\n - delay:\n hours: 0\n minutes: 5\n seconds: 0\n milliseconds: 0\n alias: Wait for dog door to reconnect\n - action: lock.lock\n metadata: {}\n data: {}\n target:\n entity_id: lock.backyard_locked_in\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "backyard locked in lock",
|
|
"room": "backyard",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.backyard_locked_in",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'40589432094583908'",
|
|
"automation": "- id: '40589432094583908'\n alias: 'bedroom: turn off electric blanket after 1 hour'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - switch.electric_blanket\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: notify.everyone\n data:\n title: Electric Blanket\n message: Turning on the electric blanket. It will turn off at {{ (now() + timedelta(hours=1)).strftime('%I:%M%p')}}\n data:\n tag: electric-blanket\n - wait_for_trigger:\n - platform: state\n entity_id:\n - switch.electric_blanket\n from: 'on'\n to: 'off'\n timeout:\n hours: 1\n minutes: 0\n seconds: 0\n milliseconds: 0\n continue_on_timeout: true\n continue_on_error: true\n - if:\n - condition: state\n entity_id: switch.electric_blanket\n state: 'on'\n then:\n - service: switch.turn_off\n data: {}\n target:\n entity_id: switch.electric_blanket\n - service: notify.everyone\n data:\n title: Electric Blanket\n message: The electric blanket was turned off\n data:\n tag: electric-blanket",
|
|
"config": [
|
|
{
|
|
"name": "electric blanket switch",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.electric_blanket",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1747478414303'",
|
|
"automation": "- id: '1747478414303'\n alias: 'robovac: End paused task at 9am.'\n description: ''\n triggers:\n - trigger: time\n at: 09:00:00\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: vacuum.crystal\n state: paused\n - condition: state\n state: idle\n entity_id: vacuum.crystal\n actions:\n - action: vacuum.stop\n metadata: {}\n data: {}\n target:\n entity_id: vacuum.crystal\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "vacuum crystal",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.crystal",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'17359666705612'",
|
|
"automation": "- id: '17359666705612'\n alias: Energy Status Linear\n mode: restart\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.inverter_meter_power\n conditions:\n - condition: state\n entity_id: light.dishwasher\n state: 'on'\n actions:\n - action: rest_command.wled_set_colors\n data:\n wled_host: 192.168.2.138\n segment: 0\n brightness: 255\n speed: \"{% set v = states('sensor.inverter_meter_power')|float %} {% set steps\\\n \\ = 5 %} {% set min_speed = 64 %} {% set max_speed = 148 %} {% set range =\\\n \\ 2000 %} {# how much above/below the bounds you want to scale #}\\n{% if\\\n \\ v < -3000 %}\\n {% set scale = ((-v - 3000) / range) %}\\n {% set val =\\\n \\ ([scale * steps, steps - 1] | min) | int %}\\n {{ min_speed + val * ((max_speed\\\n \\ - min_speed) / (steps - 1)) | round }}\\n{% elif v > 2000 %}\\n {% set scale\\\n \\ = ((v - 2000) / range) %}\\n {% set val = ([scale * steps, steps - 1] |\\\n \\ min) | int %}\\n {{ min_speed + val * ((max_speed - min_speed) / (steps\\\n \\ - 1)) | round }}\\n{% else %}\\n {{ min_speed }}\\n{% endif %}\"\n intensity: 128\n effect: 28\n color1: \"{% set v = states('sensor.inverter_meter_power')|float %} {% if v <\\\n \\ -3000 %}\\n 00bb2c\\n{% elif v < -500 %}\\n 00a2bb\\n{% elif v < 0 %}\\n a8a5a5\\n\\\n {% elif v < 500 %}\\n 9da3a5\\n{% elif v < 2000 %}\\n c17a00\\n{% else %}\\n\\\n \\ c11000\\n{% endif %}\"\n color2: \"{% set v = states('sensor.inverter_meter_power')|float %} {% if v <\\\n \\ -3000 %}\\n 00731a\\n{% elif v < -500 %}\\n 005e6b\\n{% elif v < 0 %}\\n 5b5a5a\\n\\\n {% elif v < 500 %}\\n 525657\\n{% elif v < 2000 %}\\n 704400\\n{% else %}\\n\\\n \\ 6e0900\\n{% endif %}\"\n color3: '000000'\n reverse: '{% set v = states(''sensor.inverter_meter_power'')|float %} {% if\n v > 0 %} 0 {% else %} 1 {% endif %}'",
|
|
"config": [
|
|
{
|
|
"name": "inverter meter power sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.inverter_meter_power",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719053789067'",
|
|
"automation": "- id: '1719053789067'\n alias: 'gas: increment counter on impulse'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.gas_impulse_contact\n from: 'on'\n to: 'off'\n condition: []\n action:\n - service: counter.increment\n metadata: {}\n data: {}\n target:\n entity_id: counter.gas_impulse\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "gas impulse contact binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.gas_impulse_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "gas impulse counter",
|
|
"room": null,
|
|
"type": "counter",
|
|
"id": {
|
|
"entity_id": "counter.gas_impulse",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611648224640'",
|
|
"automation": "- id: '1611648224640'\n alias: 'energy: set utility meter tariff'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.energy_tariff\n - platform: homeassistant\n event: start\n condition: []\n action:\n - service: select.select_option\n data:\n tariff: '{{ states(''sensor.energy_tariff'') }}'\n entity_id:\n - utility_meter.daily_energy\n - utility_meter.weekly_energy\n - utility_meter.quarterly_energy\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "energy tariff sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.energy_tariff",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "daily energy utility meter",
|
|
"room": null,
|
|
"type": "utility_meter",
|
|
"id": {
|
|
"entity_id": "utility_meter.daily_energy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weekly energy utility meter",
|
|
"room": null,
|
|
"type": "utility_meter",
|
|
"id": {
|
|
"entity_id": "utility_meter.weekly_energy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "quarterly energy utility meter",
|
|
"room": null,
|
|
"type": "utility_meter",
|
|
"id": {
|
|
"entity_id": "utility_meter.quarterly_energy",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1720332159033'",
|
|
"automation": "- id: '1720332159033'\n alias: 'water: increment counter on impulse'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.water_impulse_contact\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: counter.increment\n metadata: {}\n data: {}\n target:\n entity_id: counter.water_impulse\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "water impulse contact binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.water_impulse_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "water impulse counter",
|
|
"room": null,
|
|
"type": "counter",
|
|
"id": {
|
|
"entity_id": "counter.water_impulse",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1722076188774'",
|
|
"automation": "- id: '1722076188774'\n alias: 'bathroom: fan timer after shower'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - switch.bathroom_fan\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n condition:\n - condition: numeric_state\n entity_id: sensor.bathroom_climate_humidity\n above: 90\n action:\n - wait_for_trigger:\n - platform: state\n entity_id:\n - switch.bathroom_fan\n from: 'on'\n to: 'off'\n - platform: numeric_state\n entity_id:\n - sensor.bathroom_climate_humidity\n below: 80\n timeout:\n hours: 0\n minutes: 30\n seconds: 0\n milliseconds: 0\n continue_on_timeout: true\n - service: fan.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: fan.bathroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom fan switch",
|
|
"room": "bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.bathroom_fan",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom climate humidity sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bathroom_climate_humidity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom fan",
|
|
"room": "bathroom",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.bathroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "frontend_set_default_theme",
|
|
"automation": "- id: frontend_set_default_theme\n alias: at startup, set the default theme\n trigger:\n platform: homeassistant\n event: start\n action:\n service: frontend.set_theme\n data:\n name: Google Theme",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1750157723171'",
|
|
"automation": "- id: '1750157723171'\n alias: 'hallway ac: timer 1'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.hallway_ac_timer_1\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.hallway_ac_timer_1\n to: 'off'\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - action: scene.create\n metadata: {}\n data:\n scene_id: hallway_ac_before_state\n snapshot_entities:\n - climate.hallway\n - action: scene.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: scene.hallway_ac_timer_1_preset\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: scene.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: scene.hallway_ac_before_state\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hallway ac timer 1 binary sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_ac_timer_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway climate",
|
|
"room": "hallway",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway ac before state scene",
|
|
"room": "hallway",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.hallway_ac_before_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway ac timer 1 preset scene",
|
|
"room": "hallway",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.hallway_ac_timer_1_preset",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1603453318878'",
|
|
"automation": "- id: '1603453318878'\n alias: 'quiet room: When motion detected, turn on lights'\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.quiet_room\n to: 'on'\n condition:\n - condition: or\n conditions:\n - condition: sun\n after: sunset\n - condition: sun\n before: sunrise\n action:\n - service: switch.turn_on\n data: {}\n entity_id: switch.quiet_room_outer_downlights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "quiet room binary sensor",
|
|
"room": "quiet_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.quiet_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "quiet room outer downlights switch",
|
|
"room": "quiet_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.quiet_room_outer_downlights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580465377'",
|
|
"automation": "- id: '1611580465377'\n alias: 'blinds: open master bedroom at 8am'\n description: ''\n trigger:\n - platform: time\n at: 08:00\n condition: []\n action:\n - service: cover.open_cover\n entity_id:\n - cover.master_front_left\n - cover.master_front_right\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "master front left cover",
|
|
"room": "master_bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.master_front_left",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master front right cover",
|
|
"room": "master_bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.master_front_right",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580492959'",
|
|
"automation": "- id: '1611580492959'\n alias: 'blinds: close master bedroom at 9pm'\n description: ''\n trigger:\n - platform: time\n at: '21:00'\n condition: []\n action:\n - service: cover.close_cover\n entity_id:\n - cover.master_front_left\n - cover.master_front_right\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "master front left cover",
|
|
"room": "master_bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.master_front_left",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master front right cover",
|
|
"room": "master_bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.master_front_right",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580574575'",
|
|
"automation": "- id: '1611580574575'\n alias: 'blinds: open upstairs hall blockout at 7:30am'\n description: ''\n trigger:\n - platform: time\n at: 07:30\n condition: []\n action:\n - service: cover.open_cover\n entity_id: cover.upstairs_hall_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "upstairs hall blockout cover",
|
|
"room": "upstairs_hall",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.upstairs_hall_blockout",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580607667'",
|
|
"automation": "- id: '1611580607667'\n alias: 'blinds: close all living room blinds at 11pm'\n description: ''\n trigger:\n - platform: time\n at: '23:00'\n condition: []\n action:\n - service: cover.close_cover\n entity_id:\n - cover.kitchen_front\n - cover.kitchen_back\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen front cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen back cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_back",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580737523'",
|
|
"automation": "- id: '1611580737523'\n alias: 'blinds: partially close all living room blinds at 8:30pm'\n description: ''\n trigger:\n - platform: time\n at: '20:30'\n condition: []\n action:\n - service: cover.close_cover\n entity_id:\n - cover.kitchen_front_4_right\n - cover.kitchen_front_2_door_left\n - cover.kitchen_front_1_left\n - cover.kitchen_back_left\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen front cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen back cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_back",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen front 4 right cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front_4_right",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen front 2 door left cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front_2_door_left",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen front 1 left cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front_1_left",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen back left cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_back_left",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580808700'",
|
|
"automation": "- id: '1611580808700'\n alias: 'blinds: open all living room blinds at 6:15am'\n description: ''\n trigger:\n - platform: time\n at: 06:15\n condition: []\n action:\n - service: cover.open_cover\n entity_id:\n - cover.kitchen_back\n - cover.kitchen_front\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen front cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen back cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_back",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1611580953317'",
|
|
"automation": "- id: '1611580953317'\n alias: 'blinds: close upstairs hall blockout at 7:30pm'\n description: ''\n trigger:\n - platform: time\n at: '19:30'\n condition: []\n action:\n - service: cover.close_cover\n entity_id: cover.upstairs_hall_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "upstairs hall blockout cover",
|
|
"room": "upstairs_hall",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.upstairs_hall_blockout",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1612665437904'",
|
|
"automation": "- id: '1612665437904'\n alias: 'living_room: play kiis fm on living room button press'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.living_room_button_action\n to: single\n condition: []\n action:\n - service: script.living_room_play_kiss_radio\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room button action sensor",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.living_room_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room Play Kiss Radio",
|
|
"room": "Living Room",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.living_room_play_kiss_radio",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1637747873673'",
|
|
"automation": "- id: '1637747873673'\n alias: Close both front right blinds at 8am every day\n description: ''\n trigger:\n - platform: time\n at: 08:00:00\n condition: []\n action:\n - service: cover.close_cover\n target:\n entity_id:\n - cover.kitchen_front_4_translucent_right\n - cover.kitchen_front_4_right\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen front cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen front 4 right cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front_4_right",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen front 4 translucent right cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_front_4_translucent_right",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1717924745218'",
|
|
"automation": "- id: '1717924745218'\n alias: Atrium lamp on\n description: ''\n trigger:\n - platform: sun\n event: sunset\n offset: 0\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.atrium_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "atrium lamp light",
|
|
"room": "atrium",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.atrium_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1717924835029'",
|
|
"automation": "- id: '1717924835029'\n alias: Atrium lamp off\n description: ''\n trigger:\n - platform: time\n at: '23:00:00'\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.atrium_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "atrium lamp light",
|
|
"room": "atrium",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.atrium_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1717924924310'",
|
|
"automation": "- id: '1717924924310'\n alias: Hall lamp on\n description: ''\n trigger:\n - platform: sun\n event: sunset\n offset: 0\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.hall_table_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hall table lamp light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall_table_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1717932808159'",
|
|
"automation": "- id: '1717932808159'\n alias: Kitchen lamp on 2\n description: ''\n trigger:\n - platform: sun\n event: sunset\n offset: 0\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.kitchen_lamp_1\n - light.kitchen_lamp_2\n - light.kitchen_lamp_3\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen lamp 1",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lamp_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen lamp 2",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lamp_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen lamp 3",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lamp_3",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1718108414355'",
|
|
"automation": "- id: '1718108414355'\n alias: Hall table lamp off\n description: ''\n trigger:\n - platform: time\n at: '23:00:00'\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.hall_table_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hall table lamp light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall_table_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1718108551150'",
|
|
"automation": "- id: '1718108551150'\n alias: Kitchen lamp off\n description: ''\n trigger:\n - platform: time\n at: '23:00:00'\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.kitchen_lamp_1\n - light.kitchen_lamp_2\n - light.kitchen_lamp_3\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen lamp 1",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lamp_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen lamp 2",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lamp_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen lamp 3",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lamp_3",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1718416955542'",
|
|
"automation": "- id: '1718416955542'\n alias: 'quiet room: toggle nook light on detatched switch press'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.quiet_room_nook_ds_contact\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.quiet_room_nook_ds_contact\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.quiet_room_nook\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "quiet room binary sensor",
|
|
"room": "quiet_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.quiet_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "quiet room nook ds contact binary sensor",
|
|
"room": "quiet_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.quiet_room_nook_ds_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "quiet room nook light",
|
|
"room": "quiet_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.quiet_room_nook",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719138364452'",
|
|
"automation": "- id: '1719138364452'\n alias: 'kitchen: toggle splashback LED light on detatched switch press'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.kitchen_splashback_ds_contact\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.kitchen_splashback_ds_contact\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.kitchen_splashback\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen splashback ds contact binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_splashback_ds_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen splashback light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_splashback",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719138430696'",
|
|
"automation": "- id: '1719138430696'\n alias: 'living room: toggle curtains LED on detatched switch press'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.living_room_curtains_ds_contact\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.living_room_curtains_ds_contact\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.living_room_curtains\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room curtains ds contact binary sensor",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.living_room_curtains_ds_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room curtains light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_curtains",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719205569333'",
|
|
"automation": "- id: '1719205569333'\n alias: Wake iPad on Doorbell Activity\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n id: front_door\n - platform: state\n entity_id:\n - binary_sensor.front_door_person_detected\n from: 'off'\n to: 'on'\n id: front_door\n - platform: state\n entity_id:\n - binary_sensor.top_driveway_doorbell\n from: 'off'\n to: 'on'\n id: top_driveway\n - platform: state\n entity_id:\n - binary_sensor.top_driveway_person_detected\n from: 'off'\n to: 'on'\n id: top_driveway\n condition: []\n action:\n - service: notify.mobile_app_ipad\n data:\n message: Wake Up\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n milliseconds: 0\n - choose:\n - conditions:\n - condition: trigger\n id:\n - front_door\n sequence:\n - service: browser_mod.popup\n data:\n size: wide\n timeout: 180000\n title: Front Door\n content:\n show_state: false\n show_name: false\n camera_view: live\n type: picture-entity\n entity: camera.front_door_doorbell\n name: Front Door\n camera_image: camera.front_door_doorbell\n tap_action:\n action: none\n hold_action:\n action: none\n target:\n device_id: 1acf5949-ec3bb89d\n - conditions:\n - condition: trigger\n id:\n - top_driveway\n sequence:\n - service: browser_mod.popup\n data:\n size: wide\n timeout: 180000\n title: Top Driveway\n content:\n show_state: false\n show_name: false\n camera_view: live\n type: picture-entity\n entity: camera.top_driveway_doorbell\n name: Front Door\n camera_image: camera.top_driveway_doorbell\n tap_action:\n action: none\n hold_action:\n action: none\n target:\n device_id: 1acf5949-ec3bb89d\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door doorbell binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door person detected binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "top driveway doorbell binary sensor",
|
|
"room": "driveway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.top_driveway_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "top driveway person detected binary sensor",
|
|
"room": "driveway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.top_driveway_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door doorbell camera",
|
|
"room": "front",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.front_door_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "top driveway doorbell camera",
|
|
"room": "driveway",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.top_driveway_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Zigbee device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "1acf5949-ec3bb89d"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719205834583'",
|
|
"automation": "- id: '1719205834583'\n alias: Wake iPad on Hallway Motion\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_entrance\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: notify.mobile_app_ipad\n data:\n message: Wake Up\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front entrance binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_entrance",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719207062194'",
|
|
"automation": "- id: '1719207062194'\n alias: Play doorbell sound on doorbell ring\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - binary_sensor.top_driveway_doorbell\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: media_player.play_media\n data:\n media_content_id: media-source://media_source/local/doorbell.mp3\n media_content_type: audio/mpeg\n target:\n entity_id:\n - media_player.1acf5949-ec3bb89d\n - media_player.nesthub2422\n - media_player.peter_smart_clock\n - media_player.ensuite_radio\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door doorbell binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "top driveway doorbell binary sensor",
|
|
"room": "driveway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.top_driveway_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nesthub2422 media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.nesthub2422",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "peter smart clock media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.peter_smart_clock",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ensuite radio media player",
|
|
"room": "ensuite",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.ensuite_radio",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Zigbee device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "1acf5949-ec3bb89d"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719570258724'",
|
|
"automation": "- id: '1719570258724'\n alias: Upstairs hall lamp on\n description: ''\n trigger:\n - platform: sun\n event: sunset\n offset: 0\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.upstairs_hall_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "upstairs hall lamp light",
|
|
"room": "upstairs_hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.upstairs_hall_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719570321533'",
|
|
"automation": "- id: '1719570321533'\n alias: Upstairs hall lamp off\n description: ''\n trigger:\n - platform: time\n at: '23:55:00'\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.upstairs_hall_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "upstairs hall lamp light",
|
|
"room": "upstairs_hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.upstairs_hall_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1720260537045'",
|
|
"automation": "- id: '1720260537045'\n alias: Curtain pelmet1\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.0xa4c138240080206f_contact\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.0xa4c138240080206f_contact\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.living_room_curtains\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room curtains light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_curtains",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "0xa4c138240080206f contact binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.0xa4c138240080206f_contact",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1720343078056'",
|
|
"automation": "- id: '1720343078056'\n alias: 'play door chime on doorbell ring '\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.top_driveway_doorbell\n - binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: select.select_option\n metadata: {}\n data:\n option: '18'\n target:\n entity_id:\n - select.upstairs_door_chime_melody\n - select.downstairs_door_chime_melody\n - service: select.select_option\n metadata: {}\n data:\n option: medium\n target:\n entity_id:\n - select.upstairs_door_chime_volume\n - select.downstairs_door_chime_volume\n - service: number.set_value\n metadata: {}\n data:\n value: '6'\n target:\n entity_id:\n - number.upstairs_door_chime_duration\n - number.downstairs_door_chime_duration\n - service: switch.turn_on\n target:\n entity_id:\n - switch.downstairs_door_chime_alarm\n - switch.upstairs_door_chime_alarm\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door doorbell binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "top driveway doorbell binary sensor",
|
|
"room": "driveway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.top_driveway_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "upstairs door chime melody select",
|
|
"room": "upstairs",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.upstairs_door_chime_melody",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downstairs door chime melody select",
|
|
"room": "downstairs",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.downstairs_door_chime_melody",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "upstairs door chime volume select",
|
|
"room": "upstairs",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.upstairs_door_chime_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downstairs door chime volume select",
|
|
"room": "downstairs",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.downstairs_door_chime_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "upstairs door chime duration number",
|
|
"room": "upstairs",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.upstairs_door_chime_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downstairs door chime duration number",
|
|
"room": "downstairs",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.downstairs_door_chime_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downstairs door chime alarm switch",
|
|
"room": "downstairs",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.downstairs_door_chime_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "upstairs door chime alarm switch",
|
|
"room": "upstairs",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.upstairs_door_chime_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1748692801528'",
|
|
"automation": "- id: '1748692801528'\n alias: 'alarm: arm on away'\n description: ''\n triggers:\n - entity_id: binary_sensor.family_is_home\n to: 'off'\n trigger: state\n - entity_id: input_boolean.alarm_auto_arm_schedule\n to: 'on'\n trigger: state\n - entity_id: input_boolean.alarm_auto_arm_override\n to: 'on'\n trigger: state\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm_panel\n state: disarmed\n - condition: state\n entity_id: binary_sensor.family_is_home\n state: 'off'\n - condition: state\n entity_id: input_boolean.alarm_auto_arm_schedule\n state: 'on'\n - condition: state\n entity_id: input_boolean.alarm_auto_arm_override\n state: 'on'\n actions:\n - target:\n entity_id: alarm_control_panel.alarm_panel\n action: alarm_control_panel.alarm_arm_away\n data:\n code: '157896'\n - event: auto_arm_armed\n - data:\n name: Alarm Auto Arm\n message: Automatic arm\n action: logbook.log",
|
|
"config": [
|
|
{
|
|
"name": "family is home binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.family_is_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm auto arm schedule input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_schedule",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm auto arm override input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_override",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1748693013044'",
|
|
"automation": "- id: '1748693013044'\n alias: 'alarm: Disarm Alarm (Override OFF)'\n description: ''\n triggers:\n - entity_id: input_boolean.alarm_auto_arm_override\n to: 'off'\n trigger: state\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm_panel\n state: disarmed\n actions:\n - target:\n entity_id: alarm_control_panel.alarm_panel\n data:\n code: '157896'\n action: alarm_control_panel.alarm_disarm\n - event: auto_arm_disarmed\n - data:\n name: Alarm Auto Arm\n message: Automatic disarm (override off)\n action: logbook.log",
|
|
"config": [
|
|
{
|
|
"name": "alarm auto arm override input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_override",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1748693080761'",
|
|
"automation": "- id: '1748693080761'\n alias: 'alarm: Auto Disarm Alarm (Presence/Schedule)'\n description: ''\n triggers:\n - entity_id: binary_sensor.family_is_home\n to: 'on'\n trigger: state\n - entity_id: input_boolean.alarm_auto_arm_schedule\n to: 'off'\n trigger: state\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm_panel\n state: disarmed\n - condition: state\n entity_id: input_boolean.alarm_auto_arm_override\n state: 'on'\n actions:\n - target:\n entity_id: alarm_control_panel.alarm_panel\n data:\n code: '157896'\n action: alarm_control_panel.alarm_disarm\n - event: auto_arm_disarmed\n - data:\n name: Alarm Auto Arm\n message: Automatic disarm\n action: logbook.log",
|
|
"config": [
|
|
{
|
|
"name": "family is home binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.family_is_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm auto arm schedule input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_schedule",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm auto arm override input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_override",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1585648623740'",
|
|
"automation": "- id: '1585648623740'\n alias: 'every hour, call the check-in URL '\n description: ''\n trigger:\n - hours: '*'\n minutes: '0'\n platform: time_pattern\n seconds: '0'\n condition: []\n action:\n - data: {}\n service: rest_command.check_in",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1585649979000'",
|
|
"automation": "- id: '1585649979000'\n alias: every Sunday at 3am, purge and repack the database\n description: ''\n trigger:\n - at: 00:03:00\n platform: time\n condition:\n - condition: time\n weekday:\n - sun\n action:\n - data:\n keep_days: 14\n repack: true\n service: recorder.purge",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'23984738947389247'",
|
|
"automation": "- alias: 'dog_door: keep pets locked in at night'\n id: '23984738947389247'\n description: ''\n mode: single\n trigger:\n - platform: state\n entity_id:\n - alarm_control_panel.ha_alarm\n to: armed_night\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - service: lock.lock\n data: {}\n target:\n entity_id: lock.backyard_locked_in",
|
|
"config": [
|
|
{
|
|
"name": "alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.ha_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "backyard locked in lock",
|
|
"room": "backyard",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.backyard_locked_in",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'239847389473209101'",
|
|
"automation": "- alias: 'dog_door: keep pets locked in when away for long period'\n id: '239847389473209101'\n mode: single\n trigger:\n - platform: state\n entity_id: group.all_people\n to: not_home\n for:\n hours: 0\n minutes: 30\n seconds: 0\n condition: []\n action:\n - service: lock.lock\n data: {}\n target:\n entity_id: lock.backyard_locked_in",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "backyard locked in lock",
|
|
"room": "backyard",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.backyard_locked_in",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5E947BA516A3",
|
|
"automation": "- id: 5E947BA516A3\n alias: Turn On Living Room TV with WakeOnLan\n triggers:\n - trigger: samsungtv.turn_on\n entity_id: media_player.living_room_tv\n actions:\n - action: wake_on_lan.send_magic_packet\n data:\n mac: secret samsung_smart_tv_mac",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "682B367539FB",
|
|
"automation": "- id: 682B367539FB\n alias: 'homekit remote: media key arrow_up'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: arrow_up\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_UP\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "B07D24A1E86E",
|
|
"automation": "- id: B07D24A1E86E\n alias: 'homekit remote: media key arrow_down'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: arrow_down\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_DOWN\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "C89C74C0D202",
|
|
"automation": "- id: C89C74C0D202\n alias: 'homekit remote: media key arrow_left'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: arrow_left\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_LEFT\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "940199676C17",
|
|
"automation": "- id: 940199676C17\n alias: 'homekit remote: media key arrow_right'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: arrow_right\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_RIGHT\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8E9E5B27D4BE",
|
|
"automation": "- id: 8E9E5B27D4BE\n alias: 'homekit remote: media key back'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: back\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_RETURN\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "25B3FEE288AD",
|
|
"automation": "- id: 25B3FEE288AD\n alias: 'homekit remote: media key select'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: select\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_ENTER\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4AD260B62D6D",
|
|
"automation": "- id: 4AD260B62D6D\n alias: 'homekit remote: media key information'\n description: ''\n trigger:\n - event_type: homekit_tv_remote_key_pressed\n platform: event\n event_data:\n entity_id: media_player.living_room_tv\n key_name: information\n condition: []\n action:\n - action: remote.send_command\n data:\n command: KEY_HOME\n target:\n entity_id: remote.living_room_tv",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Living Room TV Remote",
|
|
"room": "Living Room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1747046547565'",
|
|
"automation": "- id: '1747046547565'\n alias: 'shed: motion lights'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.shed_motion_occupancy\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.shed_door_contact\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.shed\n - wait_for_trigger:\n - trigger: template\n value_template: '{{ (is_state(''binary_sensor.shed_motion_occupancy'', ''off'')\n or is_state(''binary_sensor.shed_motion_occupancy'', ''unavailable'')) and\n (is_state(''binary_sensor.shed_fp2_presence_sensor_shed'', ''off'') or is_state(''binary_sensor.shed_fp2_presence_sensor_shed'',\n ''unavailable'')) }}\n\n '\n for:\n hours: 0\n minutes: 5\n seconds: 0\n timeout:\n hours: 1\n minutes: 0\n seconds: 0\n milliseconds: 0\n continue_on_timeout: true\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.shed\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "shed door contact sensor",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed motion occupancy sensor",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed fp2 presence sensor shed",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_fp2_presence_sensor_shed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed light",
|
|
"room": "shed",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.shed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601034697138'",
|
|
"automation": "- id: '1601034697138'\n alias: 'alarm: send notification when triggered'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.alarm_panel\n to: triggered\n condition: []\n action:\n - service: notify.admins\n data:\n title: 313A Alarm Triggered\n message: The alarm was triggered at {{ now().strftime('%I:%M %p') }}{% if states('sensor.recently_triggered_sensors')\n %} by {{ states('sensor.recently_triggered_sensors') }}{% endif %}\n data:\n group: alarm-status\n url: /lovelace/security\n entity_id: camera.nvr_garage_lowres\n actions:\n - action: DISARM_ALARM\n title: Disarm\n authenticationRequired: true\n destructive: true\n push:\n sound:\n name: default\n critical: 1\n volume: 0\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "recently triggered sensors sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.recently_triggered_sensors",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nvr garage lowres camera",
|
|
"room": "garage",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.nvr_garage_lowres",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035010803'",
|
|
"automation": "- id: '1601035010803'\n alias: 'alarm: send notification on disarm'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.alarm_panel\n to: disarmed\n action:\n - service: notify.admins\n data:\n title: 313A Alarm Disarmed\n message: The alarm was disarmed at {{ now().strftime('%I:%M %p') }}\n data:\n group: alarm-status\n tag: alarm-status\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035010807'",
|
|
"automation": "- id: '1601035010807'\n alias: 'alarm: send notification on disarm if triggered or pending'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.alarm_panel\n to: disarmed\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm_panel\n state: pending\n - condition: state\n entity_id: alarm_control_panel.alarm_panel\n state: triggered\n action:\n - service: notify.admins\n data:\n title: 313A Alarm Disarmed\n message: The alarm was disarmed at {{ now().strftime('%I:%M %p') }}\n data:\n group: alarm-status\n tag: alarm-status\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035037271'",
|
|
"automation": "- id: '1601035037271'\n alias: 'alarm: send notification when pending'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.alarm_panel\n to: pending\n condition: []\n action:\n - service: notify.admins\n data:\n title: 313A Alarm Pending\n message: The alarm was pending at {{ now().strftime('%I:%M %p') }}\n data:\n url: /lovelace/security\n entity_id: camera.nvr_garage_lowres\n group: alarm-status\n tag: alarm-status\n push:\n category: alarm\n actions:\n - action: DISARM_ALARM\n title: Disarm\n authenticationRequired: true\n destructive: true\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nvr garage lowres camera",
|
|
"room": "garage",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.nvr_garage_lowres",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601035065291'",
|
|
"automation": "- id: '1601035065291'\n alias: 'alarm: send notification when armed'\n description: ''\n trigger:\n - platform: state\n entity_id: alarm_control_panel.alarm_panel\n to:\n - armed_away\n - armed_night\n condition: []\n action:\n - service: notify.admins\n data:\n title: 313A Alarm Armed\n message: The alarm was armed at {{ now().strftime('%I:%M %p') }}\n data:\n group: alarm-status\n tag: alarm-status\n push:\n category: alarm\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601036735034'",
|
|
"automation": "- id: '1601036735034'\n alias: 'alarm: disarm when mobile app disarm action fired'\n description: ''\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: DISARM_ALARM\n condition: []\n action:\n - service: alarm_control_panel.alarm_disarm\n data:\n code: secret arming_code\n entity_id: alarm_control_panel.alarm_panel\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alarm panel alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.alarm_panel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1591583687656'",
|
|
"automation": "- id: '1591583687656'\n alias: 'alarm: every thursday at 7:30am, turn off alarm auto arm'\n description: ''\n trigger:\n - at: 07:30\n platform: time\n condition:\n - condition: time\n weekday:\n - thu\n action:\n - data: {}\n entity_id: input_boolean.alarm_auto_arm_schedule\n service: input_boolean.turn_off",
|
|
"config": [
|
|
{
|
|
"name": "alarm auto arm schedule input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_schedule",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1591583801235'",
|
|
"automation": "- id: '1591583801235'\n alias: 'alarm: every thursday at 12pm, turn on alarm auto arm'\n description: ''\n trigger:\n - at: '12:00'\n platform: time\n condition:\n - condition: time\n weekday:\n - thu\n action:\n - data: {}\n entity_id: input_boolean.alarm_auto_arm_schedule\n service: input_boolean.turn_on",
|
|
"config": [
|
|
{
|
|
"name": "alarm auto arm schedule input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_auto_arm_schedule",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616301426392'",
|
|
"automation": "- id: '1616301426392'\n alias: 'hass: notify daily if away mode on for more than 24 hours'\n description: ''\n trigger:\n - platform: time\n at: 09:00:00\n - platform: template\n value_template: '{{ is_state(''input_boolean.away_mode'', ''on'') and (now() -\n states.input_boolean.away_mode.last_changed).total_seconds() > 60 * 60 * 24\n }}'\n condition:\n - condition: template\n value_template: '{{ is_state(''input_boolean.away_mode'', ''on'') and (now() -\n states.input_boolean.away_mode.last_changed).total_seconds() > 60 * 60 * 24\n }}'\n action:\n - service: notify.everyone\n data:\n title: Away Mode\n message: Away mode has been activated for longer than 24 hours\n data:\n tag: guest-mode\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616301426418'",
|
|
"automation": "- id: '1616301426418'\n alias: 'hass: notify daily if guest mode on for more than 24 hours'\n description: ''\n trigger:\n - platform: time\n at: 09:00:00\n - platform: template\n value_template: '{{ is_state(''input_boolean.guest_mode'', ''on'') and (now()\n - states.input_boolean.guest_mode.last_changed).total_seconds() > 60 * 60 *\n 24 }}'\n condition:\n - condition: template\n value_template: '{{ is_state(''input_boolean.guest_mode'', ''on'') and (now()\n - states.input_boolean.guest_mode.last_changed).total_seconds() > 60 * 60 *\n 24 }}'\n action:\n - service: notify.everyone\n data:\n title: Guest Mode\n message: Guest mode has been activated for longer than 24 hours\n data:\n tag: guest-mode\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "laundry_notify_on_dryer_completed",
|
|
"automation": "- id: laundry_notify_on_dryer_completed\n alias: 'laundry: notify on dryer completed'\n description: ''\n trigger:\n - entity_id: binary_sensor.dryer\n from: 'on'\n platform: state\n to: 'off'\n condition: []\n action:\n - data:\n data:\n tag: dryer-complete\n group: laundry-appliance\n message: The dryer has completed.\n title: Dryer Complete!\n service: notify.everyone",
|
|
"config": [
|
|
{
|
|
"name": "dryer binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.dryer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1661737134825'",
|
|
"automation": "- id: '1661737134825'\n alias: 'front door: notify on person detected'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_person_detected\n to: person\n condition:\n - condition: state\n entity_id: group.all_people\n state: not_home\n action:\n - service: notify.notify\n data:\n message: Motion Detected\n title: A person was detected in the front yard\n data:\n url: /lovelace/security\n entity_id: camera.front_door_high\n - delay: 00:03:00\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door person detected binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door high camera",
|
|
"room": "front",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.front_door_high",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1661736779952'",
|
|
"automation": "- id: '1661736779952'\n alias: 'mailbox: notify on mailbox open or vibrate'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.mailbox_contact_contact\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - binary_sensor.mailbox_vibration\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: notify.everyone\n data:\n title: You have mail\n message: The mailbox was opened or vibrated\n - delay: 00:30:00\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "mailbox contact contact binary sensor",
|
|
"room": "mailbox",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.mailbox_contact_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mailbox vibration binary sensor",
|
|
"room": "mailbox",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.mailbox_vibration",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1577766070397'",
|
|
"automation": "- id: '1577766070397'\n alias: 'laundry: notify on washing machine completed'\n description: ''\n trigger:\n - entity_id: binary_sensor.washing_machine\n from: 'on'\n platform: state\n to: 'off'\n condition: []\n action:\n - data:\n data:\n tag: washing-complete\n group: laundry-appliance\n message: The washing machine has completed. Time to hang out the clothes.\n title: Washing Complete!\n service: notify.everyone",
|
|
"config": [
|
|
{
|
|
"name": "washing machine binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.washing_machine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1613558326686'",
|
|
"automation": "- id: '1613558326686'\n alias: 'presence: notify when lights are on and nobody is home'\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.some_lights_on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: group.all_people\n from: home\n to: not_home\n for: 00:30:00\n - platform: homeassistant\n event: start\n condition:\n - condition: state\n entity_id: binary_sensor.some_lights_on\n state: 'on'\n - condition: state\n entity_id: group.all_people\n state: not_home\n for: 00:05:00\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n action:\n - service: notify.everyone\n data:\n title: The lights are on but nobody is home\n message: '{{ states.light | selectattr(''state'',''eq'',''on'') | map(attribute=''name'')\n | join('', '') }} are turned on.\n\n '\n data:\n group: lights-on-nobody-home\n actions:\n - action: TURN_OFF_LIGHTS\n title: Turn Off Lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "some lights on binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.some_lights_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600774623358'",
|
|
"automation": "- id: '1600774623358'\n alias: 'blinds: open bedroom blinds on weekday mornings'\n description: ''\n trigger:\n - platform: time\n at: 09:15:00\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n action:\n - choose:\n - conditions:\n - condition: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n below: '1'\n sequence:\n - wait_for_trigger:\n - platform: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n above: '0'\n timeout: 02:00:00\n continue_on_timeout: true\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.bedroom_blockout\n - if:\n - condition: state\n entity_id: light.bedroom_star\n state: unavailable\n then:\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.bedroom_screen\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom blockout cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom screen cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy since dawn sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.internal_motion_occupancy_since_dawn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom star light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_star",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600774623448'",
|
|
"automation": "- id: '1600774623448'\n alias: 'blinds: open bedroom blinds on weekend mornings'\n description: ''\n trigger:\n - platform: time\n at: '11:00:00'\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n - condition: time\n weekday:\n - sat\n - sun\n action:\n - choose:\n - conditions:\n - condition: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n below: '1'\n sequence:\n - wait_for_trigger:\n - platform: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n above: '0'\n timeout: 01:00:00\n continue_on_timeout: true\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.bedroom_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom blockout cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy since dawn sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.internal_motion_occupancy_since_dawn",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'9454988347972938283'",
|
|
"automation": "- id: '9454988347972938283'\n alias: 'bedroom button: toggle blockout blind on bedside button double press'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.kates_bedside_button_action\n to: double\n - platform: state\n entity_id: sensor.nicks_bedside_button_action\n to: double\n condition: []\n action:\n - service: cover.toggle\n entity_id: cover.bedroom_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom blockout cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kates bedside button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kates_bedside_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nicks bedside button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.nicks_bedside_button_action",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600774623357'",
|
|
"automation": "- id: '1600774623357'\n alias: 'blinds: open the blinds on first motion detected, once per day, after sunrise'\n description: ''\n trigger:\n - platform: time\n at: '11:00:00'\n - platform: state\n entity_id: binary_sensor.internal_motion_occupancy\n to: 'on'\n condition:\n - condition: template\n value_template: '{{ state_attr(''automation.open_blinds_on_motion'', ''last_triggered'')\n < now().replace(hour=3, minute=0, second=0) }}'\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: sun\n after: sunrise\n action:\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.kitchen_blockout\n - cover.study_blockout\n - cover.living_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study blockout cover",
|
|
"room": "study",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.study_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen blockout cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_blockout",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living blockout cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_blockout",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "029438302948",
|
|
"automation": "- id: 029438302948\n alias: 'blinds: open blinds screens on mornings'\n description: ''\n trigger:\n - platform: time\n at: 09:15:00\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n action:\n - choose:\n - conditions:\n - condition: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n below: '1'\n sequence:\n - wait_for_trigger:\n - platform: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n above: '0'\n timeout: 02:00:00\n continue_on_timeout: true\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.living_right_screen\n - cover.kitchen_screen\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living right screen cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_right_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen screen cover",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy since dawn sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.internal_motion_occupancy_since_dawn",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'160077462393928'",
|
|
"automation": "- id: '160077462393928'\n alias: 'blinds: open living room right screen every morning'\n description: ''\n trigger:\n - platform: time\n at: 09:15:00\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n action:\n - choose:\n - conditions:\n - condition: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n below: '1'\n sequence:\n - wait_for_trigger:\n - platform: numeric_state\n entity_id: sensor.internal_motion_occupancy_since_dawn\n above: '0'\n timeout: 02:00:00\n continue_on_timeout: true\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.living_right_screen\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living right screen cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_right_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy since dawn sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.internal_motion_occupancy_since_dawn",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1606304284264563'",
|
|
"automation": "- id: '1606304284264563'\n alias: 'study: open the study blockout blind at sunrise'\n description: ''\n trigger:\n - platform: sun\n event: sunrise\n offset: 00:05:00\n condition: []\n action:\n - service: cover.open_cover\n data: {}\n entity_id:\n - cover.study_blockout\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "study blockout cover",
|
|
"room": "study",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.study_blockout",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1588501846352'",
|
|
"automation": "- id: '1588501846352'\n alias: when quiet room fridge or freezer door open for more than 5 minutes, send\n notification\n description: ''\n trigger:\n - device_id: a5ea6ad6759345c698658afb9c644309\n domain: binary_sensor\n entity_id: binary_sensor.0x00158d000451d897_contact\n for:\n hours: 0\n minutes: 5\n seconds: 0\n platform: device\n type: opened\n - device_id: 70146a3c3a6247d59063afbfeea3eb7f\n domain: binary_sensor\n entity_id: binary_sensor.0x00158d00049fb09a_contact\n for:\n hours: 0\n minutes: 5\n seconds: 0\n platform: device\n type: opened\n condition: []\n action:\n - data:\n message: The quiet room fridge or freezer has been left open\n service: notify.everyone",
|
|
"config": [
|
|
{
|
|
"name": "0x00158d000451d897 contact binary sensor device",
|
|
"room": "quiet_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.0x00158d000451d897_contact",
|
|
"device_id": "a5ea6ad6759345c698658afb9c644309"
|
|
}
|
|
},
|
|
{
|
|
"name": "0x00158d00049fb09a contact binary sensor device",
|
|
"room": "quiet_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.0x00158d00049fb09a_contact",
|
|
"device_id": "70146a3c3a6247d59063afbfeea3eb7f"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1585649979000'",
|
|
"automation": "- id: '1585649979000'\n alias: every Sunday at 3am, purge and repack the database\n description: ''\n trigger:\n - at: 00:03:00\n platform: time\n condition:\n - condition: time\n weekday:\n - sun\n action:\n - data:\n keep_days: 14\n repack: true\n service: recorder.purge",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1733996368210'",
|
|
"automation": "- id: '1733996368210'\n alias: 'inverter: reload modbus on stale state'\n description: ''\n triggers:\n - trigger: template\n value_template: '{{ as_timestamp(now()) - as_timestamp(states.sensor.inverter_meter_power_raw.last_changed)\n > 600 }}'\n conditions: []\n actions:\n - action: modbus.reload\n metadata: {}\n data: {}\n - action: persistent_notification.create\n metadata: {}\n data:\n title: Modbus Reloaded\n message: Inverter meter power last changed > 600 seconds.\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "inverter meter power sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.inverter_meter_power",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "inverter meter power raw sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.inverter_meter_power_raw",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1640752411965'",
|
|
"automation": "- id: '1640752411965'\n alias: 'hass: remove guest access'\n description: ''\n trigger:\n - platform: time\n at: 03:00:00\n - platform: state\n entity_id: input_boolean.guest_mode\n to: 'off'\n from: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 10\n condition: []\n action:\n - service: login_control.clear_refresh_tokens\n data:\n user_id: e2f92fb2af8745b2a16fed0101eec985\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1747479567384'",
|
|
"automation": "- id: '1747479567384'\n alias: 'doorbell: ring outdoor speakers'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.back_yard_person_detected_last_hour\n state: 'on'\n - condition: state\n entity_id: binary_sensor.shed_motion_detected_last_30m\n state: 'on'\n - condition: state\n entity_id: binary_sensor.shed_fp2_occupancy_detected_last_30m\n state: 'on'\n actions:\n - action: music_assistant.play_announcement\n metadata: {}\n data:\n announce_volume: 30\n url: https://hass.nickwhyte.com/local/audio/doorbell.mp3\n target:\n entity_id:\n - media_player.backyard\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard person detected last hour binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected_last_hour",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back yard person detected binary sensor",
|
|
"room": "backyard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.back_yard_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door doorbell binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed motion detected last 30m binary sensor",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_motion_detected_last_30m",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shed fp2 occupancy detected last 30m binary sensor",
|
|
"room": "shed",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shed_fp2_occupancy_detected_last_30m",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "backyard media player",
|
|
"room": "backyard",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.backyard",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'16263412645738'",
|
|
"automation": "- id: '16263412645738'\n alias: 'kitchen ambiance: set colour temperature at sunrise/sunset'\n description: ''\n trigger:\n - platform: sun\n event: sunset\n id: sunset\n - platform: sun\n event: sunrise\n id: sunrise\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: sunset\n sequence:\n - service: script.tasmota_set_ct\n data:\n topic: tasmota_6D0A96\n ct: 500\n - service: script.tasmota_set_brightness\n data:\n topic: tasmota_6D0A96\n brightness: 10\n - service: script.tasmota_set_ct\n data:\n topic: tasmota_6D2EFA\n ct: 475\n - service: script.tasmota_set_brightness\n data:\n topic: tasmota_6D2EFA\n brightness: 10\n default:\n - service: script.tasmota_set_ct\n data:\n topic: tasmota_6D0A96\n ct: 200\n - service: script.tasmota_set_brightness\n data:\n topic: tasmota_6D0A96\n brightness: 90\n - service: script.tasmota_set_ct\n data:\n topic: tasmota_6D2EFA\n ct: 200\n - service: script.tasmota_set_brightness\n data:\n topic: tasmota_6D2EFA\n brightness: 90\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Tasmota Set Brightness",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.tasmota_set_brightness",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Tasmota Set CT",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.tasmota_set_ct",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753835440818'",
|
|
"automation": "- id: '1753835440818'\n alias: 'laundry: start dryer on excess solar export'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.dryer_remote_status\n to: 'on'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: numeric_state\n entity_id: sensor.inverter_meter_power\n below: -1000\n sequence:\n - data:\n title: Dryer Remote Start\n message: Excess solar available now. Starting the dryer.\n data:\n group: laundry-appliance\n action: notify.everyone\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.dryer_start_cycle\n - data:\n title: Dryer Remote Start\n message: Dryer started due to excess solar export\n data:\n group: laundry-appliance\n action: notify.everyone\n default:\n - data:\n title: Dryer Remote Start\n message: Dryer remote start was activated. Waiting for excess solar energy\n before starting\n data:\n group: laundry-appliance\n action: notify.everyone\n - wait_for_trigger:\n - trigger: numeric_state\n entity_id:\n - sensor.inverter_meter_power\n for:\n hours: 0\n minutes: 5\n seconds: 0\n below: -1000\n timeout:\n hours: 3\n minutes: 0\n seconds: 0\n milliseconds: 0\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.dryer_start_cycle\n - data:\n title: Dryer Remote Start\n message: Dryer started due to excess solar export\n data:\n group: laundry-appliance\n action: notify.everyone\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "dryer binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.dryer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "inverter meter power sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.inverter_meter_power",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dryer remote status binary sensor",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.dryer_remote_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dryer start cycle button",
|
|
"room": "laundry",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.dryer_start_cycle",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1634189664661'",
|
|
"automation": "- id: '1634189664661'\n alias: 'robot_vacuum: start cleaning whilst away'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - device_tracker.kates_iphone_gps\n - device_tracker.nicks_iphone_gps\n to: Dog Park\n for: 00:05:00\n id: zone_dog_park\n - platform: numeric_state\n entity_id: sensor.home_nearest_distance\n above: '500'\n for: 00:05:00\n id: proximity\n condition:\n - condition: template\n value_template: \"{%- if state_attr('automation.robot_vacuum_start_cleaning_whilst_away','last_triggered')\\\n \\ == None %}\\n True\\n{%- else %}\\n {{ (now() - state_attr('automation.robot_vacuum_start_cleaning_whilst_away','last_triggered')).total_seconds()\\\n \\ > 60 * 60 * 2 }}\\n{%- endif %}\"\n - condition: state\n entity_id: vacuum.crystal\n state: docked\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n - condition: state\n entity_id: group.all_animals\n state: not_home\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: group.all_people\n state: home\n sequence:\n - wait_for_trigger:\n - platform: state\n entity_id: group.all_people\n to: not_home\n timeout: 00:15:00\n continue_on_timeout: false\n - alias: Set up variables for the actions\n variables:\n action_cancel: '{{ ''CANCEL_'' ~ context.id }}'\n action_start_now_auto: '{{ ''START_NOW_AUTO_'' ~ context.id }}'\n action_start_now_deep: '{{ ''START_NOW_DEEP_'' ~ context.id }}'\n action_start_now_mop: '{{ ''START_NOW_MOP_'' ~ context.id }}'\n - service: notify.everyone\n data:\n title: Automated Cleaning\n message: Starting automated cleaning in 5 minutes\n data:\n tag: robovac-no-one-home\n actions:\n - action: '{{ action_cancel }}'\n title: Cancel\n - action: '{{ action_start_now_auto }}'\n title: Quick Clean\n - action: '{{ action_start_now_deep }}'\n title: Deep Clean\n - action: '{{ action_start_now_mop }}'\n title: Mop and Vacuum\n - alias: Wait for a response\n wait_for_trigger:\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_cancel }}'\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_start_now_auto }}'\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_start_now_deep }}'\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_start_now_mop }}'\n timeout: 00:05:00\n - service: notify.everyone\n data:\n title: Automated Cleaning\n message: Starting automated cleaning\n data:\n tag: robovac-no-one-home\n - choose:\n - conditions: '{{ wait.trigger.event.data.action == action_cancel }}'\n sequence: []\n - conditions: '{{ wait.trigger.event.data.action == action_start_now_deep }}'\n sequence:\n - action: button.press\n target:\n entity_id: button.x40_ultra_shortcut_8\n data: {}\n - conditions: '{{ wait.trigger.event.data.action == action_start_now_mop }}'\n sequence:\n - action: button.press\n target:\n entity_id: button.x40_ultra_shortcut_7\n data: {}\n default:\n - action: button.press\n target:\n entity_id: button.x40_ultra_shortcut_6\n data: {}\n - alias: Wait for cleaning to finish or someone approaches home\n wait_for_trigger:\n - entity_id: vacuum.crystal\n to: docked\n id: finished\n trigger: state\n - value_template: \"{{ states('sensor.home_nearest_direction_of_travel') == 'towards'\\\n \\ and\\n states('sensor.home_nearest_distance') | float < 500 }}\"\n id: proximity\n trigger: template\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ wait.trigger.id == ''proximity'' }}'\n sequence:\n - service: notify.everyone\n data:\n title: Automated Cleaning\n message: Proximity detected, ending task.\n data:\n tag: robovac-no-one-home\n - target:\n entity_id: vacuum.crystal\n data: {}\n action: vacuum.return_to_base\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 6",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_6",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 8",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_8",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x40 ultra shortcut button 7",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.x40_ultra_shortcut_7",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum crystal",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.crystal",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "home nearest distance sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.home_nearest_distance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all animals",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_animals",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "home nearest direction of travel sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.home_nearest_direction_of_travel",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Kates iPhone GPS",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.kates_iphone_gps",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Nicks iPhone GPS",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.nicks_iphone_gps",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1725332898491'",
|
|
"automation": "- id: '1725332898491'\n alias: 'tesla charger: reset charging amps at midnight'\n description: ''\n trigger:\n - platform: time_pattern\n hours: '23'\n minutes: '59'\n seconds: '00'\n - platform: time_pattern\n hours: '0'\n minutes: '05'\n seconds: '00'\n condition: []\n action:\n - action: number.set_value\n metadata: {}\n data:\n value: '32'\n target:\n entity_id: number.tessie_charging_amps\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tessie charging amps number",
|
|
"room": null,
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.tessie_charging_amps",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753855873546'",
|
|
"automation": "- id: '1753855873546'\n alias: 'tesla charger: set/reset charge limit'\n description: ''\n triggers:\n - trigger: time\n at: '23:55:00'\n id: overnight\n - trigger: time\n at: 06:00:00\n id: daytime\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - daytime\n sequence:\n - action: number.set_value\n metadata: {}\n data:\n value: '{{ states(''input_number.tesla_daytime_charge_limit'')}}'\n target:\n entity_id: number.tessie_charge_limit\n - action: input_number.set_value\n metadata: {}\n data:\n value: '{{ states(''input_number.tesla_daytime_charge_limit_default'')}}'\n target:\n entity_id: input_number.tesla_daytime_charge_limit\n - conditions:\n - condition: trigger\n id:\n - overnight\n sequence:\n - action: number.set_value\n metadata: {}\n data:\n value: '{{ states(''input_number.tesla_overnight_charge_limit'')}}'\n target:\n entity_id: number.tessie_charge_limit\n - action: input_number.set_value\n metadata: {}\n data:\n value: '{{ states(''input_number.tesla_overnight_charge_limit_default'')}}'\n target:\n entity_id: input_number.tesla_overnight_charge_limit\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tesla daytime charge limit input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.tesla_daytime_charge_limit",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tesla daytime charge limit default input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.tesla_daytime_charge_limit_default",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tessie charge limit number",
|
|
"room": null,
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.tessie_charge_limit",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tesla overnight charge limit input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.tesla_overnight_charge_limit",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tesla overnight charge limit default input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.tesla_overnight_charge_limit_default",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'98437594832563'",
|
|
"automation": "- id: '98437594832563'\n alias: 'kitchen ambiance: toggle for downlights state'\n description: ''\n trigger:\n - platform: state\n entity_id: light.kitchen\n to: 'on'\n id: lights_on\n - platform: state\n entity_id: light.kitchen\n to: 'off'\n id: lights_off\n condition:\n - condition: or\n conditions:\n - condition: sun\n before: sunrise\n - condition: sun\n after: sunset\n - condition: numeric_state\n entity_id: sensor.ecowitt_hub_solar_lux\n below: 500\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: lights_off\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 10\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n default:\n - service: light.turn_on\n data:\n brightness_pct: 80\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - service: light.turn_on\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ecowitt hub solar lux sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ecowitt_hub_solar_lux",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bench strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bench_strip",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1626173674033'",
|
|
"automation": "- id: '1626173674033'\n alias: 'kitchen ambiance: toggle for sunrise/sunset'\n description: ''\n trigger:\n - platform: sun\n event: sunrise\n id: sunrise\n - platform: sun\n event: sunset\n id: sunset\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: sunrise\n sequence:\n - service: light.turn_off\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - conditions:\n - condition: trigger\n id: sunset\n sequence:\n - condition: not\n conditions:\n - condition: state\n entity_id: light.kitchen\n state: 'on'\n - service: light.turn_on\n data:\n brightness_pct: 10\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - service: light.turn_on\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bench strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bench_strip",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1661736200116'",
|
|
"automation": "- id: '1661736200116'\n alias: 'study: toggle grow light on lux levels during daytime'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.study_shelves_illuminance_illuminance\n for:\n hours: 0\n minutes: 0\n seconds: 30\n id: bright\n above: '1000'\n - platform: numeric_state\n entity_id: sensor.study_shelves_illuminance_illuminance\n for:\n hours: 0\n minutes: 5\n seconds: 0\n id: dim\n below: '700'\n condition:\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: dim\n sequence:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.study_grow_light\n - conditions:\n - condition: trigger\n id: bright\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.study_grow_light\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "study shelves illuminance sensor",
|
|
"room": "study",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.study_shelves_illuminance_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study grow light",
|
|
"room": "study",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.study_grow_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600953878712'",
|
|
"automation": "- id: '1600953878712'\n alias: 'bedroom: toggle bedsides on bedside button press'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.nicks_bedside_button_action\n to: single\n id: nick\n - platform: state\n entity_id: sensor.kates_bedside_button_action\n to: single\n id: kate\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: nick\n sequence:\n - service: light.toggle\n entity_id: light.nicks_bedside\n - conditions:\n - condition: trigger\n id: kate\n sequence:\n - service: light.toggle\n entity_id: light.kates_bedside\n default: []\n mode: parallel",
|
|
"config": [
|
|
{
|
|
"name": "kates bedside button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kates_bedside_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nicks bedside button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.nicks_bedside_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nicks bedside light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.nicks_bedside",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kates bedside light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kates_bedside",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'9454988347972982483'",
|
|
"automation": "- id: '9454988347972982483'\n alias: 'Bedroom Wall button: toggle bedroom lights on button double press'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.bedroom_wall_button_action\n to: double\n condition: []\n action:\n - service: light.toggle\n entity_id: light.bedroom_lamps\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom wall button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bedroom_wall_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom lamps light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_lamps",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'98347972439857'",
|
|
"automation": "- id: '98347972439857'\n alias: 'kitchen window button: toggle music playback on button double click'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.kitchen_window_button_action\n to: double\n condition: []\n action:\n - service: switch.toggle\n entity_id: switch.play_music\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen window button action sensor",
|
|
"room": "kitchen",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kitchen_window_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "play music switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.play_music",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719278605008'",
|
|
"automation": "- id: '1719278605008'\n alias: 'X1C: Toggle power on button press'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.3d_printer_button_action\n to: single\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.x1c_print_status\n state: idle\n - condition: state\n entity_id: sensor.x1c_print_status\n state: finish\n - condition: state\n entity_id: switch.3d_printer\n state: 'off'\n action:\n - service: switch.toggle\n target:\n entity_id:\n - switch.3d_printer\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "3d printer button action sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.3d_printer_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "x1c print status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.x1c_print_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.3d_printer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'945498834872872483'",
|
|
"automation": "- id: '945498834872872483'\n alias: 'Study Wall button: toggle study shelves fairy lights on button double press'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.study_wall_button_action\n to: double\n condition: []\n action:\n - service: light.toggle\n entity_id: light.study_fairy_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "study wall button action sensor",
|
|
"room": "study",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.study_wall_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study fairy lights",
|
|
"room": "study",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.study_fairy_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1718231422772'",
|
|
"automation": "- id: '1718231422772'\n alias: 'X1C: turn off 3d printer when idle'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.x1c_print_status\n to: finish\n for:\n hours: 0\n minutes: 60\n seconds: 0\n condition:\n - condition: state\n entity_id: sensor.x1c_print_status\n state: finish\n action:\n - service: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.3d_printer\n - service: notify.mobile_app_nicks_iphone\n metadata: {}\n data:\n message: X1C was turned off due to idle timeout\n title: X1C Status\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "x1c print status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.x1c_print_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.3d_printer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600933873712'",
|
|
"automation": "- id: '1600933873712'\n alias: 'bedroom: turn off all house lights on bedside button hold'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.nicks_bedside_button_action\n to: hold\n - platform: state\n entity_id: sensor.kates_bedside_button_action\n to: hold\n condition: []\n action:\n - service: script.turn_on\n target:\n entity_id: script.turn_off_all_house_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kates bedside button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kates_bedside_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nicks bedside button action sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.nicks_bedside_button_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn Off All House Lights",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_off_all_house_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1606546290444'",
|
|
"automation": "- id: '1606546290444'\n alias: 'ios: turn off all lights on app action fired'\n description: ''\n trigger:\n - platform: event\n event_type: ios.notification_action_fired\n event_data:\n actionName: TURN_OFF_LIGHTS\n context: {}\n condition: []\n action:\n - service: script.turn_on\n target:\n entity_id: script.turn_off_all_house_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Turn Off All House Lights",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_off_all_house_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1625471872471'",
|
|
"automation": "- id: '1625471872471'\n alias: 'bedroom: turn off electric blanket at startup'\n description: ''\n trigger:\n - platform: homeassistant\n event: start\n condition: []\n action:\n - service: switch.turn_off\n target:\n entity_id: switch.electric_blanket\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "electric blanket switch",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.electric_blanket",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733053898376'",
|
|
"automation": "- id: '1733053898376'\n alias: Turn off fan at 9am\n description: ''\n triggers:\n - trigger: time\n at: 09:00:00\n conditions:\n - condition: state\n entity_id: fan.bedroom_fan\n state: 'on'\n actions:\n - action: fan.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: fan.bedroom_fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom fan",
|
|
"room": "bedroom",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.bedroom_fan",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1661736577355'",
|
|
"automation": "- id: '1661736577355'\n alias: 'study: turn off grow light at sunset'\n description: ''\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.study_grow_light\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "study grow light",
|
|
"room": "study",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.study_grow_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944287383'",
|
|
"automation": "- id: '1584944287383'\n alias: 'presence: turn off house lights when everyone leaves'\n description: ''\n trigger:\n - entity_id: group.all_people\n for: 00:05:00\n platform: state\n to: not_home\n condition:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n action:\n - service: script.turn_on\n target:\n entity_id: script.turn_off_all_house_lights",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn Off All House Lights",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_off_all_house_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584945101124'",
|
|
"automation": "- id: '1584945101124'\n alias: 'living_room: turn off LED strip when the TV turns off'\n description: ''\n trigger:\n - entity_id: media_player.living_room_tv\n from: 'on'\n platform: state\n to: 'off'\n condition: []\n action:\n - service: light.turn_off\n entity_id: light.tv_led_strip",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tv led strip light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.tv_led_strip",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1669714840315'",
|
|
"automation": "- id: '1669714840315'\n alias: 'outdoor: turn off tree lights at 10:00pm'\n description: ''\n trigger:\n - platform: time\n at: '22:00:00'\n - platform: homeassistant\n event: start\n condition:\n - condition: or\n conditions:\n - condition: sun\n before: sunset\n - condition: time\n after: '21:59:59'\n action:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.tree_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tree lights",
|
|
"room": "outdoor",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.tree_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944372303'",
|
|
"automation": "- id: '1584944372303'\n alias: 'living_room: turn off tv when everyone leaves'\n description: Turn off the TV 15 minutes after everyone leaves\n trigger:\n - entity_id: group.all_people\n for: 00:15:00\n platform: state\n to: not_home\n condition: []\n action:\n - data: {}\n entity_id: media_player.living_room_tv\n service: media_player.turn_off",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944740804'",
|
|
"automation": "- id: '1584944740804'\n alias: 'living_room: turn on christmas tree at sunset when people home'\n description: ''\n trigger:\n - event: sunset\n offset: -00:30:00\n platform: sun\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.christmas_tree",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "christmas tree light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.christmas_tree",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1603018075175'",
|
|
"automation": "- id: '1603018075175'\n alias: 'bedroom: turn on the bedroom lamps before bed'\n description: ''\n trigger:\n - platform: time\n at: '22:15:00'\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: state\n entity_id: binary_sensor.in_bed\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n - condition: state\n entity_id: binary_sensor.some_lights_on\n state: 'on'\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.bedroom_lamps\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "some lights on binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.some_lights_on",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "in bed binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.in_bed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom lamps light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_lamps",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600774622348975'",
|
|
"automation": "- id: '1600774622348975'\n alias: 'dishwasher status: turn on on first motion detected, once per day, after\n sunrise'\n description: ''\n trigger:\n - platform: time\n at: '11:00:00'\n - platform: state\n entity_id: binary_sensor.internal_motion_occupancy\n to: 'on'\n condition:\n - condition: template\n value_template: '{{ state_attr(''automation.dishwasher_status_turn_on_on_first_motion_detected_once_per_day_after_sunrise'',\n ''last_triggered'') < now().replace(hour=3, minute=0, second=0) }}'\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: sun\n after: sunrise\n action:\n - service: light.turn_on\n data: {}\n entity_id:\n - light.dishwasher_main\n - action: select.select_option\n metadata: {}\n data:\n option: '{{ states(''input_select.dishwasher_previous_preset_state'') }}'\n target:\n entity_id: select.dishwasher_preset\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher main light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher_main",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher preset select",
|
|
"room": "kitchen",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.dishwasher_preset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher previous preset state input select",
|
|
"room": "kitchen",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.dishwasher_previous_preset_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1625471796352'",
|
|
"automation": "- id: '1625471796352'\n alias: 'bedroom: turn on electric blanket when tv turns off after 10:00pm'\n description: ''\n trigger:\n - platform: state\n entity_id: media_player.living_room_tv\n from: 'on'\n to: 'off'\n for: 00:00:30\n condition:\n - condition: or\n conditions:\n - condition: time\n after: '22:00:00'\n - condition: time\n before: 01:00:00\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - condition: not\n conditions:\n - condition: state\n entity_id: switch.electric_blanket\n state: unavailable\n - service: switch.turn_on\n target:\n entity_id: switch.electric_blanket\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "electric blanket switch",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.electric_blanket",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'160077462353745'",
|
|
"automation": "- id: '160077462353745'\n alias: 'energy led: turn on on first motion detected, once per day, after sunrise'\n description: ''\n trigger:\n - platform: time\n at: '11:00:00'\n - platform: state\n entity_id: binary_sensor.internal_motion_occupancy\n to: 'on'\n condition:\n - condition: template\n value_template: '{{ state_attr(''automation.energy_led_turn_on_on_first_motion_detected_once_per_day_after_sunrise'',\n ''last_triggered'') < now().replace(hour=3, minute=0, second=0) }}'\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: sun\n after: sunrise\n action:\n - service: light.turn_on\n data: {}\n entity_id:\n - light.dishwasher_main\n - light.dishwasher\n - service: automation.trigger\n entity_id:\n - automation.energy_status_linear\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher main light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher_main",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dishwasher",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Energy Status Linear",
|
|
"room": null,
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.energy_status_linear",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1722076269686'",
|
|
"automation": "- id: '1722076269686'\n alias: 'bathroom: turn on fan on shower humidity'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.bathroom_climate_humidity\n for:\n hours: 0\n minutes: 0\n seconds: 30\n above: 90\n condition: []\n action:\n - service: fan.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: fan.bathroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom climate humidity sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bathroom_climate_humidity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom fan",
|
|
"room": "bathroom",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.bathroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1661736521437'",
|
|
"automation": "- id: '1661736521437'\n alias: 'study: turn on grow light at sunrise if low brightness'\n description: ''\n trigger:\n - platform: sun\n event: sunrise\n offset: 0\n condition:\n - condition: numeric_state\n entity_id: sensor.study_shelves_illuminance_illuminance\n below: '500'\n action:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.study_grow_light\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "study shelves illuminance sensor",
|
|
"room": "study",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.study_shelves_illuminance_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "study grow light",
|
|
"room": "study",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.study_grow_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944760804'",
|
|
"automation": "- id: '1584944760804'\n alias: 'living_room: turn on lamp at sunset when people home'\n description: ''\n trigger:\n - event: sunset\n offset: -00:30:00\n platform: sun\n condition:\n - condition: state\n entity_id: group.all_people\n state: home\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.living_room_lamp\n - if:\n - condition: state\n entity_id: light.stitch_lamp\n state: 'off'\n then:\n - service: light.turn_on\n data:\n brightness_pct: 30\n entity_id:\n - light.stitch_lamp",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_lamp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "stitch lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.stitch_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944183272'",
|
|
"automation": "- id: '1584944183272'\n alias: 'living_room: turn on lamp on apartment door open'\n description: \"Turn on the living room lamp when the apartment door opens when;\\n\\\n \\ * at night\\n * no presence detected (if presence is detected, the lamp will\\\n \\ already be on)\"\n trigger:\n - device_id: e824e2b2a4ff4dea9b16fd7f6234dfc1\n domain: binary_sensor\n entity_id: binary_sensor.front_door_contact\n platform: device\n type: opened\n condition:\n - after: sunset\n after_offset: -00:60:00\n condition: sun\n - condition: state\n entity_id: group.all_people\n state: not_home\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.living_room_lamp\n - if:\n - condition: state\n entity_id: light.stitch_lamp\n state: 'off'\n then:\n - service: light.turn_on\n data:\n brightness_pct: 30\n entity_id:\n - light.stitch_lamp",
|
|
"config": [
|
|
{
|
|
"name": "front door contact sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_lamp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "stitch lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.stitch_lamp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Device (likely front door contact sensor)",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "e824e2b2a4ff4dea9b16fd7f6234dfc1"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1605957739472'",
|
|
"automation": "- id: '1605957739472'\n alias: 'living_room: turn on lamp on living motion detected at night'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.living_room_motion_occupancy\n from: 'off'\n to: 'on'\n id: living_room\n condition:\n - condition: or\n conditions:\n - condition: time\n after: '23:00:00'\n - condition: sun\n before: sunrise\n - condition: state\n entity_id: light.living_room_lamp\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: template\n value_template: '{{ trigger.id != ''living_room'' or states(''vacuum.crystal'')\n not in [''cleaning'', ''returning''] }}\n\n '\n action:\n - service: light.turn_on\n entity_id: light.living_room_lamp\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.internal_motion_occupancy\n from: 'on'\n to: 'off'\n for: 00:01:00\n - service: light.turn_off\n data: {}\n entity_id: light.living_room_lamp\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room motion occupancy sensor",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.living_room_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum crystal",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.crystal",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944187934'",
|
|
"automation": "- id: '1584944187934'\n alias: 'living_room: turn on lamp on presence detected'\n description: ''\n trigger:\n - entity_id: group.all_people\n from: not_home\n platform: state\n to: home\n condition:\n - after: sunset\n after_offset: -00:60:00\n condition: sun\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.living_room_lamp\n - if:\n - condition: state\n entity_id: light.stitch_lamp\n state: 'off'\n then:\n - service: light.turn_on\n data:\n brightness_pct: 30\n entity_id:\n - light.stitch_lamp",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_lamp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "stitch lamp light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.stitch_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944904008'",
|
|
"automation": "- id: '1584944904008'\n alias: 'living_room: turn on lamp when the TV turns on'\n description: Turn on the lamp when the TV turns on and it is after sunset\n trigger:\n - entity_id: media_player.living_room_tv\n from: 'off'\n platform: state\n to: 'on'\n condition:\n - after: sunset\n after_offset: -00:30:00\n condition: sun\n action:\n - device_id: 8c28feb17fb74368ac8b2a30f2a66355\n domain: switch\n entity_id: switch.living_room_lamp\n type: turn_on",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lamp switch",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.living_room_lamp",
|
|
"device_id": "8c28feb17fb74368ac8b2a30f2a66355"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944974594'",
|
|
"automation": "- id: '1584944974594'\n alias: 'living_room: turn on the LED strip when the TV turns on or source changes'\n description: ''\n trigger:\n - entity_id: media_player.living_room_tv\n from: 'off'\n platform: state\n to: 'on'\n condition:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n action:\n - service: select.select_option\n data:\n option: '* Color 1'\n target:\n entity_id: select.tv_led_strip_color_palette\n - data:\n rgb_color:\n - 255\n - 170\n - 102\n brightness: 128\n effect: Solid\n entity_id: light.tv_led_strip\n service: light.turn_on",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tv led strip light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.tv_led_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tv led strip color palette select",
|
|
"room": "living_room",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.tv_led_strip_color_palette",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753008304907'",
|
|
"automation": "- id: '1753008304907'\n alias: 'ac: turn on/off heat transfer'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.heat_transfer_fan_desired_state\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n id: turn_on\n - trigger: state\n entity_id:\n - binary_sensor.heat_transfer_fan_desired_state\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 30\n id: turn_off\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - turn_on\n sequence:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.heat_transfer\n - conditions:\n - condition: trigger\n id:\n - turn_off\n sequence:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.heat_transfer\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "heat transfer fan desired state binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.heat_transfer_fan_desired_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "heat transfer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.heat_transfer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1626174525614'",
|
|
"automation": "- id: '1626174525614'\n alias: 'kitchen ambiance: turn on when motion detected at night'\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.hallway_motion_occupancy\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: binary_sensor.kitchen_motion_occupancy\n from: 'off'\n to: 'on'\n id: kitchen\n condition:\n - condition: or\n conditions:\n - condition: time\n after: '23:00'\n - condition: sun\n before: sunrise\n - condition: state\n entity_id: light.kitchen_strip\n state: 'off'\n - condition: state\n entity_id: light.bench_strip\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: light.kitchen\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: template\n value_template: '{{ trigger.id != ''kitchen'' or states(''vacuum.crystal'') not\n in [''cleaning'', ''returning''] }}\n\n '\n action:\n - service: light.turn_on\n data:\n brightness_pct: 30\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - service: light.turn_on\n data:\n transition: 5\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.internal_motion_occupancy\n from: 'on'\n to: 'off'\n for: 00:01:00\n - platform: state\n entity_id: light.kitchen\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: light.lounge\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: light.kitchen_strip\n from: 'on'\n to: 'off'\n - platform: state\n entity_id: light.bench_strip\n from: 'on'\n to: 'off'\n timeout: 00:10:00\n continue_on_timeout: true\n - service: light.turn_off\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hallway motion occupancy sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion occupancy sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum crystal",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.crystal",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bench strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bench_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lounge light",
|
|
"room": "lounge",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lounge",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1739261808471'",
|
|
"automation": "- id: '1739261808471'\n alias: turn on side passage light at sunset\n description: ''\n triggers:\n - trigger: sun\n event: sunset\n offset: 0\n conditions: []\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.side_passage\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "side passage light",
|
|
"room": "side_passage",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.side_passage",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'160077462353445'",
|
|
"automation": "- id: '160077462353445'\n alias: 'kitchen stat display: turn on on first motion detected, once per day, after\n sunrise'\n description: ''\n trigger:\n - platform: time\n at: '11:00:00'\n - platform: state\n entity_id: binary_sensor.internal_motion_occupancy\n to: 'on'\n condition:\n - condition: template\n value_template: '{{ state_attr(''automation.kitchen_stat_display_turn_on_on_first_motion_detected_once_per_day_after_sunrise'',\n ''last_triggered'') < now().replace(hour=3, minute=0, second=0) }}'\n - condition: state\n entity_id: group.all_people\n state: home\n - condition: sun\n after: sunrise\n action:\n - service: light.turn_on\n data: {}\n entity_id:\n - light.kitchen_stat_display_display_backlight\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "internal motion occupancy binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.internal_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen stat display display backlight light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_stat_display_display_backlight",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1669714700223'",
|
|
"automation": "- id: '1669714700223'\n alias: 'outdoor: turn tree lights on at sunset'\n description: 'outdoor: turn tree lights on at sunset'\n trigger:\n - platform: sun\n event: sunset\n offset: 30\n action:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.tree_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tree lights",
|
|
"room": "outdoor",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.tree_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584944483272'",
|
|
"automation": "- id: '1584944483272'\n alias: 'living_room: turn on christmas tree on apartment door open'\n description: \"Turn on the christmas tree when the apartment door opens when;\\n \\\n \\ * at night\\n * no presence detected (if presence is detected, the tree will\\\n \\ already be on)\"\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door_contact\n from: 'on'\n to: 'off'\n condition:\n - after: sunset\n after_offset: -00:60:00\n condition: sun\n - condition: state\n entity_id: group.all_people\n state: not_home\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.christmas_tree",
|
|
"config": [
|
|
{
|
|
"name": "front door contact sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "christmas tree light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.christmas_tree",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'9847983723966'",
|
|
"automation": "- id: '9847983723966'\n alias: 'kitchen ambiance: turn on when front door opens and no presence'\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door_contact\n from: 'off'\n to: 'on'\n condition:\n - condition: or\n conditions:\n - condition: sun\n before: sunrise\n - condition: sun\n after: sunset\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: light.kitchen\n state: 'on'\n - condition: state\n entity_id: group.all_people\n state: not_home\n action:\n - service: light.turn_on\n data:\n brightness_pct: 10\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - service: light.turn_on\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door contact sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bench strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bench_strip",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1584444187934'",
|
|
"automation": "- id: '1584444187934'\n alias: 'living_room: turn on christmas tree on presence detected'\n description: ''\n trigger:\n - entity_id: group.all_people\n from: not_home\n platform: state\n to: home\n condition:\n - after: sunset\n after_offset: -00:60:00\n condition: sun\n action:\n - service: light.turn_on\n data: {}\n entity_id: light.christmas_tree",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "christmas tree light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.christmas_tree",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'16261761231966'",
|
|
"automation": "- id: '16261761231966'\n alias: 'kitchen ambiance: turn on when presence is detected'\n description: ''\n trigger:\n - platform: state\n entity_id: group.all_people\n from: not_home\n to: home\n condition:\n - after: sunset\n after_offset: -00:60:00\n condition: sun\n - condition: state\n entity_id: input_boolean.away_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: light.kitchen\n state: 'on'\n action:\n - service: light.turn_on\n data:\n brightness_pct: 10\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n - service: light.turn_on\n target:\n entity_id:\n - light.kitchen_strip\n - light.bench_strip\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "away mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.away_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bench strip light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bench_strip",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'2398473894732294848'",
|
|
"automation": "- alias: 'dog_door: unlock dog door when arriving home'\n id: '2398473894732294848'\n mode: single\n trigger:\n - platform: state\n entity_id: group.all_people\n to: home\n condition: []\n action:\n - service: lock.unlock\n data: {}\n target:\n entity_id: lock.backyard_locked_in",
|
|
"config": [
|
|
{
|
|
"name": "group all people",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.all_people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "backyard locked in lock",
|
|
"room": "backyard",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.backyard_locked_in",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1591600935265'",
|
|
"automation": "- id: '1591600935265'\n alias: on UPS state change, send a notification\n description: ''\n trigger:\n - entity_id: sensor.ups_status\n platform: state\n condition: []\n action:\n - data_template:\n message: 'The UPS status changed to {{ trigger.from_state.state }} to {{ trigger.to_state.state\n }}\n\n '\n service: notify.admins",
|
|
"config": [
|
|
{
|
|
"name": "ups status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ups_status",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1753869972667'",
|
|
"automation": "- id: '1753869972667'\n alias: 'backyard: vege patch slave to pergola light'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - light.pergola\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - light.pergola\n to: 'off'\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.vege_patch\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.vege_patch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "pergola light",
|
|
"room": "backyard",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pergola",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vege patch light",
|
|
"room": "backyard",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.vege_patch",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1668130130306'",
|
|
"automation": "- id: '1668130130306'\n alias: Wake entry tablet on Front Door Activity\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - binary_sensor.front_door_person_detected\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: light.turn_on\n target:\n entity_id: light.hallway_tablet_fully_screen\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - service: browser_mod.popup\n data:\n size: wide\n timeout: 180000\n title: Front Door\n content:\n show_state: false\n show_name: false\n camera_view: live\n type: picture-entity\n entity: camera.front_door_high\n name: Front Door\n camera_image: camera.front_door_high\n tap_action:\n action: none\n hold_action:\n action: none\n target:\n device_id: entry-tablet\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door doorbell binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_doorbell",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door person detected binary sensor",
|
|
"room": "front",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_person_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway tablet fully screen light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway_tablet_fully_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door high camera",
|
|
"room": "front",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.front_door_high",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Entry Tablet",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "entry-tablet"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'16681301334584'",
|
|
"automation": "- id: '16681301334584'\n alias: Wake entry tablet on Hallway Motion\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.hallway_motion_occupancy\n from: 'off'\n to: 'on'\n condition: []\n action:\n - service: light.turn_on\n target:\n entity_id: light.hallway_tablet_fully_screen\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hallway motion occupancy sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway tablet fully screen light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway_tablet_fully_screen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1667282153223234'",
|
|
"automation": "- id: '1667282153223234'\n alias: 'irrigation: water front and back herbs at midday if hot'\n trigger:\n - platform: time\n at: '13:00:00'\n condition:\n - condition: or\n conditions:\n - alias: moisture sensor unavailable\n condition: state\n entity_id: sensor.front_herbs_moisture\n state: unavailable\n - alias: moisture less than 60%\n condition: numeric_state\n entity_id: sensor.front_herbs_moisture\n below: 60\n - alias: less than 5mm rain forecast\n condition: numeric_state\n entity_id: sensor.oatley_rain_amount_min_0\n below: 5\n - alias: today max temperature greater than 27\n condition: numeric_state\n entity_id: sensor.outdoor_temperature_max_8h\n above: 27\n action:\n - service: notify.mobile_app_nicks_iphone\n data:\n message: Turning on front and back herbs for a quick spritz\n title: Irrigation\n - service: switch.turn_on\n data: {}\n target:\n entity_id:\n - switch.front_herbs\n - switch.back_herbs\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front herbs moisture sensor",
|
|
"room": "front",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.front_herbs_moisture",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "oatley rain amount min 0 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.oatley_rain_amount_min_0",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outdoor temperature max 8h sensor",
|
|
"room": "outdoor",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.outdoor_temperature_max_8h",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front herbs switch",
|
|
"room": "front",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.front_herbs",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back herbs switch",
|
|
"room": "back",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.back_herbs",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'9304857534897'",
|
|
"automation": "- id: '9304857534897'\n alias: 'irrigation: water front and back lawns at sunrise if hot weather forecast'\n trigger:\n - platform: sun\n event: sunrise\n offset: -00:30:00\n condition:\n - alias: less than 5mm rain forecast\n condition: numeric_state\n entity_id: sensor.oatley_rain_amount_min_0\n below: 5\n - alias: forecast max temperature greater than 26\n condition: numeric_state\n entity_id: sensor.oatley_temp_max_0\n above: 26\n action:\n - service: notify.mobile_app_nicks_iphone\n data:\n message: Watering lawns as it will be hot today\n title: Irrigation\n - service: switch.turn_on\n data: {}\n target:\n entity_id:\n - switch.front_lawn\n - switch.back_lawn\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "oatley rain amount min 0 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.oatley_rain_amount_min_0",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "oatley temp max 0 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.oatley_temp_max_0",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lawn switch",
|
|
"room": "front",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.front_lawn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back lawn switch",
|
|
"room": "back",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.back_lawn",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'4328957543897'",
|
|
"automation": "- id: '4328957543897'\n alias: 'irrigation: water front and back lawns at sunset if it was hot today'\n trigger:\n - platform: sun\n event: sunset\n condition:\n - alias: less than 5mm rain forecast\n condition: numeric_state\n entity_id: sensor.oatley_rain_amount_min_0\n below: 5\n - alias: today max temperature greater than 28\n condition: numeric_state\n entity_id: sensor.outdoor_temperature_max_8h\n above: 28\n action:\n - service: notify.mobile_app_nicks_iphone\n data:\n message: Watering lawns as it was hot today\n title: Irrigation\n - service: switch.turn_on\n data: {}\n target:\n entity_id:\n - switch.front_lawn\n - switch.back_lawn\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "oatley rain amount min 0 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.oatley_rain_amount_min_0",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outdoor temperature max 8h sensor",
|
|
"room": "outdoor",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.outdoor_temperature_max_8h",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lawn switch",
|
|
"room": "front",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.front_lawn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "back lawn switch",
|
|
"room": "back",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.back_lawn",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |