1291 lines
50 KiB
JSON
1291 lines
50 KiB
JSON
[
|
|
{
|
|
"id": "alert_laundry_dryer_finished",
|
|
"automation": "- id: alert_laundry_dryer_finished\n alias: Alert (Laundry) - Dryer Finished\n mode: single\n triggers:\n - platform: state\n entity_id: sensor.dryer_job_state\n to: finished\n actions:\n - action: notify.notify\n data:\n title: Dryer\n message: Cycle complete",
|
|
"config": [
|
|
{
|
|
"name": "dryer job state sensor",
|
|
"room": "laundry",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.dryer_job_state",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alert_laundry_washer_finished",
|
|
"automation": "- id: alert_laundry_washer_finished\n alias: Alert (Laundry) - Washer Finished\n mode: single\n triggers:\n - platform: state\n entity_id: sensor.washer_job_state\n to: finish\n actions:\n - action: notify.notify\n data:\n title: Washer\n message: Cycle complete",
|
|
"config": [
|
|
{
|
|
"name": "washer job state sensor",
|
|
"room": "laundry",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.washer_job_state",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alert_garage_door_closing_failed",
|
|
"automation": "- id: alert_garage_door_closing_failed\n alias: Alert (Garage) - Closing Failed\n mode: single\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closing\n to: opening\n conditions:\n - '{{ trigger.from_state and trigger.to_state and trigger.from_state.attributes.current_position\n < 5 }}'\n - '{{ is_state(\"binary_sensor.garage_door_obstruction\", \"off\") }}'\n - '{{ is_state(\"input_boolean.garage_door_closing_failed_alert\", \"on\") }}'\n actions:\n - action: notify.notify\n data:\n title: Garage Door\n message: Failed to close\n - action: notify.alexa_media\n data:\n data:\n type: announce\n message: Garage Door failed to close\n target:\n - media_player.garage_echo\n - media_player.kitchen_echo\n - media_player.living_room_echo\n title: Garage Door",
|
|
"config": [
|
|
{
|
|
"name": "garage door",
|
|
"room": "garage",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door obstruction sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door_obstruction",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door closing failed alert",
|
|
"room": "garage",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.garage_door_closing_failed_alert",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage echo",
|
|
"room": "garage",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.garage_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen echo",
|
|
"room": "kitchen",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.kitchen_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room echo",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Garage Door",
|
|
"room": "Garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alert_garage_door_left_open",
|
|
"automation": "- id: alert_garage_door_left_open\n alias: Alert (Garage) - Door Left Open\n mode: single\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: open\n for:\n minutes: '{{ states(\"input_number.garage_door_open_alert_time\") }}'\n - trigger: state\n entity_id:\n - binary_sensor.garage_door_motion\n - binary_sensor.garage_door_obstruction\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.garage_door_open_alert_time\") }}'\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: open\n for:\n minutes: '{{ states(\"input_number.garage_door_open_alert_time\") }}'\n - condition: state\n entity_id:\n - binary_sensor.garage_door_motion\n - binary_sensor.garage_door_obstruction\n state: 'off'\n for:\n minutes: '{{ states(\"input_number.garage_door_open_alert_time\") }}'\n actions:\n - action: notify.notify\n data:\n title: Garage Door\n message: Left open",
|
|
"config": [
|
|
{
|
|
"name": "garage door",
|
|
"room": "garage",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door obstruction sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door_obstruction",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door motion sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door open alert time",
|
|
"room": "garage",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.garage_door_open_alert_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Garage Door",
|
|
"room": "Garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "basement_guest_staying_over_changed",
|
|
"automation": "- id: basement_guest_staying_over_changed\n alias: Basement - Guest Staying Over Changed\n mode: single\n triggers:\n - trigger: state\n entity_id: input_boolean.basement_guest_staying_over\n actions:\n - if:\n - '{{ is_state(\"input_boolean.basement_guest_staying_over\", \"on\") }}'\n then:\n - parallel:\n - action: script.basement_bathroom_disable_motion\n else:\n - parallel:\n - action: script.basement_bathroom_enable_motion",
|
|
"config": [
|
|
{
|
|
"name": "basement guest staying over",
|
|
"room": "basement",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.basement_guest_staying_over",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "basement_shades_open",
|
|
"automation": "- id: basement_shades_open\n alias: Basement Shades - Open\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_trigger: none\n second_trigger: time\n second_time_helper: input_datetime.basement_shades_open\n second_conditions:\n - '{{ is_state(\"input_boolean.basement_guest_staying_over\", \"on\") }}'\n - '{{ is_state(\"input_boolean.basement_shades_open\", \"on\") }}'\n - '{{ state_attr(\"cover.basement_shades\", \"current_position\") < float(states(\"input_number.basement_shades_open_percent\"))\n }}'\n second_actions:\n - action: cover.set_cover_position\n data:\n position: '{{ states(\"input_number.basement_shades_open_percent\") }}'\n target:\n entity_id: cover.basement_shades\n third_trigger: time\n third_time_helper: sensor.shades_open_time\n third_conditions:\n - '{{ is_state(\"input_boolean.basement_guest_staying_over\", \"off\") }}'\n third_actions:\n - action: cover.open_cover\n target:\n entity_id: cover.basement_shades",
|
|
"config": [
|
|
{
|
|
"name": "basement guest staying over",
|
|
"room": "basement",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.basement_guest_staying_over",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "basement shades open time",
|
|
"room": "basement",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.basement_shades_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "basement shades open",
|
|
"room": "basement",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.basement_shades_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "basement shades",
|
|
"room": "basement",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.basement_shades",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "basement shades open percent",
|
|
"room": "basement",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.basement_shades_open_percent",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shades open time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.shades_open_time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "theatre_remote_on_off",
|
|
"automation": "- id: theatre_remote_on_off\n alias: Theatre Remote - On & Off\n use_blueprint:\n path: samuelkadolph/remote_automation.yaml\n input:\n remote: remote.theatre\n on_actions:\n - parallel: []\n off_actions:\n - parallel:\n - if:\n - '{{ is_state(\"input_boolean.basement_guest_staying_over\", \"off\") }}'\n then:\n - action: fan.turn_off\n target:\n entity_id: fan.theatre_dyson\n activity_changed_actions:\n - parallel:\n - if:\n - '{{ is_state(\"input_boolean.basement_guest_staying_over\", \"off\") }}'\n - '{{ is_state(\"input_boolean.theatre_projector_disables_bathroom_occupancy\",\n \"on\") }}'\n then:\n - action: zwave_js.set_config_parameter\n data:\n parameter: 3\n value: '{{ state_attr(\"remote.theatre\", \"current_activity\") is search(\"w/P$\")\n and 2 or 3 }}'\n target:\n entity_id: switch.basement_bathroom_lights\n - if:\n - '{{ is_state(\"input_boolean.theatre_projector_closes_shades\", \"on\") }}'\n then:\n - if:\n - '{{ state_attr(\"remote.theatre\", \"current_activity\") is search(\"w/P$\")\n }}'\n then:\n - if:\n - '{{ state_attr(\"sun.sun\", \"elevation\") > float(states(\"input_number.theatre_projector_closes_shades_sun_elevation\"))\n }}'\n then:\n - action: cover.close_cover\n target:\n entity_id: cover.basement_shades\n else:\n - if:\n - '{{ is_state(\"input_boolean.basement_guest_staying_over\", \"off\") }}'\n then:\n - action: cover.open_cover\n target:\n entity_id: cover.basement_shades",
|
|
"config": [
|
|
{
|
|
"name": "basement guest staying over",
|
|
"room": "basement",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.basement_guest_staying_over",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "basement shades",
|
|
"room": "basement",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.basement_shades",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "theatre remote",
|
|
"room": "theatre",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": "remote.theatre",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "theatre dyson fan",
|
|
"room": "theatre",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.theatre_dyson",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "theatre projector disables bathroom occupancy",
|
|
"room": "theatre",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.theatre_projector_disables_bathroom_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "basement bathroom lights switch",
|
|
"room": "basement_bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.basement_bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "theatre projector closes shades",
|
|
"room": "theatre",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.theatre_projector_closes_shades",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "theatre projector closes shades sun elevation",
|
|
"room": "theatre",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.theatre_projector_closes_shades_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "family_room_shades_close_open",
|
|
"automation": "- id: family_room_shades_close_open\n alias: Family Room Shades - Close & Open\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_trigger: elevation_below\n first_elevation_helper: input_number.shades_close_sun_elevation\n first_conditions:\n - '{{ int(states(\"zone.home\")) > 0 }}'\n first_actions:\n - action: script.family_room_close_shades\n second_trigger: time\n second_time_helper: sensor.shades_open_time\n second_actions:\n - action: cover.open_cover\n target:\n entity_id: cover.family_room_shades",
|
|
"config": [
|
|
{
|
|
"name": "shades open time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.shades_open_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shades close sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.shades_close_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "family room shades",
|
|
"room": "family_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.family_room_shades",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "family_room_shades_close_w_arrival",
|
|
"automation": "- id: family_room_shades_close_w_arrival\n alias: Family Room Shades - Close w/ Arrival\n mode: single\n triggers:\n - trigger: state\n entity_id: zone.home\n from: '0'\n conditions:\n - '{{ trigger.from_state and trigger.to_state and (int(trigger.from_state.state)\n < int(trigger.to_state.state)) }}'\n - '{{ state_attr(\"sun.sun\", \"elevation\") < float(states(\"input_number.shades_close_sun_elevation\"))\n }}'\n actions:\n - action: script.family_room_close_shades",
|
|
"config": [
|
|
{
|
|
"name": "sun sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shades close sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.shades_close_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "garage_off_22_00",
|
|
"automation": "- id: garage_off_22_00\n alias: Garage - Off @ 22:00\n mode: single\n triggers:\n - trigger: time\n at: '22:00:00'\n actions:\n - action: script.garage_turn_off",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "garage_door_garage_lights_switch_triple",
|
|
"automation": "- id: garage_door_garage_lights_switch_triple\n alias: Garage Door - Garage Lights Switch (Triple)\n use_blueprint:\n path: samuelkadolph/zooz_zen7677_covers.yaml\n input:\n switch: 4e1a97e407a9f5d6ee3717abbfafc4b8\n paddle_taps: KeyPressed3x\n paddle_hold: false\n state_variable: input_number.garage_door_control_state\n covers: cover.garage_door",
|
|
"config": [
|
|
{
|
|
"name": "garage door",
|
|
"room": "garage",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door switch",
|
|
"room": "garage",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "4e1a97e407a9f5d6ee3717abbfafc4b8"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "garage_door_lights_garage_door_opened",
|
|
"automation": "- id: garage_door_lights_garage_door_opened\n alias: Garage Door Lights - Garage Door Opened\n mode: single\n max_exceeded: silent\n triggers:\n - platform: state\n entity_id: binary_sensor.garage_door\n to: 'on'\n actions:\n - if:\n - '{{ is_state(\"light.garage_door_lights\", \"off\") }}'\n then:\n - action: light.turn_on\n target:\n entity_id: light.garage_door_lights\n - repeat:\n until:\n - condition: state\n entity_id:\n - binary_sensor.garage_door\n state: 'off'\n for:\n seconds: 30\n - condition: state\n entity_id:\n - binary_sensor.garage_door_motion\n - binary_sensor.garage_door_obstruction\n state: 'off'\n for:\n seconds: 120\n sequence:\n - delay:\n seconds: 5\n - action: light.turn_off\n target:\n entity_id: light.garage_door_lights",
|
|
"config": [
|
|
{
|
|
"name": "garage door obstruction sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door_obstruction",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door motion sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door lights",
|
|
"room": "garage",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.garage_door_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Garage Door",
|
|
"room": "Garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bookshelf_lights_nook_switch_triple",
|
|
"automation": "- id: bookshelf_lights_nook_switch_triple\n alias: Bookshelf Lights - Nook Switch (Triple)\n use_blueprint:\n path: samuelkadolph/zooz_zen7677_lights.yaml\n input:\n switch: dd3384ec26ab7f0a6b263cbaa2819949\n double_tap: true\n paddle_hold: true\n subjects: light.bookshelf_lights",
|
|
"config": [
|
|
{
|
|
"name": "bookshelf lights",
|
|
"room": "nook",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bookshelf_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nook switch",
|
|
"room": "nook",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "dd3384ec26ab7f0a6b263cbaa2819949"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bookshelf_lights_on_off",
|
|
"automation": "- id: bookshelf_lights_on_off\n alias: Bookshelf Lights - On & Off\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_elevation_helper: input_number.outside_lights_on_sun_elevation\n first_conditions:\n - '{{ int(states(\"zone.home\")) > 0 }}'\n first_actions:\n - action: light.turn_on\n target:\n entity_id: light.bookshelf_lights\n second_time_helper: input_datetime.bookshelf_lights_off_time\n second_actions:\n - action: light.turn_off\n target:\n entity_id: light.bookshelf_lights",
|
|
"config": [
|
|
{
|
|
"name": "zone home",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bookshelf lights",
|
|
"room": "nook",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bookshelf_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights on sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.outside_lights_on_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bookshelf lights off time",
|
|
"room": "nook",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bookshelf_lights_off_time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bookshelf_lights_on_w_arrival",
|
|
"automation": "- id: bookshelf_lights_on_w_arrival\n alias: Bookshelf Lights - On w/ Arrival\n mode: single\n triggers:\n - trigger: state\n entity_id: zone.home\n from: '0'\n conditions:\n - condition: time\n before: input_datetime.bookshelf_lights_off_time\n after: '12:00:00'\n - '{{ trigger.from_state and trigger.to_state and (int(trigger.from_state.state)\n < int(trigger.to_state.state)) }}'\n - '{{ state_attr(\"sun.sun\", \"elevation\") < float(states(\"input_number.outside_lights_on_sun_elevation\"))\n }}'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.bookshelf_lights",
|
|
"config": [
|
|
{
|
|
"name": "sun sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bookshelf lights",
|
|
"room": "nook",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bookshelf_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights on sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.outside_lights_on_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bookshelf lights off time",
|
|
"room": "nook",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bookshelf_lights_off_time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "nook_shade_close_open",
|
|
"automation": "- id: nook_shade_close_open\n alias: Nook Shade - Close & Open\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_elevation_helper: input_number.shades_close_sun_elevation\n first_actions:\n - action: script.nook_close_shade\n second_time_helper: sensor.shades_open_time\n second_actions:\n - action: cover.open_cover\n target:\n entity_id: cover.nook_shade",
|
|
"config": [
|
|
{
|
|
"name": "shades open time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.shades_open_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shades close sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.shades_close_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nook shade",
|
|
"room": "nook",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.nook_shade",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "nook_shade_nook_switch_single",
|
|
"automation": "- id: nook_shade_nook_switch_single\n alias: Nook Shade - Nook Switch (Single)\n use_blueprint:\n path: samuelkadolph/zooz_zen7677_covers.yaml\n input:\n switch: dd3384ec26ab7f0a6b263cbaa2819949\n paddle_taps: KeyPressed3x\n state_variable: input_number.nook_shade_control_state\n covers: cover.nook_shade",
|
|
"config": [
|
|
{
|
|
"name": "nook shade",
|
|
"room": "nook",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.nook_shade",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nook shade control state",
|
|
"room": "nook",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.nook_shade_control_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nook switch",
|
|
"room": "nook",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "dd3384ec26ab7f0a6b263cbaa2819949"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ktichen_fountain_on_04_00",
|
|
"automation": "- id: ktichen_fountain_on_04_00\n alias: Kitchen Fountain - On @ 04:00\n mode: single\n triggers:\n - trigger: time\n at: 04:00:00\n actions:\n - action: switch.turn_on\n target:\n entity_id: switch.kitchen_fountain",
|
|
"config": [
|
|
{
|
|
"name": "kitchen fountain",
|
|
"room": "kitchen",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.kitchen_fountain",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "kitchen_shades_counter_lights_switch_triple",
|
|
"automation": "- id: kitchen_shades_counter_lights_switch_triple\n alias: Kitchen Shades - Counter Lights Switch (Triple)\n use_blueprint:\n path: samuelkadolph/homeseer_wx300_covers.yaml\n input:\n switch: 3712c852fbe82c0af857879df3fa1ce0\n paddle_taps: KeyPressed3x\n paddle_hold: false\n state_variable: input_number.kitchen_shades_control_state\n covers: cover.kitchen_shades",
|
|
"config": [
|
|
{
|
|
"name": "kitchen shades control state",
|
|
"room": "kitchen",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.kitchen_shades_control_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen shades",
|
|
"room": "kitchen",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.kitchen_shades",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen counter lights switch",
|
|
"room": "kitchen",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "3712c852fbe82c0af857879df3fa1ce0"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "toaster_oven_off_04_00",
|
|
"automation": "- id: toaster_oven_off_04_00\n alias: Toaster Oven - Off @ 04:00\n mode: single\n triggers:\n - trigger: time\n at: 04:00:00\n actions:\n - action: switch.turn_off\n target:\n entity_id: switch.toaster_oven",
|
|
"config": [
|
|
{
|
|
"name": "toaster oven",
|
|
"room": "kitchen",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.toaster_oven",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "laundry_room_fountain_on_04_00",
|
|
"automation": "- id: laundry_room_fountain_on_04_00\n alias: Laundry Room Fountain - On @ 04:00\n mode: single\n triggers:\n - trigger: time\n at: 04:00:00\n actions:\n - action: switch.turn_on\n target:\n entity_id: switch.laundry_room_fountain",
|
|
"config": [
|
|
{
|
|
"name": "laundry room fountain",
|
|
"room": "laundry",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.laundry_room_fountain",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "laundry_room_lights_motion",
|
|
"automation": "- id: laundry_room_lights_motion\n alias: Laundry Room Lights - Motion\n use_blueprint:\n path: homeassistant/motion_light.yaml\n input:\n motion_entity: binary_sensor.laundry_room_sensor_motion_detection\n light_target:\n entity_id: light.laundry_room_lights\n no_motion_wait: 0",
|
|
"config": [
|
|
{
|
|
"name": "laundry room sensor motion detection",
|
|
"room": "laundry",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.laundry_room_sensor_motion_detection",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry room lights",
|
|
"room": "laundry",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.laundry_room_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "laundry_roomy_shade_lights_switch_triple",
|
|
"automation": "- id: laundry_roomy_shade_lights_switch_triple\n alias: Laundry Room Shade - Lights Switch (Triple)\n use_blueprint:\n path: samuelkadolph/homeseer_wx300_covers.yaml\n input:\n switch: aae6adcd021b82caa28dd808ef3ecf20\n paddle_taps: KeyPressed3x\n paddle_hold: false\n state_variable: input_number.laundry_room_shade_control_state\n covers: cover.laundry_room_shade",
|
|
"config": [
|
|
{
|
|
"name": "laundry room shade control state",
|
|
"room": "laundry",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.laundry_room_shade_control_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry room shade",
|
|
"room": "laundry",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.laundry_room_shade",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry room lights switch",
|
|
"room": "laundry",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "aae6adcd021b82caa28dd808ef3ecf20"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "laundry_room_shade_open",
|
|
"automation": "- id: laundry_room_shade_open\n alias: Laundry Room Shade - Open\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_trigger: none\n second_time_helper: sensor.shades_open_time\n second_actions:\n - action: cover.open_cover\n target:\n entity_id: cover.laundry_room_shade",
|
|
"config": [
|
|
{
|
|
"name": "shades open time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.shades_open_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "laundry room shade",
|
|
"room": "laundry",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.laundry_room_shade",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "master_bedroom_air_night_day",
|
|
"automation": "- id: master_bedroom_air_night_day\n alias: Master Bedroom Air - Night & Day\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_trigger: time\n first_time_helper: sensor.master_bedroom_air_night_time\n first_actions:\n - action: script.master_bedroom_air_night\n second_trigger: time\n second_time_helper: input_datetime.master_bedroom_air_day\n second_actions:\n - action: script.master_bedroom_air_day",
|
|
"config": [
|
|
{
|
|
"name": "master bedroom air night time",
|
|
"room": "master_bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.master_bedroom_air_night_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom air day",
|
|
"room": "master_bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.master_bedroom_air_day",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "master_bedroom_air_night_w_sam_arrival",
|
|
"automation": "- id: master_bedroom_air_night_w_sam_arrival\n alias: Master Bedroom Air - Night w/ Sam Arrival\n mode: single\n triggers:\n - trigger: state\n entity_id: person.samuel_kadolph\n to: home\n conditions:\n - condition: time\n after: sensor.master_bedroom_air_night_time\n before: input_datetime.master_bedroom_air_day\n actions:\n - action: script.master_bedroom_air_night",
|
|
"config": [
|
|
{
|
|
"name": "master bedroom air night time",
|
|
"room": "master_bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.master_bedroom_air_night_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom air day",
|
|
"room": "master_bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.master_bedroom_air_day",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "samuel kadolph person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.samuel_kadolph",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "master_bedroom_shades_close_open",
|
|
"automation": "- id: master_bedroom_shades_close_open\n alias: Master Bedroom Shades - Close & Open\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_trigger: elevation_below\n first_elevation_helper: input_number.shades_close_sun_elevation\n first_conditions:\n - '{{ state_attr(\"cover.master_bedroom_shades\", \"current_position\") > float(states(\"sensor.shades_close_percent\"))\n }}'\n first_actions:\n - action: cover.set_cover_position\n data:\n position: '{{ states(\"sensor.shades_close_percent\") }}'\n target:\n entity_id: cover.master_bedroom_shades\n second_trigger: time\n second_time_helper: input_datetime.master_bedroom_shades_first_open\n second_conditions:\n - '{{ is_state(\"input_boolean.master_bedroom_shades_first_open\", \"on\") }}'\n - '{{ is_state(\"person.sasha_keller\", \"home\") }}'\n - '{{ now().weekday() < 5 }}'\n - '{{ state_attr(\"cover.master_bedroom_shades\", \"current_position\") < float(states(\"input_number.master_bedroom_shades_first_open_percent\"))\n }}'\n second_actions:\n - action: cover.set_cover_position\n data:\n position: '{{ states(\"input_number.master_bedroom_shades_first_open_percent\")\n }}'\n target:\n entity_id: cover.master_bedroom_shades\n third_trigger: time\n third_time_helper: input_datetime.master_bedroom_shades_second_open\n third_conditions:\n - '{{ is_state(\"input_boolean.master_bedroom_shades_second_open\", \"on\") }}'\n - '{{ state_attr(\"cover.master_bedroom_shades\", \"current_position\") < float(states(\"input_number.master_bedroom_shades_second_open_percent\"))\n }}'\n third_actions:\n - action: cover.set_cover_position\n data:\n position: '{{ states(\"input_number.master_bedroom_shades_second_open_percent\")\n }}'\n target:\n entity_id: cover.master_bedroom_shades",
|
|
"config": [
|
|
{
|
|
"name": "shades close sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.shades_close_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades",
|
|
"room": "master_bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.master_bedroom_shades",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shades close percent",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.shades_close_percent",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades first open",
|
|
"room": "master_bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.master_bedroom_shades_first_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades first open switch",
|
|
"room": "master_bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.master_bedroom_shades_first_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sasha keller person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.sasha_keller",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades first open percent",
|
|
"room": "master_bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.master_bedroom_shades_first_open_percent",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades second open",
|
|
"room": "master_bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.master_bedroom_shades_second_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades second open switch",
|
|
"room": "master_bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.master_bedroom_shades_second_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "master bedroom shades second open percent",
|
|
"room": "master_bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.master_bedroom_shades_second_open_percent",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "office_on_w_motion",
|
|
"automation": "- id: office_on_w_motion\n alias: Office On w/ Motion\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.office_sensor_motion_detection\n - binary_sensor.office_fan_occupancy\n to: 'on'\n conditions:\n - condition: time\n after: 07:00:00\n before: '22:00:00'\n - '{{ is_state(\"media_player.office_receiver_main_zone\", \"off\") }}'\n - '{{ is_state(\"person.samuel_kadolph\", \"home\") }}'\n actions:\n - action: script.office_turn_on",
|
|
"config": [
|
|
{
|
|
"name": "samuel kadolph person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.samuel_kadolph",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office sensor motion detection",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.office_sensor_motion_detection",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office fan occupancy",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.office_fan_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office receiver main zone",
|
|
"room": "office",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.office_receiver_main_zone",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "office_shade_a_shade_switch_double",
|
|
"automation": "- id: office_shade_a_shade_switch_double\n alias: Office Shade A - Shade Switch (Double)\n use_blueprint:\n path: samuelkadolph/zooz_zen7677_covers.yaml\n input:\n switch: 377491888ebce3477efd3943614694b6\n paddle_taps: KeyPressed2x\n paddle_hold: false\n state_variable: input_number.office_shade_a_control_state\n covers: cover.office_shade_a",
|
|
"config": [
|
|
{
|
|
"name": "office shade a control state",
|
|
"room": "office",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.office_shade_a_control_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shade a",
|
|
"room": "office",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.office_shade_a",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shade switch",
|
|
"room": "office",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "377491888ebce3477efd3943614694b6"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "office_shade_b_shade_switch_triple",
|
|
"automation": "- id: office_shade_b_shade_switch_triple\n alias: Office Shade B - Shade Switch (Triple)\n use_blueprint:\n path: samuelkadolph/zooz_zen7677_covers.yaml\n input:\n switch: 377491888ebce3477efd3943614694b6\n paddle_taps: KeyPressed3x\n paddle_hold: false\n state_variable: input_number.office_shade_b_control_state\n covers: cover.office_shade_b",
|
|
"config": [
|
|
{
|
|
"name": "office shade b control state",
|
|
"room": "office",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.office_shade_b_control_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shade b",
|
|
"room": "office",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.office_shade_b",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shade switch",
|
|
"room": "office",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "377491888ebce3477efd3943614694b6"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "office_shades_close_open",
|
|
"automation": "- id: office_shades_close_open\n alias: Office Shades - Close & Open\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_elevation_helper: input_number.shades_close_sun_elevation\n first_conditions:\n - condition: state\n entity_id:\n - binary_sensor.office_fan_occupancy\n - binary_sensor.office_sensor_motion_detection\n match: any\n state: 'on'\n first_actions:\n - action: script.office_lockdown\n second_time_helper: sensor.shades_open_time\n second_actions:\n - action: cover.open_cover\n target:\n entity_id: cover.office_shades",
|
|
"config": [
|
|
{
|
|
"name": "shades open time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.shades_open_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shades close sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.shades_close_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office sensor motion detection",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.office_sensor_motion_detection",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office fan occupancy",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.office_fan_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shades",
|
|
"room": "office",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.office_shades",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "office_shades_shade_switch_single",
|
|
"automation": "- id: office_shades_shade_switch_single\n alias: Office Shades - Shade Switch (Single)\n use_blueprint:\n path: samuelkadolph/zooz_zen7677_covers.yaml\n input:\n switch: 377491888ebce3477efd3943614694b6\n state_variable: input_number.office_shades_control_state\n covers: cover.office_shades",
|
|
"config": [
|
|
{
|
|
"name": "office shades",
|
|
"room": "office",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.office_shades",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shades control state",
|
|
"room": "office",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.office_shades_control_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office shade switch",
|
|
"room": "office",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "377491888ebce3477efd3943614694b6"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "outside_lights_on_off",
|
|
"automation": "- id: outside_lights_on_off\n alias: Outside Lights - On & Off\n use_blueprint:\n path: samuelkadolph/automaton.yaml\n input:\n first_elevation_helper: input_number.outside_lights_on_sun_elevation\n first_conditions:\n - '{{ is_state(\"input_boolean.seasonal_lights\", \"off\") }}'\n first_actions:\n - action: light.turn_on\n target:\n entity_id: light.soffit_lights\n second_time_helper: sensor.outside_lights_off_time\n second_actions:\n - action: light.turn_off\n target:\n entity_id: light.outside_lights",
|
|
"config": [
|
|
{
|
|
"name": "outside lights on sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.outside_lights_on_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "seasonal lights",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.seasonal_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "soffit lights",
|
|
"room": "outside",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.soffit_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights off time",
|
|
"room": "outside",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.outside_lights_off_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights",
|
|
"room": "outside",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.outside_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "outside_lights_on_w_arrival",
|
|
"automation": "- id: outside_lights_on_w_arrival\n alias: Outside Lights - On w/ Arrival\n mode: single\n triggers:\n - trigger: state\n entity_id: zone.home\n conditions:\n - '{{ is_state(\"input_boolean.outside_lights_on_with_arrival\", \"on\") }}'\n - '{{ trigger.from_state and trigger.to_state and (int(trigger.from_state.state)\n < int(trigger.to_state.state)) }}'\n - '{{ state_attr(\"sun.sun\", \"elevation\") < float(states(\"input_number.outside_lights_on_sun_elevation\"))\n }}'\n actions:\n - parallel:\n - if:\n - '{{ is_state(\"light.porch_lights\", \"off\") }}'\n then:\n - action: light.turn_on\n target:\n entity_id: light.porch_lights\n - delay:\n minutes: '{{ states(\"input_number.outside_lights_arrival_on_time\") }}'\n - action: light.turn_off\n target:\n entity_id: light.porch_lights\n - if:\n - '{{ is_state(\"light.side_door_lights\", \"off\") }}'\n then:\n - action: light.turn_on\n target:\n entity_id: light.side_door_lights\n - delay:\n minutes: '{{ states(\"input_number.outside_lights_arrival_on_time\") }}'\n - action: light.turn_off\n target:\n entity_id: light.side_door_lights\n - if:\n - '{{ is_state(\"light.soffit_lights\", \"off\") }}'\n then:\n - action: light.turn_on\n target:\n entity_id: light.soffit_lights\n - delay:\n minutes: '{{ states(\"input_number.outside_lights_arrival_on_time\") }}'\n - action: light.turn_off\n target:\n entity_id: light.soffit_lights",
|
|
"config": [
|
|
{
|
|
"name": "sun sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights on sun elevation",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.outside_lights_on_sun_elevation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "soffit lights",
|
|
"room": "outside",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.soffit_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights on with arrival",
|
|
"room": "outside",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.outside_lights_on_with_arrival",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "porch lights",
|
|
"room": "outside",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.porch_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "side door lights",
|
|
"room": "outside",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.side_door_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "outside lights arrival on time",
|
|
"room": "outside",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.outside_lights_arrival_on_time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dead_zwave_nodes_ping",
|
|
"automation": "- id: dead_zwave_nodes_ping\n alias: Dead ZWave Nodes Ping\n mode: restart\n triggers:\n - trigger: state\n entity_id: sensor.dead_zwave_nodes\n for:\n minutes: 5\n actions:\n - repeat:\n while:\n - '{{ int(states(\"sensor.dead_zwave_nodes\")) > 0 }}'\n sequence:\n - delay:\n minutes: 15\n - repeat:\n for_each: '{{ state_attr(\"sensor.dead_zwave_nodes\", \"nodes\") }}'\n sequence:\n - delay:\n seconds: 30\n - action: system_log.write\n data:\n level: info\n message: Z-Wave node '{{ device_attr(device_id(\"sensor.\" + repeat.item),\n \"name\") }}' is dead, sending a ping\n - action: button.press\n target:\n entity_id: button.{{ repeat.item | replace(\"_node_status\", \"_ping\")\n }}",
|
|
"config": [
|
|
{
|
|
"name": "dead zwave nodes",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.dead_zwave_nodes",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |