5498 lines
243 KiB
JSON
5498 lines
243 KiB
JSON
[
|
|
{
|
|
"id": "81bee5ee-6820-4626-aebf-3deb8de69e4d",
|
|
"automation": "- id: 81bee5ee-6820-4626-aebf-3deb8de69e4d\n alias: Turn On Audible Notifications\n initial_state: true\n trigger:\n platform: template\n value_template: '{{ states(''sensor.time'') == (state_attr(''input_datetime.audible_notification_on'',\n ''timestamp'') | int | timestamp_custom(''%H:%M'', False)) }}'\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.audible_notifications",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "audible notification on input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.audible_notification_on",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e0e9c774-6abe-42aa-bdab-32108bebb0e9",
|
|
"automation": "- id: e0e9c774-6abe-42aa-bdab-32108bebb0e9\n alias: Turn Off Audible Notifications\n initial_state: true\n trigger:\n - platform: template\n value_template: '{{ states(''sensor.time'') == (state_attr(''input_datetime.audible_notification_off'',\n ''timestamp'') | int | timestamp_custom(''%H:%M'', False)) }}'\n condition:\n - condition: state\n entity_id: input_boolean.audible_notifications\n state: 'on'\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.audible_notifications",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "audible notification off input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.audible_notification_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "time_for_bed_annc",
|
|
"automation": "- id: time_for_bed_annc\n alias: Time For Bed Announcement\n mode: single\n trigger:\n - platform: time\n at: '22:30:00'\n condition: []\n action:\n - service: script.status_annc\n data:\n who: everywhere\n call_time_for_bed: 1",
|
|
"config": [
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "a3739bb0-632d-4526-bf82-ee4e27b80882",
|
|
"automation": "- id: a3739bb0-632d-4526-bf82-ee4e27b80882\n alias: Set Room Presence\n mode: restart\n trigger:\n - platform: state\n entity_id: sensor.room_audio\n action:\n - service: input_text.set_value\n data:\n entity_id: input_text.room_presence\n value: '{{ states(''sensor.room_audio'') }}'\n - service: mqtt.publish\n data:\n topic: house/presence/current_room\n payload: '{{ states(''sensor.room_audio'') }}'\n retain: true",
|
|
"config": [
|
|
{
|
|
"name": "room audio sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_audio",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "room presence input text",
|
|
"room": null,
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.room_presence",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8a2711f5-a034-4df0-ba67-4b8f85ceaaee",
|
|
"automation": "- id: 8a2711f5-a034-4df0-ba67-4b8f85ceaaee\n alias: Notification Volume Dim\n initial_state: true\n trigger:\n - platform: state\n entity_id: input_boolean.audible_notifications\n to: 'off'\n action:\n - service: media_player.volume_set\n data:\n entity_id:\n - media_player.kitchen_echo_dot\n - media_player.living_room_echo\n - media_player.chris_s_echo_flex\n - media_player.chris_s_echo_show\n - media_player.lab_echo_dot\n volume_level: 0.3",
|
|
"config": [
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen echo dot media player",
|
|
"room": "kitchen",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.kitchen_echo_dot",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room echo media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo flex media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chris_s_echo_flex",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo show media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chris_s_echo_show",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab echo dot media player",
|
|
"room": "lab",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.lab_echo_dot",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "d5fe0a64-9012-4446-b946-cbcafb2c0728",
|
|
"automation": "- id: d5fe0a64-9012-4446-b946-cbcafb2c0728\n alias: Notification Volume Normal\n initial_state: true\n trigger:\n - platform: state\n entity_id: input_boolean.audible_notifications\n to: 'on'\n action:\n - service: media_player.volume_set\n data:\n entity_id:\n - media_player.kitchen_echo_dot\n - media_player.living_room_echo\n - media_player.chris_s_echo_flex\n - media_player.chris_s_echo_show\n - media_player.lab_echo_dot\n volume_level: 0.5",
|
|
"config": [
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen echo dot media player",
|
|
"room": "kitchen",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.kitchen_echo_dot",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room echo media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo flex media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chris_s_echo_flex",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo show media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chris_s_echo_show",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab echo dot media player",
|
|
"room": "lab",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.lab_echo_dot",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "28c0e7a6-4024-48c9-a422-8b8ffc3a86d1",
|
|
"automation": "- id: 28c0e7a6-4024-48c9-a422-8b8ffc3a86d1\n alias: Set Last Alexa Called Time\n initial_state: true\n trigger:\n - platform: state\n entity_id:\n - media_player.kitchen_echo_dot\n - media_player.living_room_echo\n - media_player.chris_s_echo_flex\n - media_player.chris_s_echo_show\n - media_player.lab_echo_dot\n condition:\n - condition: template\n value_template: '{{ trigger.to_state.attributes.last_called_timestamp | float\n > trigger.from_state.attributes.last_called_timestamp | float }}'\n action:\n - service: input_datetime.set_datetime\n target:\n entity_id: input_datetime.last_time_alexa_called\n data:\n datetime: '{{ now().strftime(''%Y-%m-%d %H:%M:%S'') }}'",
|
|
"config": [
|
|
{
|
|
"name": "kitchen echo dot media player",
|
|
"room": "kitchen",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.kitchen_echo_dot",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room echo media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo flex media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chris_s_echo_flex",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo show media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chris_s_echo_show",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab echo dot media player",
|
|
"room": "lab",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.lab_echo_dot",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "last time alexa called input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.last_time_alexa_called",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "06611dfc596b4d79bc1b3cde11e93347",
|
|
"automation": "- alias: Bathroom Humidity High\n id: 06611dfc596b4d79bc1b3cde11e93347\n trigger:\n - platform: numeric_state\n entity_id: sensor.bathroom_humidity\n above: input_number.bathroom_humidity_high_level\n for: 00:00:30\n action:\n - service: switch.turn_on\n entity_id: switch.bathroom_fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom humidity sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bathroom_humidity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom humidity high level input number",
|
|
"room": "bathroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bathroom_humidity_high_level",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom fan switch",
|
|
"room": "bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.bathroom_fan",
|
|
"device_id": "4e235ba7a5f7a2b3f420f7242e96d291"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "331455d398e7440d955caa48f35b6cde",
|
|
"automation": "- alias: Bathroom Humidity Low\n id: 331455d398e7440d955caa48f35b6cde\n trigger:\n - below: input_number.bathroom_humidity_low_level\n entity_id: sensor.bathroom_humidity\n for: 00:10\n platform: numeric_state\n above: '40'\n action:\n - entity_id: switch.bathroom_fan\n service: switch.turn_off\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom humidity sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bathroom_humidity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom humidity low level input number",
|
|
"room": "bathroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bathroom_humidity_low_level",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom fan switch",
|
|
"room": "bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.bathroom_fan",
|
|
"device_id": "4e235ba7a5f7a2b3f420f7242e96d291"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1587008568649'",
|
|
"automation": "- alias: Living Room Light Toggle by MQTT\n id: '1587008568649'\n description: ''\n trigger:\n - platform: mqtt\n topic: living_room/light/toggle\n condition: []\n action:\n - data: {}\n entity_id: light.living_room_fan_light\n service: light.toggle",
|
|
"config": [
|
|
{
|
|
"name": "living room fan light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_fan_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6c9f49dabdea44c19255d71723f3dde4",
|
|
"automation": "- alias: Bedroom Light Toggle by MQTT\n description: ''\n trigger:\n - platform: mqtt\n topic: bedroom/fan_light/toggle\n condition: []\n action:\n - data: {}\n entity_id: light.bedroom_fan_lights\n service: light.toggle\n id: 6c9f49dabdea44c19255d71723f3dde4",
|
|
"config": [
|
|
{
|
|
"name": "bedroom fan lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_fan_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1601067953579'",
|
|
"automation": "- alias: iOS Test Trigger\n id: '1601067953579'\n description: ''\n trigger:\n - platform: event\n event_type: ios.action_fired\n event_data:\n actionName: Test\n condition: []\n action:\n - service: light.toggle\n data: {}\n entity_id: light.lab_fan_light\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lab fan light",
|
|
"room": "lab",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lab_fan_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1615999793826'",
|
|
"automation": "- alias: Alexa Media Player TTS/Announce from Lovelace UI\n id: '1615999793826'\n description: ''\n use_blueprint:\n path: NachtaktiverHalbaffe/alexa-tts-announcement-from-lovelace-ui-and-without-nabu-casa-alexa-media-player.yaml\n input:\n message: input_text.alexa_message_text\n target: input_select.alexa_devices",
|
|
"config": [
|
|
{
|
|
"name": "alexa message text input text",
|
|
"room": null,
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.alexa_message_text",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alexa devices input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.alexa_devices",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616084444705'",
|
|
"automation": "- alias: Bathroom Fan Toggle\n id: '1616084444705'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 517105d1d709294e0650b8f8b53dc3f8\n type: button_short_press\n subtype: button_1\n discovery_id: 500291793CC7_button_1_SINGLE\n condition: []\n action:\n - type: toggle\n device_id: 4e235ba7a5f7a2b3f420f7242e96d291\n entity_id: switch.bathroom_fan\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom fan switch",
|
|
"room": "bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.bathroom_fan",
|
|
"device_id": "4e235ba7a5f7a2b3f420f7242e96d291"
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device 517105d1d709294e0650b8f8b53dc3f8",
|
|
"room": "bathroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "517105d1d709294e0650b8f8b53dc3f8"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616451082602'",
|
|
"automation": "- id: '1616451082602'\n alias: Lab Fan Cycle\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 082f2d49dab1e06234cbc1a01d3787dc\n type: button_long_press\n subtype: button_1\n discovery_id: ECFABC56F484_button_1_HOLD\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_long_press\n subtype: button_1\n discovery_id: 9C9C1F47AE83_button_1_HOLD\n condition: []\n action:\n - service: fan.set_percentage\n data:\n percentage: \"{% if states.fan.lab_fan.state == 'off' %}\\n 33\\n{% elif states.fan.lab_fan.attributes.percentage\\\n \\ == 33 %}\\n 66\\n{% elif states.fan.lab_fan.attributes.percentage == 66 %}\\n\\\n \\ 100\\n{% elif states.fan.lab_fan.attributes.percentage == 100 %}\\n 0\\n\\\n {% endif %}\\n\"\n target:\n entity_id: fan.lab_fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 082f2d49dab1e06234cbc1a01d3787dc",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "082f2d49dab1e06234cbc1a01d3787dc"
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
},
|
|
{
|
|
"name": "lab fan",
|
|
"room": "lab",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.lab_fan",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616454279431'",
|
|
"automation": "- id: '1616454279431'\n alias: Bedroom Fan Cycle\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 7d85bf0a57468f7e8385682e13b24e1d\n type: button_long_press\n subtype: button_1\n discovery_id: CC50E3E7FC32_button_1_HOLD\n condition: []\n action:\n - service: fan.set_percentage\n data:\n percentage: \"{% if states.fan.bedroom_fan.state == 'off' %}\\n 33\\n{% elif states.fan.bedroom_fan.attributes.percentage\\\n \\ == 33 %}\\n 66\\n{% elif states.fan.bedroom_fan.attributes.percentage ==\\\n \\ 66 %}\\n 100\\n{% elif states.fan.bedroom_fan.attributes.percentage == 100\\\n \\ %}\\n 0\\n{% endif %}\\n\"\n target:\n entity_id: fan.bedroom_fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 7d85bf0a57468f7e8385682e13b24e1d",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "7d85bf0a57468f7e8385682e13b24e1d"
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom fan",
|
|
"room": "bedroom",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.bedroom_fan",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616454324529'",
|
|
"automation": "- alias: Bedroom Lamp Toggle\n id: '1616454324529'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 7d85bf0a57468f7e8385682e13b24e1d\n type: button_double_press\n subtype: button_1\n discovery_id: CC50E3E7FC32_button_1_DOUBLE\n condition: []\n action:\n - service: light.toggle\n data:\n brightness_pct: 75\n target:\n device_id: e8b907a90b194fdc84c90957f919749d\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 7d85bf0a57468f7e8385682e13b24e1d",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "7d85bf0a57468f7e8385682e13b24e1d"
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom lamp device",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "e8b907a90b194fdc84c90957f919749d"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616476834323'",
|
|
"automation": "- alias: Kitchen LEDs Toggle\n id: '1616476834323'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 7e8b95744c7040bbbee460145db11d97\n type: button_double_press\n subtype: button_1\n discovery_id: 2CF432192D54_button_1_DOUBLE\n condition: []\n action:\n - service: light.toggle\n data:\n brightness_pct: 100\n target:\n entity_id: light.kitchen_leds\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 7e8b95744c7040bbbee460145db11d97",
|
|
"room": "kitchen",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "7e8b95744c7040bbbee460145db11d97"
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen leds",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_leds",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_light",
|
|
"device_id": "7e8b95744c7040bbbee460145db11d97"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616476916110'",
|
|
"automation": "- id: '1616476916110'\n alias: Living Roon Fan Cycle\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 251ad65bd1a0ec8b40cbd7a8fbf2a51d\n type: button_long_press\n subtype: button_1\n discovery_id: 2CF432192E1D_button_1_HOLD\n condition: []\n action:\n - service: fan.set_percentage\n data:\n percentage: \"{% if states.fan.living_room_fan.state == 'off' %}\\n 33\\n{% elif\\\n \\ states.fan.living_room_fan.attributes.percentage == 33 %}\\n 66\\n{% elif\\\n \\ states.fan.living_room_fan.attributes.percentage == 66 %}\\n 100\\n{% elif\\\n \\ states.fan.living_room_fan.attributes.percentage == 100 %}\\n 0\\n{% endif\\\n \\ %}\\n\"\n target:\n entity_id: fan.living_room_fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 251ad65bd1a0ec8b40cbd7a8fbf2a51d",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "251ad65bd1a0ec8b40cbd7a8fbf2a51d"
|
|
}
|
|
},
|
|
{
|
|
"name": "living room fan",
|
|
"room": "living_room",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.living_room_fan",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616477007406'",
|
|
"automation": "- alias: Fish Tank Light Toggle\n id: '1616477007406'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 6f7d6c6e1774cd155c791b5e55b771ee\n type: button_long_press\n subtype: button_1\n discovery_id: BCDDC25346ED_button_1_HOLD\n - platform: device\n domain: tasmota\n device_id: cfda927b6ff502b7d88f779339e28f5d\n type: button_long_press\n subtype: button_1\n discovery_id: 84F3EBE0D784_button_1_HOLD\n condition: []\n action:\n - service: light.toggle\n target:\n entity_id: light.fish_tank_leds\n data:\n color_temp: 269\n brightness_pct: 100\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 6f7d6c6e1774cd155c791b5e55b771ee",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "6f7d6c6e1774cd155c791b5e55b771ee"
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device cfda927b6ff502b7d88f779339e28f5d",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "cfda927b6ff502b7d88f779339e28f5d"
|
|
}
|
|
},
|
|
{
|
|
"name": "fish tank leds",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fish_tank_leds",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616477064062'",
|
|
"automation": "- alias: Patio Fan Toggle\n id: '1616477064062'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 5351cc93aaae40182c0633e8de1a775e\n type: button_long_press\n subtype: button_1\n discovery_id: 2CF43219288D_button_1_HOLD\n condition: []\n action:\n - type: toggle\n device_id: 0600c5452bc3651f1dbb0e9e6913bf7e\n entity_id: switch.patio_fan\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 5351cc93aaae40182c0633e8de1a775e",
|
|
"room": "patio",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "5351cc93aaae40182c0633e8de1a775e"
|
|
}
|
|
},
|
|
{
|
|
"name": "patio fan switch",
|
|
"room": "patio",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.patio_fan",
|
|
"device_id": "0600c5452bc3651f1dbb0e9e6913bf7e"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1620354646102'",
|
|
"automation": "- alias: Patio String Lights Toggle\n id: '1620354646102'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 5351cc93aaae40182c0633e8de1a775e\n type: button_double_press\n subtype: button_1\n discovery_id: 2CF43219288D_button_1_DOUBLE\n condition: []\n action:\n - service: light.toggle\n target:\n entity_id: light.patio_string_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 5351cc93aaae40182c0633e8de1a775e",
|
|
"room": "patio",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "5351cc93aaae40182c0633e8de1a775e"
|
|
}
|
|
},
|
|
{
|
|
"name": "patio string lights",
|
|
"room": "patio",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.patio_string_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1622521426971'",
|
|
"automation": "- alias: Turn on bathroom fan for 10 mins\n id: '1622521426971'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 517105d1d709294e0650b8f8b53dc3f8\n type: button_double_press\n subtype: button_1\n discovery_id: 500291793CC7_button_1_DOUBLE\n condition: []\n action:\n - type: turn_on\n device_id: 4e235ba7a5f7a2b3f420f7242e96d291\n entity_id: switch.bathroom_fan\n domain: switch\n - delay:\n hours: 0\n minutes: 10\n seconds: 0\n milliseconds: 0\n - type: turn_off\n device_id: 4e235ba7a5f7a2b3f420f7242e96d291\n entity_id: switch.bathroom_fan\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom fan switch",
|
|
"room": "bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.bathroom_fan",
|
|
"device_id": "4e235ba7a5f7a2b3f420f7242e96d291"
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device 517105d1d709294e0650b8f8b53dc3f8",
|
|
"room": "bathroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "517105d1d709294e0650b8f8b53dc3f8"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1625634502512'",
|
|
"automation": "- alias: Turn Off Bedroom Apple TV\n id: '1625634502512'\n description: ''\n trigger:\n - platform: device\n device_id: 6d0692c3ae0d749aa7037ca10f66291d\n domain: media_player\n entity_id: media_player.chriss_room\n type: turned_off\n condition: []\n action:\n - service: script.turn_off_bedroom_apple_tv\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "chriss room media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chriss_room",
|
|
"device_id": "6d0692c3ae0d749aa7037ca10f66291d"
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn Off Bedroom Apple TV",
|
|
"room": "Bedroom",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_off_bedroom_apple_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1625634770413'",
|
|
"automation": "- alias: Wake Bedroom Apple TV\n id: '1625634770413'\n description: ''\n trigger:\n - platform: device\n device_id: 6d0692c3ae0d749aa7037ca10f66291d\n domain: media_player\n entity_id: media_player.chriss_room\n type: turned_on\n condition: []\n action:\n - service: script.wake_bedroom_apple_tv\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "chriss room media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.chriss_room",
|
|
"device_id": "6d0692c3ae0d749aa7037ca10f66291d"
|
|
}
|
|
},
|
|
{
|
|
"name": "Wake Bedroom Apple TV",
|
|
"room": "Bedroom",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.wake_bedroom_apple_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1628655116939'",
|
|
"automation": "- alias: Lab Light Toggle\n id: '1628655116939'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_short_press\n subtype: button_1\n discovery_id: 9C9C1F47AE83_button_1_SINGLE\n condition: []\n action:\n - service: light.toggle\n target:\n entity_id: light.lab_fan_light\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lab fan light",
|
|
"room": "lab",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lab_fan_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1628691692223'",
|
|
"automation": "- id: '1628691692223'\n alias: Western Electric Rectifier Controller\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_short_press\n subtype: button_2\n discovery_id: 9C9C1F47AE83_button_2_SINGLE\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_long_press\n subtype: button_6\n discovery_id: 9C9C1F47AE83_button_6_HOLD\n enabled: false\n - platform: device\n domain: tasmota\n device_id: a2acf2ee7393220e37087061d1b0566c\n type: button_short_press\n subtype: button_1\n discovery_id: 3C71BF316A64_button_1_SINGLE\n condition: []\n action:\n - service: switch.toggle\n target:\n entity_id: switch.western_electric_rectifier\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
},
|
|
{
|
|
"name": "western electric rectifier switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.western_electric_rectifier",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device a2acf2ee7393220e37087061d1b0566c",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "a2acf2ee7393220e37087061d1b0566c"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1632278000510'",
|
|
"automation": "- alias: 3D Printer Toggle Power\n id: '1632278000510'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_short_press\n subtype: button_5\n discovery_id: 9C9C1F47AE83_button_5_SINGLE\n condition:\n - condition: state\n entity_id: binary_sensor.octoprint_printing_2\n state: 'off'\n action:\n - service: switch.toggle\n target:\n entity_id: switch.3d_printer\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint printing binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.octoprint_printing_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.3d_printer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1634268597502'",
|
|
"automation": "- alias: 3D Printer Update Status Light\n id: '1634268597502'\n description: ''\n trigger:\n - platform: state\n entity_id: switch.3d_printer\n - platform: state\n entity_id: sensor.octoprint_print_status\n - platform: state\n entity_id: sensor.octoprint_print_progress\n condition: []\n action:\n - choose:\n - alias: If the 3D printer turns on or goes idle, turn on the light white\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: state\n entity_id: sensor.octoprint_print_status\n state: Operational\n sequence:\n - service: automation.turn_on\n target:\n entity_id:\n - automation.3d_printer_update_bed_temperature_light\n - automation.3d_printer_update_tool_temperature_light\n - service: automation.trigger\n target:\n entity_id:\n - automation.3d_printer_update_bed_temperature_light\n - automation.3d_printer_update_tool_temperature_light\n - service: light.turn_on\n target:\n entity_id:\n - light.3d_printer_status\n data:\n rgb_color:\n - 255\n - 202\n - 138\n effect: Solid\n - alias: If the 3D printer turns off, turn off the light\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'off'\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.3d_printer_status\n - service: automation.turn_off\n target:\n entity_id:\n - automation.3d_printer_update_bed_temperature_light\n - automation.3d_printer_update_tool_temperature_light\n - alias: If the 3D printer starts printing, make status light breathe white\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: state\n entity_id: sensor.octoprint_print_status\n state: Printing\n - condition: numeric_state\n entity_id: sensor.octoprint_print_progress\n below: '98'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.3d_printer_status\n data:\n rgb_color:\n - 255\n - 202\n - 138\n effect: Breathe\n - alias: If the 3D printer is at >97% complete, make status light rainbow\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: state\n entity_id: sensor.octoprint_print_status\n state: Printing\n - condition: numeric_state\n entity_id: sensor.octoprint_print_progress\n above: '97'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.3d_printer_status\n data:\n rgb_color:\n - 255\n - 255\n - 255\n effect: Rainbow\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "3d printer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.3d_printer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint print status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_print_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint print progress sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_print_progress",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer update bed temperature light automation",
|
|
"room": null,
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.3d_printer_update_bed_temperature_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer update tool temperature light automation",
|
|
"room": null,
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.3d_printer_update_tool_temperature_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer status light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.3d_printer_status",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1634272502278'",
|
|
"automation": "- alias: 3D Printer Update Tool Temperature Light\n id: '1634272502278'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.octoprint_tool_0_temperature\n - platform: state\n entity_id: sensor.octoprint_tool_0_target\n - platform: state\n entity_id: switch.3d_printer\n condition: []\n action:\n - choose:\n - alias: If the tool is cold, make the light blue\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.octoprint_tool_0_temperature\n below: '81'\n - condition: state\n entity_id: sensor.octoprint_tool_0_target\n state: '32.0'\n sequence:\n - service: light.turn_on\n data:\n rgb_color:\n - 0\n - 255\n - 255\n effect: Solid\n target:\n entity_id: light.3d_printer_tool_temp\n - alias: If the tool is warming up, make the light breathe orange\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_tool_0_temperature\") | int\n < states(\"sensor.octoprint_tool_0_target\") | int - 1 }}'\n - condition: numeric_state\n entity_id: sensor.octoprint_tool_0_target\n above: '33'\n sequence:\n - service: light.turn_on\n data:\n rgb_color:\n - 255\n - 142\n - 0\n effect: Breathe\n target:\n entity_id: light.3d_printer_tool_temp\n - alias: If the tool is at target heat, make the light red\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.octoprint_tool_0_target\n above: '33'\n - condition: and\n conditions:\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_tool_0_temperature\") | int\n > states(\"sensor.octoprint_tool_0_target\") | int - 2 }}'\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_tool_0_temperature\") | int\n < states(\"sensor.octoprint_tool_0_target\") | int + 2 }}'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.3d_printer_tool_temp\n data:\n rgb_color:\n - 255\n - 0\n - 0\n effect: Solid\n - alias: If the tool is cooling down but not turning off, make the light breathe\n yellowish\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_tool_0_temperature\") | int\n > states(\"sensor.octoprint_tool_0_target\") | int + 1 }}'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.3d_printer_tool_temp\n data:\n rgb_color:\n - 254\n - 254\n - 0\n effect: Breathe\n - alias: If the 3D printer turns off, turn off the light\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'off'\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.3d_printer_tool_temp\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "3d printer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.3d_printer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint tool 0 temperature sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_tool_0_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint tool 0 target sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_tool_0_target",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer tool temp light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.3d_printer_tool_temp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1634273868202'",
|
|
"automation": "- alias: 3D Printer Update Bed Temperature Light\n id: '1634273868202'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.octoprint_bed_target\n - platform: state\n entity_id: sensor.octoprint_bed_temperature\n - platform: state\n entity_id: switch.3d_printer\n condition: []\n action:\n - choose:\n - alias: If the bed is cold, make the light blue\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.octoprint_bed_temperature\n below: '116'\n - condition: state\n entity_id: sensor.octoprint_bed_target\n state: '32.0'\n sequence:\n - service: light.turn_on\n data:\n rgb_color:\n - 0\n - 255\n - 255\n effect: Solid\n target:\n entity_id: light.3d_printer_bed_temp\n - alias: If the bed is warming up, make the light breathe orange\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.octoprint_bed_target\n above: '33'\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_bed_temperature\") | int < states(\"sensor.octoprint_bed_target\")\n | int - 1 }}'\n sequence:\n - service: light.turn_on\n data:\n rgb_color:\n - 255\n - 142\n - 0\n effect: Breathe\n target:\n entity_id: light.3d_printer_bed_temp\n - alias: If the bed is at target heat, make the light red\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.octoprint_bed_target\n above: '33'\n - condition: and\n conditions:\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_bed_temperature\") | int >\n states(\"sensor.octoprint_bed_target\") | int - 2 }}'\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_bed_temperature\") | int <\n states(\"sensor.octoprint_bed_target\") | int + 2 }}'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.3d_printer_bed_temp\n data:\n rgb_color:\n - 255\n - 0\n - 0\n effect: Solid\n - alias: If the bed is cooling down but not turning off, make the light breathe\n yellowish\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'on'\n - condition: template\n value_template: '{{ states(\"sensor.octoprint_bed_temperature\") | int > states(\"sensor.octoprint_bed_target\")\n | int + 1 }}'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.3d_printer_bed_temp\n data:\n rgb_color:\n - 254\n - 254\n - 0\n effect: Breathe\n - alias: If the 3D printer turns off, turn off the light\n conditions:\n - condition: state\n entity_id: switch.3d_printer\n state: 'off'\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.3d_printer_bed_temp\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "3d printer switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.3d_printer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint bed target sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_bed_target",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint bed temperature sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_bed_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d printer bed temp light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.3d_printer_bed_temp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1634606712756'",
|
|
"automation": "- alias: 3D Printer Cancel Print\n id: '1634606712756'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_long_press\n subtype: button_5\n discovery_id: 9C9C1F47AE83_button_5_HOLD\n condition: []\n action:\n - service: switch.turn_on\n target:\n entity_id: switch.octoprint_cancel_print\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint cancel print switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.octoprint_cancel_print",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1634611734007'",
|
|
"automation": "- alias: Living Room Light Toggle\n id: '1634611734007'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: e4ac095d46cedd58ceb8bb01bbcf6440\n type: button_double_press\n subtype: button_2\n discovery_id: BCDDC2594486_button_2_DOUBLE\n condition: []\n action:\n - service: light.toggle\n target:\n entity_id: light.living_room_fan_light\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room fan light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_fan_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device e4ac095d46cedd58ceb8bb01bbcf6440",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "e4ac095d46cedd58ceb8bb01bbcf6440"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1637599699240'",
|
|
"automation": "- id: '1637599699240'\n alias: Lab TV Toggle\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_double_press\n subtype: button_1\n discovery_id: 9C9C1F47AE83_button_1_DOUBLE\n - platform: device\n domain: tasmota\n device_id: 082f2d49dab1e06234cbc1a01d3787dc\n type: button_double_press\n subtype: button_1\n discovery_id: ECFABC56F484_button_1_DOUBLE\n condition: []\n action:\n - service: media_player.toggle\n target:\n entity_id: media_player.lab_tv\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 082f2d49dab1e06234cbc1a01d3787dc",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "082f2d49dab1e06234cbc1a01d3787dc"
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
},
|
|
{
|
|
"name": "lab tv media player",
|
|
"room": "lab",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.lab_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1638942926537'",
|
|
"automation": "- alias: Fish Tank Filter Toggle\n id: '1638942926537'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: cfda927b6ff502b7d88f779339e28f5d\n type: button_triple_press\n subtype: button_1\n discovery_id: 84F3EBE0D784_button_1_TRIPLE\n condition: []\n action:\n - service: switch.toggle\n target:\n entity_id: switch.fish_tank_filter\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device cfda927b6ff502b7d88f779339e28f5d",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "cfda927b6ff502b7d88f779339e28f5d"
|
|
}
|
|
},
|
|
{
|
|
"name": "fish tank filter switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.fish_tank_filter",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1642469538699'",
|
|
"automation": "- alias: Thermostat Preset Select\n id: '1642469538699'\n description: ''\n trigger:\n - platform: state\n entity_id: input_select.thermostat_preset\n - platform: state\n entity_id: input_boolean.windows_open\n condition: []\n action:\n - service: script.thermostat_preset_handler\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "thermostat preset input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.thermostat_preset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "windows open input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.windows_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Thermostat Preset Handler",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.thermostat_preset_handler",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1642470565005'",
|
|
"automation": "- alias: Thermostat Automated Select\n id: '1642470565005'\n description: ''\n trigger:\n - platform: state\n entity_id: person.steven\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: person.steven\n state: home\n - condition: state\n entity_id: input_select.thermostat_preset\n state: Daytime - Chris\n sequence:\n - service: input_select.select_option\n target:\n entity_id: input_select.thermostat_preset\n data:\n option: Daytime - Steven\n - conditions:\n - condition: state\n entity_id: person.chris\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: person.steven\n state: home\n - condition: state\n entity_id: input_select.thermostat_preset\n state: Daytime - Steven\n sequence:\n - service: input_select.select_option\n target:\n entity_id: input_select.thermostat_preset\n data:\n option: Daytime - Chris\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "thermostat preset input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.thermostat_preset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "steven person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.steven",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.chris",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1643264447175'",
|
|
"automation": "- alias: Mail Light Update\n id: '1643264447175'\n description: ''\n trigger:\n - platform: time\n at: '12:00:00'\n - platform: state\n entity_id: binary_sensor.mail_button\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.mail_button\n state: 'on'\n sequence:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.new_mail\n data: {}\n - service: light.turn_off\n target:\n entity_id: light.mail_light\n data: {}\n - conditions:\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.mail_usps_packages\n above: '0'\n - condition: numeric_state\n entity_id: sensor.mail_usps_mail\n above: '0'\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.new_mail\n data: {}\n - service: light.turn_on\n target:\n entity_id: light.mail_light\n data:\n rgb_color:\n - 255\n - 200\n - 151\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "mail button binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.mail_button",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "new mail input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.new_mail",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mail light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.mail_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mail usps packages sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mail_usps_packages",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mail usps mail sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mail_usps_mail",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1643341212029'",
|
|
"automation": "- alias: Trash Light Update\n id: '1643341212029'\n description: ''\n trigger:\n - platform: state\n entity_id: input_select.trash_state\n - platform: numeric_state\n entity_id: sensor.garbage_collection\n below: '2'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.trash_state\n state: Brought In\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.trash_light\n - conditions:\n - condition: state\n entity_id: input_select.trash_state\n state: Bring Out\n - condition: numeric_state\n entity_id: sensor.garbage_collection\n below: '1'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.trash_light\n data:\n rgb_color:\n - 255\n - 0\n - 0\n - conditions:\n - condition: state\n entity_id: input_select.trash_state\n state: Bring Out\n - condition: numeric_state\n entity_id: sensor.garbage_collection\n below: '2'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.trash_light\n data:\n rgb_color:\n - 255\n - 208\n - 159\n - conditions:\n - condition: state\n entity_id: input_select.trash_state\n state: Bring Back In\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.trash_light\n data:\n rgb_color:\n - 0\n - 255\n - 255\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "trash state input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.trash_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garbage collection sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.garbage_collection",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "trash light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.trash_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1643347287312'",
|
|
"automation": "- alias: Trash State Handler\n id: '1643347287312'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.garbage_collection\n below: '2'\n - platform: state\n entity_id: binary_sensor.trash_button\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.trash_button\n state: 'on'\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.trash_state\n state: Bring Out\n sequence:\n - service: garbage_collection.collect_garbage\n target:\n entity_id: sensor.garbage_collection\n default: []\n - service: input_select.select_next\n target:\n entity_id: input_select.trash_state\n - conditions:\n - condition: numeric_state\n entity_id: sensor.garbage_collection\n below: '2'\n sequence:\n - service: input_select.select_option\n target:\n entity_id: input_select.trash_state\n data:\n option: Bring Out\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "trash state input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.trash_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garbage collection sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.garbage_collection",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "trash button binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.trash_button",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1643347730280'",
|
|
"automation": "- alias: Recycle Light Update\n id: '1643347730280'\n description: ''\n trigger:\n - platform: state\n entity_id: input_select.recycle_state\n - platform: numeric_state\n entity_id: sensor.recycling\n below: '2'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.recycle_state\n state: Brought In\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.recycle_light\n - conditions:\n - condition: state\n entity_id: input_select.recycle_state\n state: Bring Out\n - condition: numeric_state\n entity_id: sensor.recycling\n below: '1'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.recycle_light\n data:\n rgb_color:\n - 255\n - 0\n - 0\n - conditions:\n - condition: state\n entity_id: input_select.recycle_state\n state: Bring Out\n - condition: numeric_state\n entity_id: sensor.recycling\n below: '2'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.recycle_light\n data:\n rgb_color:\n - 255\n - 208\n - 159\n - conditions:\n - condition: state\n entity_id: input_select.recycle_state\n state: Bring Back In\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.recycle_light\n data:\n rgb_color:\n - 0\n - 255\n - 255\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "recycle state input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.recycle_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "recycling sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.recycling",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "recycle light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.recycle_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1643348123383'",
|
|
"automation": "- alias: Recycle State Handler\n id: '1643348123383'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.recycling\n below: '2'\n - platform: state\n entity_id: binary_sensor.recycle_button\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.recycle_button\n state: 'on'\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.recycle_state\n state: Bring Out\n sequence:\n - service: garbage_collection.collect_garbage\n target:\n entity_id: sensor.recycling\n default: []\n - service: input_select.select_next\n target:\n entity_id: input_select.recycle_state\n - conditions:\n - condition: numeric_state\n entity_id: sensor.recycling\n below: '2'\n sequence:\n - service: input_select.select_option\n target:\n entity_id: input_select.recycle_state\n data:\n option: Bring Out\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "recycle state input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.recycle_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "recycling sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.recycling",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "recycle button binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.recycle_button",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1644253838913'",
|
|
"automation": "- alias: Turn On Lab TV with WakeOnLan\n id: '1644253838913'\n description: ''\n trigger:\n - platform: webostv.turn_on\n entity_id: media_player.lab_tv\n condition: []\n action:\n - service: wake_on_lan.send_magic_packet\n data:\n mac: 20:17:42:D9:6D:4E\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lab tv media player",
|
|
"room": "lab",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.lab_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1644253912444'",
|
|
"automation": "- alias: Turn On Living Room TV with WakeOnLan\n id: '1644253912444'\n description: ''\n trigger:\n - platform: webostv.turn_on\n entity_id: media_player.living_room_tv\n condition: []\n action:\n - service: wake_on_lan.send_magic_packet\n data:\n mac: 74:40:BE:88:4F:80\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": "2cad1a38df4cb7030c6243f70d8af22b"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1650324443680'",
|
|
"automation": "- id: '1650324443680'\n alias: Doorbell\n description: ''\n trigger:\n - type: occupied\n platform: device\n device_id: 9ac2e56d16554b6e839f0feab4c5a479\n entity_id: binary_sensor.front_door_ring_ding\n domain: binary_sensor\n condition: []\n action:\n - service: script.status_annc\n data:\n who: everywhere\n call_doorbell_chime: 1\n call_snark_doorbell: 1\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door ring ding binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_ring_ding",
|
|
"device_id": "9ac2e56d16554b6e839f0feab4c5a479"
|
|
}
|
|
},
|
|
{
|
|
"name": "front door ring motion binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_ring_motion",
|
|
"device_id": "9ac2e56d16554b6e839f0feab4c5a479"
|
|
}
|
|
},
|
|
{
|
|
"name": "front door binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1650326437602'",
|
|
"automation": "- id: '1650326437602'\n alias: Doorbell Motion Detected\n description: ''\n trigger:\n - type: motion\n platform: device\n device_id: 9ac2e56d16554b6e839f0feab4c5a479\n entity_id: binary_sensor.front_door_ring_motion\n domain: binary_sensor\n id: motion\n condition:\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n action:\n - condition: state\n entity_id: binary_sensor.front_door_recent_activity\n state: 'off'\n - wait_for_trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_recent_activity\n to: 'on'\n from: 'off'\n id: door_activity\n timeout: 00:00:05\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ wait.trigger.id is defined }}'\n sequence:\n - stop: '{{ wait.trigger.id }}'\n default:\n - service: script.status_annc\n data:\n who: everywhere\n call_snark_door_motion: 1\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front door ring ding binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_ring_ding",
|
|
"device_id": "9ac2e56d16554b6e839f0feab4c5a479"
|
|
}
|
|
},
|
|
{
|
|
"name": "front door ring motion binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_ring_motion",
|
|
"device_id": "9ac2e56d16554b6e839f0feab4c5a479"
|
|
}
|
|
},
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door recent activity binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_recent_activity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1651617197832'",
|
|
"automation": "- id: '1651617197832'\n alias: Lab Bathroom Fan Controller\n description: ''\n trigger:\n - type: humidity\n platform: device\n device_id: 92463da5daafb2dda4f417ae7f643aa9\n entity_id: sensor.lab_bathroom_humidity\n domain: sensor\n above: 80\n id: high\n - type: humidity\n platform: device\n device_id: 92463da5daafb2dda4f417ae7f643aa9\n entity_id: sensor.lab_bathroom_humidity\n domain: sensor\n id: low\n below: 60\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: high\n sequence:\n - service: switch.turn_on\n data: {}\n target:\n entity_id: switch.lab_bathroom_fan\n - conditions:\n - condition: trigger\n id: low\n sequence:\n - service: switch.turn_off\n data: {}\n target:\n entity_id: switch.lab_bathroom_fan\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lab bathroom humidity sensor",
|
|
"room": "lab_bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.lab_bathroom_humidity",
|
|
"device_id": "92463da5daafb2dda4f417ae7f643aa9"
|
|
}
|
|
},
|
|
{
|
|
"name": "lab bathroom fan switch",
|
|
"room": "lab_bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.lab_bathroom_fan",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1651635402480'",
|
|
"automation": "- id: '1651635402480'\n alias: Friend Arrival\n description: ''\n trigger:\n - platform: state\n entity_id: person.kaitlyn\n to: home\n - platform: state\n entity_id: person.ronald\n to: home\n - platform: state\n entity_id: person.rheena\n to: home\n - platform: state\n entity_id: person.danielle\n to: home\n - platform: state\n entity_id: person.brian\n to: home\n - platform: state\n entity_id: person.rathnam\n to: home\n - platform: state\n entity_id: person.nico\n to: home\n - platform: state\n entity_id:\n - person.mari\n to: home\n condition: []\n action:\n - service: script.text_notify_everyone\n data:\n title: Guest Arrival\n message: '{{ trigger.to_state.attributes.friendly_name }} has arrived'\n mode: parallel\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "kaitlyn person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.kaitlyn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ronald person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.ronald",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "rheena person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.rheena",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "danielle person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.danielle",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "brian person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.brian",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "rathnam person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.rathnam",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nico person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nico",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mari person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.mari",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "daniel person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.daniel",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Text Notify Everyone",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.text_notify_everyone",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1653577962938'",
|
|
"automation": "- id: '1653577962938'\n alias: Western Electric Cabinet Lights Controller\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: f51e5de9797e5949aa2cacb1b5bbfb8f\n type: button_double_press\n subtype: button_2\n discovery_id: 9C9C1F47AE83_button_2_DOUBLE\n id: button\n - platform: device\n domain: tasmota\n device_id: a2acf2ee7393220e37087061d1b0566c\n type: button_double_press\n subtype: button_1\n discovery_id: 3C71BF316A64_button_1_DOUBLE\n id: button\n - platform: state\n entity_id:\n - switch.western_electric_rectifier\n from: 'off'\n to: 'on'\n id: rectifier_on\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: button\n sequence:\n - service: light.toggle\n data:\n color_temp: 380\n effect: Wake up\n brightness_pct: 100\n target:\n entity_id: light.western_electric_cabinet_lights\n - conditions:\n - condition: trigger\n id: rectifier_on\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 100\n color_temp: 380\n effect: Wake up\n target:\n entity_id: light.western_electric_cabinet_lights\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device f51e5de9797e5949aa2cacb1b5bbfb8f",
|
|
"room": "lab",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "f51e5de9797e5949aa2cacb1b5bbfb8f"
|
|
}
|
|
},
|
|
{
|
|
"name": "western electric rectifier switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.western_electric_rectifier",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device a2acf2ee7393220e37087061d1b0566c",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "a2acf2ee7393220e37087061d1b0566c"
|
|
}
|
|
},
|
|
{
|
|
"name": "western electric cabinet lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.western_electric_cabinet_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1656455659129'",
|
|
"automation": "- id: '1656455659129'\n alias: Living Room Magic Cube\n description: ''\n use_blueprint:\n path: rvaidya/aqara_magic_cube.yaml\n input:\n remote: 3146f49fef4d10d8cf2a4be6609f44f3\n active_face: input_number.living_room_magic_cube_side\n flip_90: true\n cube_flip_90:\n - service: light.toggle\n data: {}\n target:\n entity_id: light.living_room_fan_light\n flip_180: true\n cube_flip_180: []\n slide_any_side: true\n cube_slide_any:\n - service: media_player.media_play_pause\n data: {}\n target:\n entity_id: media_player.living_room_apple_tv\n knock_any_side: true\n cube_knock_any:\n - service: media_player.toggle\n data: {}\n target:\n entity_id:\n - media_player.living_room_tv\n rotate_right:\n - service: media_player.volume_up\n data: {}\n target:\n entity_id: media_player.living_room_pioneer\n rotate_left:\n - service: media_player.volume_down\n data: {}\n target:\n entity_id: media_player.living_room_pioneer\n rotate_any_side: true\n cube_shake:\n - service: script.downstairs_chill\n data: {}",
|
|
"config": [
|
|
{
|
|
"name": "living room fan light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_fan_light",
|
|
"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": "2cad1a38df4cb7030c6243f70d8af22b"
|
|
}
|
|
},
|
|
{
|
|
"name": "living room magic cube remote",
|
|
"room": "living_room",
|
|
"type": "remote",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "3146f49fef4d10d8cf2a4be6609f44f3"
|
|
}
|
|
},
|
|
{
|
|
"name": "living room magic cube side input number",
|
|
"room": "living_room",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.living_room_magic_cube_side",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room apple tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_apple_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room pioneer media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_pioneer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Downstairs Chill",
|
|
"room": "Living Room",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.downstairs_chill",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1657676381882'",
|
|
"automation": "- id: '1657676381882'\n alias: ZHA - Aqara Wireless Mini Switch\n description: ''\n use_blueprint:\n path: SeanM/zha-aqara-wireless-mini-switch.yaml\n input:\n aqara_mini_switch: dbac350dab9bcea6d7548327a20cefee\n button_single_press:\n - service: script.text_notify_chris\n data:\n message: Single\n button_double_press:\n - service: script.text_notify_chris\n data:\n message: Double\n button_long_press:\n - service: script.text_notify_chris\n data:\n message: Long",
|
|
"config": [
|
|
{
|
|
"name": "aqara mini switch device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "dbac350dab9bcea6d7548327a20cefee"
|
|
}
|
|
},
|
|
{
|
|
"name": "Text Notify Chris",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.text_notify_chris",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1672953123172'",
|
|
"automation": "- id: '1672953123172'\n alias: NFC Tag Testing\n description: ''\n trigger:\n - platform: event\n event_type: test_tag_scan\n event_data:\n tag_type: chore\n condition: []\n action:\n - service: notify.chris\n data:\n message: 'Scanned by {{ trigger.event.data.scanned_by }} | Tag: {{ trigger.event.data.tag_name\n }}'\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.tag_name == \"cleaned_master_bath\" }}'\n sequence: []\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1674004743050'",
|
|
"automation": "- id: '1674004743050'\n alias: Living Room TV Hyperion\n description: ''\n trigger:\n - platform: device\n device_id: 2cad1a38df4cb7030c6243f70d8af22b\n domain: media_player\n entity_id: media_player.living_room_tv\n type: turned_on\n id: 'on'\n - platform: device\n device_id: 2cad1a38df4cb7030c6243f70d8af22b\n domain: media_player\n entity_id: media_player.living_room_tv\n type: turned_off\n id: 'off'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: 'on'\n sequence:\n - service: light.turn_on\n data:\n effect: USB Capture\n brightness_pct: 100\n target:\n entity_id: light.living_room_tv_hyperion\n - conditions:\n - condition: trigger\n id: 'off'\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.living_room_tv_hyperion\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room tv media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": "2cad1a38df4cb7030c6243f70d8af22b"
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv hyperion light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_tv_hyperion",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1674014681253'",
|
|
"automation": "- id: '1674014681253'\n alias: Water Leak Handler\n description: ''\n trigger:\n - type: moist\n platform: device\n device_id: cde28a301e62e5d305599aed2f12ce67\n entity_id: binary_sensor.ac_water_leak_sensor\n domain: binary_sensor\n - type: moist\n platform: device\n device_id: bcae5b2003bfd3ce1b0080e08bcfe679\n entity_id: binary_sensor.garage_water_leak_sensor\n domain: binary_sensor\n - type: moist\n platform: device\n device_id: cd2a7a3a6238358363f53e4a88984c4d\n entity_id: binary_sensor.lumi_lumi_sensor_wleak_aq1_iaszone_2\n domain: binary_sensor\n condition: []\n action:\n - service: script.text_urgent_alert\n data:\n who: chris\n title: Water Leak!!\n message: '{% set name = trigger.to_state.name %} I have detected a water leak\n {{- \" in the A/C closet. \" if \"AC\" in name -}} {{- \" in the Garage. \" if \"Garage\"\n in name -}} {{- \" under the kitchen sink. \" if \"Kitchen Sink\" in name -}}\n\n '\n - service: script.alexa_voice\n data:\n who: presence\n message: '{% set name = trigger.to_state.name %} I have detected a water leak\n {{- \" in the A/C closet. \" if \"AC\" in name -}} {{- \" in the Garage. \" if \"Garage\"\n in name -}} {{- \" under the kitchen sink. \" if \"Kitchen Sink\" in name -}}\n\n '\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "ac water leak sensor binary sensor",
|
|
"room": "ac_closet",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.ac_water_leak_sensor",
|
|
"device_id": "cde28a301e62e5d305599aed2f12ce67"
|
|
}
|
|
},
|
|
{
|
|
"name": "garage water leak sensor binary sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_water_leak_sensor",
|
|
"device_id": "bcae5b2003bfd3ce1b0080e08bcfe679"
|
|
}
|
|
},
|
|
{
|
|
"name": "lumi lumi sensor wleak aq1 iaszone 2 binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.lumi_lumi_sensor_wleak_aq1_iaszone_2",
|
|
"device_id": "cd2a7a3a6238358363f53e4a88984c4d"
|
|
}
|
|
},
|
|
{
|
|
"name": "Alexa Voice",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alexa_voice",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Text Urgent Alert",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.text_urgent_alert",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alexa_snack_for_blaze",
|
|
"automation": "- id: alexa_snack_for_blaze\n alias: Alexa Snack For Blaze\n initial_state: true\n trigger:\n platform: state\n entity_id:\n - input_button.alexa_snack_for_blaze\n action:\n - service: script.snack_for_blaze",
|
|
"config": [
|
|
{
|
|
"name": "alexa snack for blaze input button",
|
|
"room": null,
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.alexa_snack_for_blaze",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Snack For Blaze",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.snack_for_blaze",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "clock_chime",
|
|
"automation": "- alias: Clock Chime\n id: clock_chime\n mode: restart\n trigger:\n - platform: time_pattern\n minutes: 0\n id: '0'\n - platform: time_pattern\n minutes: 15\n id: '15'\n - platform: time_pattern\n minutes: 30\n id: '30'\n - platform: time_pattern\n minutes: 45\n id: '45'\n condition:\n - condition: time\n after: input_datetime.clock_chime_on_time\n before: input_datetime.clock_chime_off_time\n - condition: state\n entity_id: input_boolean.audible_notifications\n state: 'on'\n - condition: state\n entity_id: input_boolean.clock_chime\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: group.family\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: or\n conditions:\n - condition: trigger\n id: '15'\n - condition: trigger\n id: '45'\n sequence:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.clock_chime_quarter_toll\n state: 'off'\n - condition: state\n entity_id: input_select.clock_chime_sound\n state: Cuckoo Clock\n - stop: Quarter Toll Disabled\n - conditions:\n - condition: trigger\n id: '30'\n sequence:\n - condition: state\n entity_id: input_boolean.clock_chime_half_toll\n state: 'off'\n - stop: Half Toll Disabled\n default: []\n - wait_template: '{{ not is_state(\"media_player.living_room_echo\", \"playing\") }}'\n continue_on_timeout: false\n timeout: 00:02:00\n - service: script.alexa_voice\n data:\n who: living_room\n message: \"{% if states(\\\"input_select.clock_chime_sound\\\") == \\\"Cuckoo Clock\\\"\\\n \\ %}\\n {% if trigger.id == \\\"30\\\" %}\\n <audio src='https://heder-homeassistant.s3.amazonaws.com/cuckoo-clock/cuckoo-clock-01.mp3'/>\\n\\\n \\ {% else %}\\n <audio src='https://heder-homeassistant.s3.amazonaws.com/cuckoo-clock/cuckoo-clock-{{now().strftime(\\\"\\\n %I\\\")}}.mp3'/>\\n {% endif %}\\n{% elif states(\\\"input_select.clock_chime_sound\\\"\\\n ) == \\\"Grandfather Clock\\\" %}\\n {% if trigger.id == \\\"15\\\" %}\\n <audio\\\n \\ src='https://heder-homeassistant.s3.amazonaws.com/gf-clock/toll-1quarter.mp3'/>\\n\\\n \\ {% elif trigger.id == \\\"30\\\" %}\\n <audio src='https://heder-homeassistant.s3.amazonaws.com/gf-clock/toll-2quarter.mp3'/>\\n\\\n \\ {% elif trigger.id == \\\"45\\\" %}\\n <audio src='https://heder-homeassistant.s3.amazonaws.com/gf-clock/toll-3quarter.mp3'/>\\n\\\n \\ {% else %}\\n <audio src='https://heder-homeassistant.s3.amazonaws.com/gf-clock/{{now().strftime(\\\"\\\n %I\\\")}}-hour.mp3'/>\\n {% endif %}\\n{% endif %}\\n\"",
|
|
"config": [
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room echo media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_echo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "clock chime on time input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.clock_chime_on_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "clock chime off time input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.clock_chime_off_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "clock chime input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.clock_chime",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "clock chime quarter toll input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.clock_chime_quarter_toll",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "clock chime sound input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.clock_chime_sound",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "clock chime half toll input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.clock_chime_half_toll",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alexa Voice",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alexa_voice",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "set_wakeup_time",
|
|
"automation": "- id: set_wakeup_time\n alias: Set Wakeup Time\n trigger:\n - platform: time\n at: 01:00:00\n action:\n - choose:\n - alias: Home Day\n conditions:\n - condition: state\n entity_id: binary_sensor.workday\n state: 'on'\n - condition: state\n entity_id: binary_sensor.holiday\n state: 'off'\n sequence:\n - service: input_datetime.set_datetime\n data:\n time: '{{ states(''input_datetime.workday_wakeup_time'') }}'\n target:\n entity_id: input_datetime.wakeup\n - service: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.wakeup_alarm\n default:\n - service: input_datetime.set_datetime\n data:\n time: 09:00:00\n target:\n entity_id: input_datetime.wakeup\n - service: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.wakeup_alarm",
|
|
"config": [
|
|
{
|
|
"name": "workday binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.workday",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "holiday binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.holiday",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "workday wakeup time input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.workday_wakeup_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "morning_routine",
|
|
"automation": "- id: morning_routine\n alias: Morning Routine\n trigger:\n - at: input_datetime.wakeup\n platform: time\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.do_not_disturb\n data: {}\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.audible_notifications\n data: {}\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.windows_open\n state: 'off'\n sequence:\n - service: fan.turn_off\n target:\n entity_id: fan.bedroom_fan\n data: {}\n default: []\n - service: input_select.select_option\n target:\n entity_id: input_select.thermostat_preset\n data:\n option: \"{% if is_state(\\\"person.steven\\\", \\\"home\\\") %}\\n Daytime - Steven\\n\\\n {% else %}\\n Daytime - Chris\\n{% endif %}\\n\"\n - service: switch.turn_off\n data: {}\n target:\n entity_id:\n - switch.chris_s_echo_show_do_not_disturb_switch\n - switch.lab_echo_dot_do_not_disturb_switch\n - switch.living_room_echo_do_not_disturb_switch\n - switch.kitchen_echo_dot_do_not_disturb_switch\n - switch.chris_s_fire_do_not_disturb_switch\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.wakeup_alarm\n state: 'on'\n sequence:\n - service: script.morning_wakeup_report\n data: {}\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom fan",
|
|
"room": "bedroom",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.bedroom_fan",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat preset input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.thermostat_preset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "windows open input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.windows_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "steven person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.steven",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s echo show do not disturb switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.chris_s_echo_show_do_not_disturb_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab echo dot do not disturb switch",
|
|
"room": "lab",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.lab_echo_dot_do_not_disturb_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room echo do not disturb switch",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.living_room_echo_do_not_disturb_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen echo dot do not disturb switch",
|
|
"room": "kitchen",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.kitchen_echo_dot_do_not_disturb_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris s fire do not disturb switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.chris_s_fire_do_not_disturb_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Morning Wakeup Report",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.morning_wakeup_report",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1616533227405'",
|
|
"automation": "- alias: Front Lights On At Dusk\n id: '1616533227405'\n description: Trigger when it gets dark\n trigger:\n - type: illuminance\n platform: device\n device_id: 2db8b8a959026a5b8339a61834dd3197\n entity_id: sensor.patio_ambient_light\n domain: sensor\n below: 20\n condition:\n - condition: state\n entity_id: input_boolean.front_lights_on_for_the_night\n state: 'off'\n action:\n - service: notify.chris\n data:\n message: Lights are turning on\n - service: script.front_lights_turn_on\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.front_lights_on_for_the_night\n - condition: state\n entity_id: input_boolean.columns_button_enabled\n state: 'on'\n - service: light.turn_on\n target:\n entity_id: light.front_columns_button_led\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "patio ambient light sensor",
|
|
"room": "patio",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.patio_ambient_light",
|
|
"device_id": "2db8b8a959026a5b8339a61834dd3197"
|
|
}
|
|
},
|
|
{
|
|
"name": "front lights on for the night input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_lights_on_for_the_night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "columns button enabled input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.columns_button_enabled",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front columns button led",
|
|
"room": "front_columns",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_columns_button_led",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Front Lights Turn On",
|
|
"room": "Front Yard",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.front_lights_turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1599449030138'",
|
|
"automation": "- alias: Front lights off at night\n id: '1599449030138'\n description: ''\n trigger:\n - at: input_datetime.front_lights_off\n platform: time\n condition:\n - condition: state\n entity_id: input_boolean.guests_over\n state: 'off'\n action:\n - service: scene.turn_on\n target:\n entity_id: scene.front_lights_all_off\n - service: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.front_lights_off_for_the_night\n - service: light.turn_off\n target:\n entity_id:\n - light.front_columns_button_led\n - light.front_columns_black_lights\n - light.columns_garland\n - light.village\n - light.fiber_optic_decoration\n - service: light.turn_off\n target:\n entity_id:\n - light.front_columns_button_led\n data:\n transition: 2\n - service: switch.turn_off\n target:\n entity_id:\n - switch.path_light_power_supply\n - service: script.fpp_stop_now\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front columns button led",
|
|
"room": "front_columns",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_columns_button_led",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lights off input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.front_lights_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guests over input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guests_over",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lights all off scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.front_lights_all_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lights off for the night input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_lights_off_for_the_night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front columns black lights",
|
|
"room": "front_columns",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_columns_black_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "columns garland",
|
|
"room": "columns",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.columns_garland",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "village",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.village",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fiber optic decoration",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fiber_optic_decoration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "path light power supply switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.path_light_power_supply",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "FPP Stop Now",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fpp_stop_now",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1617760688958'",
|
|
"automation": "- alias: Front Lights Reset at noon\n id: '1617760688958'\n description: ''\n trigger:\n - platform: time\n at: '12:00:00'\n condition: []\n action:\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.front_lights_on_for_the_night\n - input_boolean.front_lights_off_for_the_night\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front lights on for the night input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_lights_on_for_the_night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lights off for the night input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_lights_off_for_the_night",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1617761350052'",
|
|
"automation": "- alias: Toggle Flood Lights\n id: '1617761350052'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: c05382e95d514cffc7ea5ddc936b93b9\n type: button_double_press\n subtype: button_1\n discovery_id: CC50E3E75A8F_button_1_DOUBLE\n condition: []\n action:\n - service: light.toggle\n data:\n brightness_pct: 100\n rgb_color:\n - 0\n - 255\n - 255\n transition: 5\n target:\n entity_id:\n - light.left_flood\n - light.right_flood\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device c05382e95d514cffc7ea5ddc936b93b9",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "c05382e95d514cffc7ea5ddc936b93b9"
|
|
}
|
|
},
|
|
{
|
|
"name": "left flood",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.left_flood",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "right flood",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.right_flood",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1632625438084'",
|
|
"automation": "- alias: FPP Volume Set\n id: '1632625438084'\n description: ''\n trigger:\n - platform: state\n entity_id: input_number.fpp_volume\n condition: []\n action:\n - service: script.fpp_set_volume\n data:\n volume: '{{ states(\"input_number.fpp_volume\") }}'\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "fpp volume input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.fpp_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "FPP Set Volume",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fpp_set_volume",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1633371419662'",
|
|
"automation": "- alias: FPP Status Sync\n id: '1633371419662'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.fpp_status\n condition: []\n action:\n - choose:\n - alias: playing standby\n conditions:\n - condition: state\n entity_id: sensor.fpp_status\n state: playing\n - condition: template\n value_template: '{{ \"standby\" in (states(\"sensor.fpp_current_playlist\") |\n lower) }}'\n sequence:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.front_yard_motion_lights\n - service: light.turn_off\n target:\n entity_id: light.porch_light\n - alias: playing normal\n conditions:\n - condition: state\n entity_id: sensor.fpp_status\n state: playing\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.front_columns_button_led\n data:\n transition: 2\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.front_yard_motion_lights\n - service: light.turn_off\n target:\n entity_id: light.porch_light\n - alias: idle\n conditions:\n - condition: state\n entity_id: sensor.fpp_status\n state: idle\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.front_yard_motion_lights\n - if:\n - condition: and\n conditions:\n - condition: state\n entity_id: input_boolean.front_lights_on_for_the_night\n state: 'on'\n - condition: state\n entity_id: input_boolean.front_lights_off_for_the_night\n state: 'off'\n then:\n - service: light.turn_on\n target:\n entity_id: light.front_columns_button_led\n data:\n transition: 2\n - service: script.front_lights_turn_on\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front lights on for the night input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_lights_on_for_the_night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front columns button led",
|
|
"room": "front_columns",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_columns_button_led",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front lights off for the night input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_lights_off_for_the_night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fpp status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.fpp_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fpp current playlist sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.fpp_current_playlist",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front yard motion lights input boolean",
|
|
"room": "front_yard",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_yard_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "porch light",
|
|
"room": "porch",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.porch_light",
|
|
"device_id": "ea967cfc7f04c23b62f5b9f437966b3e"
|
|
}
|
|
},
|
|
{
|
|
"name": "Front Lights Turn On",
|
|
"room": "Front Yard",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.front_lights_turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1633124084367'",
|
|
"automation": "- alias: Front Columns Button Press\n id: '1633124084367'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 8e07dd38dc9354108f762038aec68c27\n type: button_short_press\n subtype: button_1\n discovery_id: BCFF4D1916A5_button_1_SINGLE\n condition:\n - condition: state\n state: 'on'\n entity_id: light.front_columns_button_led\n action:\n - service: script.text_notify_chris\n data:\n title: Front Lights\n message: Someone pressed the button\n - alias: Set Volume\n choose:\n - conditions:\n - condition: time\n before: '20:30:00'\n sequence:\n - service: script.fpp_set_volume\n data:\n volume: 70\n - conditions:\n - condition: time\n after: '20:30:00'\n - condition: time\n before: '21:30:00'\n sequence:\n - service: script.fpp_set_volume\n data:\n volume: 50\n - conditions:\n - condition: time\n after: '21:30:00'\n sequence:\n - service: script.fpp_set_volume\n data:\n volume: 38\n default: []\n - service: script.fpp_start_playlist_at_random_song\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "front columns button led",
|
|
"room": "front_columns",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_columns_button_led",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device 8e07dd38dc9354108f762038aec68c27",
|
|
"room": "front_columns",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "8e07dd38dc9354108f762038aec68c27"
|
|
}
|
|
},
|
|
{
|
|
"name": "FPP Set Volume",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fpp_set_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "FPP Start Playlist At Random Song",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fpp_start_playlist_at_random_song",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Text Notify Chris",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.text_notify_chris",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1633372254150'",
|
|
"automation": "- alias: Front Columns Force Stop\n id: '1633372254150'\n description: ''\n trigger:\n - platform: device\n domain: tasmota\n device_id: 8e07dd38dc9354108f762038aec68c27\n type: button_quadruple_press\n subtype: button_1\n discovery_id: BCFF4D1916A5_button_1_QUAD\n condition:\n - condition: state\n entity_id: sensor.fpp_status\n state: playing\n action:\n - service: script.fpp_stop_now\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "fpp status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.fpp_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tasmota device 8e07dd38dc9354108f762038aec68c27",
|
|
"room": "front_columns",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "8e07dd38dc9354108f762038aec68c27"
|
|
}
|
|
},
|
|
{
|
|
"name": "FPP Stop Now",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fpp_stop_now",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "IrrigationTimerStart",
|
|
"automation": "- alias: Irrigation Timer Start\n id: IrrigationTimerStart\n trigger:\n - platform: state\n entity_id: switch.irrigation\n to: 'on'\n action:\n - service: timer.start\n entity_id: timer.irrigation",
|
|
"config": [
|
|
{
|
|
"name": "irrigation switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.irrigation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "irrigation timer",
|
|
"room": null,
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.irrigation",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "IrrigationTimerStop",
|
|
"automation": "- alias: Irrigation Timer Stop\n id: IrrigationTimerStop\n trigger:\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.irrigation\n action:\n - service: notify.all_devices\n data:\n message: Irrigation complete\n - service: switch.turn_off\n entity_id: switch.irrigation",
|
|
"config": [
|
|
{
|
|
"name": "irrigation switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.irrigation",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "irrigation timer",
|
|
"room": null,
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.irrigation",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bedroom_smart_light_handler",
|
|
"automation": "- id: bedroom_smart_light_handler\n alias: Bedroom Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.espresense_bedroom_motion\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.bedroom_motion_lights\n state: 'on'\n action:\n - choose:\n - alias: Morning\n conditions:\n - condition: state\n entity_id: binary_sensor.morning\n state: 'on'\n - below: 200\n condition: numeric_state\n entity_id: sensor.bedroom_ambient_light\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.bathroom_light\n data:\n brightness_pct: 35\n - alias: Daytime\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.noon\n state: 'on'\n - condition: state\n entity_id: binary_sensor.afternoon\n state: 'on'\n - below: 200\n condition: numeric_state\n entity_id: sensor.bedroom_ambient_light\n sequence:\n - service: script.master_bedroom_lights_w_level\n data:\n level: 170\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_bedroom_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.motion_lights_delay\")|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.hue_color_lamp_1\n - light.bedroom_fan_lights\n - alias: Evening\n conditions:\n - condition: state\n entity_id: binary_sensor.evening\n state: 'on'\n sequence:\n - choose:\n - conditions:\n - below: 200\n condition: numeric_state\n entity_id: sensor.bedroom_ambient_light\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 75\n target:\n entity_id: light.hue_color_lamp_1\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_bedroom_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.motion_lights_delay\")|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.hue_color_lamp_1\n - light.bedroom_fan_lights\n default: []\n - alias: Night\n conditions:\n - condition: state\n entity_id: binary_sensor.night\n state: 'on'\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 75\n target:\n entity_id: light.hue_color_lamp_1\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_bedroom_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.motion_lights_delay\")|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.hue_color_lamp_1\n - light.bedroom_fan_lights\n default: []\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "bedroom fan lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_fan_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_bedroom_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion lights input boolean",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.bedroom_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "morning binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.morning",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom ambient light sensor",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bedroom_ambient_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "noon binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.noon",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "afternoon binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.afternoon",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue color lamp 1",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_color_lamp_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "evening binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.evening",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "night binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Master Bedroom Lights With Level",
|
|
"room": "Bedroom",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.master_bedroom_lights_w_level",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "lab_smart_light_handler",
|
|
"automation": "- id: lab_smart_light_handler\n alias: Lab Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.espresense_lab_motion\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.lab_motion_lights\n state: 'on'\n - below: 100\n condition: numeric_state\n entity_id: sensor.lab_ambient_light\n action:\n - service: light.turn_on\n entity_id: light.lab_fan_light\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_bedroom_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.lab_fan_light\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "lab fan light",
|
|
"room": "lab",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lab_fan_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_bedroom_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab motion sensor",
|
|
"room": "lab",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_lab_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab motion lights input boolean",
|
|
"room": "lab",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lab_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab ambient light sensor",
|
|
"room": "lab",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.lab_ambient_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "living_room_smart_light_handler",
|
|
"automation": "- id: living_room_smart_light_handler\n alias: Living Room Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.espresense_living_room_motion\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.living_room_motion_lights\n state: 'on'\n action:\n - choose:\n - alias: Daytime\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.morning\n state: 'on'\n - condition: state\n entity_id: binary_sensor.noon\n state: 'on'\n - condition: state\n entity_id: binary_sensor.afternoon\n state: 'on'\n sequence:\n - service: scene.turn_on\n data:\n entity_id: scene.living_room_lights_on\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_living_room_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.motion_lights_delay\")|int }}'\n - service: scene.turn_on\n data:\n entity_id: scene.living_room_lights_off\n - alias: Evening\n conditions:\n - condition: state\n entity_id: binary_sensor.evening\n state: 'on'\n sequence:\n - service: scene.turn_on\n data:\n entity_id: scene.living_room_ambient\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_living_room_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.motion_lights_delay\")|int }}'\n - service: scene.turn_on\n data:\n entity_id: scene.living_room_lights_off\n - alias: Night\n conditions:\n - condition: state\n entity_id: binary_sensor.night\n state: 'on'\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n sequence:\n - service: scene.turn_on\n data:\n entity_id: scene.living_room_ambient\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_living_room_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(\"input_number.motion_lights_delay\")|int }}'\n - service: scene.turn_on\n data:\n entity_id: scene.living_room_lights_off\n default: []\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "morning binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.morning",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "noon binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.noon",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "afternoon binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.afternoon",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "evening binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.evening",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "night binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion sensor",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_living_room_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion lights input boolean",
|
|
"room": "living_room",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.living_room_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lights on scene",
|
|
"room": "living_room",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.living_room_lights_on",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lights off scene",
|
|
"room": "living_room",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.living_room_lights_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room ambient scene",
|
|
"room": "living_room",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.living_room_ambient",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dining_room_smart_light_handler",
|
|
"automation": "- id: dining_room_smart_light_handler\n alias: Dining Room Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.espresense_dining_room_motion\n from: 'off'\n to: 'on'\n for:\n seconds: 1\n condition:\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.dining_room_motion_lights\n state: 'on'\n action:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.dining_room_light\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_dining_room_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.dining_room_light\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dining room motion sensor",
|
|
"room": "dining_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_dining_room_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dining room motion lights input boolean",
|
|
"room": "dining_room",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.dining_room_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dining room light",
|
|
"room": "dining_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dining_room_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "kitchen_smart_light_handler",
|
|
"automation": "- id: kitchen_smart_light_handler\n alias: Kitchen Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.espresense_kitchen_motion\n id: motion_active\n from: 'off'\n to: 'on'\n for:\n seconds: 1\n - platform: device\n type: turned_on\n device_id: 7e8b95744c7040bbbee460145db11d97\n entity_id: light.kitchen_light\n id: light_turned_on\n domain: light\n condition:\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.kitchen_motion_lights\n state: 'on'\n action:\n - choose:\n - alias: Light Turned On\n conditions:\n - condition: trigger\n id: light_turned_on\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n entity_id: light.kitchen_leds\n - alias: Night\n conditions:\n - condition: state\n entity_id: binary_sensor.do_not_disturb\n state: 'on'\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 85\n target:\n entity_id: light.kitchen_leds\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_kitchen_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: light.turn_off\n target:\n entity_id:\n - light.kitchen_light\n - light.kitchen_leds\n - alias: Evening and Night While Awake\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.evening\n state: 'on'\n - condition: state\n entity_id: binary_sensor.night\n state: 'on'\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n entity_id: light.kitchen_leds\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_kitchen_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: scene.turn_on\n target:\n entity_id: scene.kitchen_dim\n default:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.kitchen_light\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.espresense_kitchen_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.kitchen_light\n - light.kitchen_leds\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "tasmota device 7e8b95744c7040bbbee460145db11d97",
|
|
"room": "kitchen",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "7e8b95744c7040bbbee460145db11d97"
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen leds",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_leds",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "evening binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.evening",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "night binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_kitchen_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_light",
|
|
"device_id": "7e8b95744c7040bbbee460145db11d97"
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion lights input boolean",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.kitchen_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen dim scene",
|
|
"room": "kitchen",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.kitchen_dim",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Do Not Disturb",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "front_yard_smart_light_handler",
|
|
"automation": "- id: front_yard_smart_light_handler\n alias: Front Yard Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.front_yard_motion\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 2\n condition:\n - condition: state\n entity_id: input_boolean.front_yard_motion_lights\n state: 'on'\n - below: 60\n condition: numeric_state\n entity_id: sensor.patio_ambient_light\n action:\n - type: turn_on\n device_id: ea967cfc7f04c23b62f5b9f437966b3e\n entity_id: light.porch_light\n domain: light\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.front_yard_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: light.turn_off\n target:\n entity_id: light.porch_light\n data: {}\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "patio ambient light sensor",
|
|
"room": "patio",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.patio_ambient_light",
|
|
"device_id": "2db8b8a959026a5b8339a61834dd3197"
|
|
}
|
|
},
|
|
{
|
|
"name": "front yard motion lights input boolean",
|
|
"room": "front_yard",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_yard_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "porch light",
|
|
"room": "porch",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.porch_light",
|
|
"device_id": "ea967cfc7f04c23b62f5b9f437966b3e"
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front yard motion binary sensor",
|
|
"room": "front_yard",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_yard_motion",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "patio_smart_light_handler",
|
|
"automation": "- id: patio_smart_light_handler\n alias: Patio Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.patio_ring_motion\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.patio_motion_lights\n state: 'on'\n - below: 60\n condition: numeric_state\n entity_id: sensor.patio_ambient_light\n action:\n - service: light.turn_on\n entity_id: light.patio_string_lights\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.patio_motion\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.patio_string_lights\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "patio string lights",
|
|
"room": "patio",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.patio_string_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio ambient light sensor",
|
|
"room": "patio",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.patio_ambient_light",
|
|
"device_id": "2db8b8a959026a5b8339a61834dd3197"
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio ring motion binary sensor",
|
|
"room": "patio",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.patio_ring_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio motion lights input boolean",
|
|
"room": "patio",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.patio_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Patio Motion",
|
|
"room": "Patio",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.patio_motion",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "garage_smart_light_handler",
|
|
"automation": "- id: garage_smart_light_handler\n alias: Garage Smart Light Handler\n description: ''\n trigger:\n - platform: state\n entity_id: input_boolean.garage_motion\n id: motion_active\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: input_boolean.garage_motion\n id: motion_inactive\n from: 'on'\n to: 'off'\n for:\n minutes: '{{ states(''input_number.motion_lights_delay'')|int }}'\n - platform: state\n entity_id: binary_sensor.garage_door\n id: door_open\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: binary_sensor.garage_door\n id: door_closed\n from: 'on'\n to: 'off'\n action:\n - choose:\n - alias: Motion Active\n conditions:\n - condition: trigger\n id: motion_active\n - condition: state\n entity_id: binary_sensor.garage_door\n state: 'on'\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.garage_motion_lights\n state: 'on'\n sequence:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.garage_light\n - alias: Motion Inactive\n conditions:\n - condition: trigger\n id: motion_inactive\n - condition: state\n entity_id: binary_sensor.garage_door\n state: 'on'\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.garage_motion_lights\n state: 'on'\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.garage_light\n - alias: Door Open\n conditions:\n - condition: trigger\n id: door_open\n sequence:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.garage_light\n - alias: Door Closed\n conditions:\n - condition: trigger\n id: door_closed\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.garage_light\n default: []\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights delay input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.motion_lights_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage motion input boolean",
|
|
"room": "garage",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.garage_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage motion lights input boolean",
|
|
"room": "garage",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.garage_motion_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door binary sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage light",
|
|
"room": "garage",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.garage_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "hallway_smart_light_handler",
|
|
"automation": "- id: hallway_smart_light_handler\n alias: Hallway Smart Light Handler\n description: ''\n trigger:\n - type: motion\n platform: device\n device_id: 7a7926b5a8d399f1cf7fcd1f450ada99\n entity_id: binary_sensor.hallway_motion_sensor\n domain: binary_sensor\n condition:\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.hallway_smart_lights\n state: 'on'\n action:\n - if:\n - condition: state\n entity_id: input_boolean.do_not_disturb\n state: 'off'\n then:\n - service: light.turn_on\n entity_id: light.hallway_light\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.hallway_motion_sensor\n from: 'on'\n to: 'off'\n for:\n minutes: 1\n - service: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "do not disturb input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.do_not_disturb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway motion sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_sensor",
|
|
"device_id": "7a7926b5a8d399f1cf7fcd1f450ada99"
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway smart lights input boolean",
|
|
"room": "hallway",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.hallway_smart_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front hall motion sensor",
|
|
"room": "front_hall",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_hall_motion_sensor",
|
|
"device_id": "7a7926b5a8d399f1cf7fcd1f450ada99"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "front_hall_smart_light_handler",
|
|
"automation": "- id: front_hall_smart_light_handler\n alias: Front Hall Smart Light Handler\n description: ''\n trigger:\n - type: motion\n platform: device\n device_id: 7a7926b5a8d399f1cf7fcd1f450ada99\n entity_id: binary_sensor.front_hall_motion_sensor\n domain: binary_sensor\n condition:\n - condition: state\n entity_id: input_boolean.motion_lights_master\n state: 'on'\n - condition: state\n entity_id: input_boolean.front_hall_smart_lights\n state: 'on'\n action:\n - service: light.turn_on\n entity_id: light.front_hall_light\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.front_hall_motion_sensor\n from: 'on'\n to: 'off'\n for:\n minutes: 1\n - service: light.turn_off\n target:\n entity_id:\n - light.front_hall_light\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "motion lights master input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.motion_lights_master",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway motion sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_sensor",
|
|
"device_id": "7a7926b5a8d399f1cf7fcd1f450ada99"
|
|
}
|
|
},
|
|
{
|
|
"name": "front hall motion sensor",
|
|
"room": "front_hall",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_hall_motion_sensor",
|
|
"device_id": "7a7926b5a8d399f1cf7fcd1f450ada99"
|
|
}
|
|
},
|
|
{
|
|
"name": "front hall smart lights input boolean",
|
|
"room": "front_hall",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_hall_smart_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front hall light",
|
|
"room": "front_hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_hall_light",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "linen_closet_smart_light_handler",
|
|
"automation": "- id: linen_closet_smart_light_handler\n alias: Linen Closet Smart Light Handler\n description: ''\n trigger:\n - type: opened\n platform: device\n device_id: b80845462ce1646784961b89e888c56a\n entity_id: binary_sensor.linen_closet\n domain: binary_sensor\n id: open\n - type: not_opened\n platform: device\n device_id: b80845462ce1646784961b89e888c56a\n entity_id: binary_sensor.linen_closet\n domain: binary_sensor\n id: closed\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: open\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n entity_id: light.linen_closet\n - conditions:\n - condition: trigger\n id: closed\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.linen_closet\n default: []\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "linen closet binary sensor",
|
|
"room": "linen_closet",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.linen_closet",
|
|
"device_id": "b80845462ce1646784961b89e888c56a"
|
|
}
|
|
},
|
|
{
|
|
"name": "linen closet",
|
|
"room": "linen_closet",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.linen_closet",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1606452083691'",
|
|
"automation": "- id: '1606452083691'\n alias: Alohomora\n description: ''\n trigger:\n - platform: state\n entity_id: input_boolean.alohomora\n from: 'off'\n to: 'on'\n condition:\n - condition: device\n device_id: 88da2f99bc5978f66263d957949cfb6d\n domain: device_tracker\n entity_id: device_tracker.iphone_5\n type: is_home\n action:\n - service: lock.unlock\n data: {}\n entity_id: lock.schlage_allegion_be469zp_connect_smart_deadbolt_locked_frontdoor\n - service: input_boolean.turn_off\n data: {}\n entity_id: input_boolean.alohomora\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "alohomora input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alohomora",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "iphone 5 device tracker",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.iphone_5",
|
|
"device_id": "88da2f99bc5978f66263d957949cfb6d"
|
|
}
|
|
},
|
|
{
|
|
"name": "front door lock",
|
|
"room": "front_door",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.schlage_allegion_be469zp_connect_smart_deadbolt_locked_frontdoor",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "daily_snapshot_clean_up",
|
|
"automation": "- id: daily_snapshot_clean_up\n alias: Daily snapshot clean up\n trigger:\n - platform: time\n at: 03:00:00\n action:\n - service: clean_up_snapshots_service.clean_up",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "startup_automations",
|
|
"automation": "- id: startup_automations\n alias: Home Assistant Startup\n description: ''\n trigger:\n - platform: homeassistant\n event: start\n condition: []\n action:\n - delay: 30\n - service: notify.chris\n data:\n message: Home Assistant has started\n title: We're back\n - service: script.status_annc\n data:\n who: '{{ states(''sensor.room_presence'') }}'\n call_inform_chime: 1\n call_ha_started: 1\n - service: button.press\n data: {}\n target:\n entity_id: button.fire_tablet_load_start_url\n - service: mqtt.publish\n data:\n topic: cmnd/tasmotas/state\n payload: ''\n - service: homeassistant.update_entity\n entity_id: sensor.chris_location\n - service: homeassistant.update_entity\n entity_id: sensor.steven_location\n - service: frontend.set_theme\n data:\n name: ios-dark-mode-light-blue\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "fire tablet load start url button",
|
|
"room": null,
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.fire_tablet_load_start_url",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris location sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.chris_location",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "steven location sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.steven_location",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "room presence sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_presence",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f8a0798d6ebb4821845ed48dbf91cf83",
|
|
"automation": "- alias: Update USPS Mail Camera Path on Hass Restart\n trigger:\n - platform: state\n entity_id: sensor.mail_updated\n - platform: homeassistant\n event: start\n action:\n - service: local_file.update_file_path\n data:\n entity_id: camera.mail_usps\n file_path: '{{ states(''sensor.mail_image_system_path'') }}'\n id: f8a0798d6ebb4821845ed48dbf91cf83",
|
|
"config": [
|
|
{
|
|
"name": "mail updated sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mail_updated",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mail usps camera",
|
|
"room": null,
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.mail_usps",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mail image system path sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mail_image_system_path",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600452870216'",
|
|
"automation": "- alias: Power Outage Alert\n id: '1600452870216'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.cyberpower_status\n from: Online\n to: On Battery Battery Discharging\n condition: []\n action:\n - service: notify.all_devices\n data:\n message: Power is out at home\n data:\n push:\n sound:\n name: default\n critical: 1\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "cyberpower status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.cyberpower_status",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1600453304153'",
|
|
"automation": "- alias: Power Restored Alert\n id: '1600453304153'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.cyberpower_status\n from: On Battery Battery Discharging\n to: Online\n condition: []\n action:\n - service: notify.all_devices\n data:\n message: Power at home is restored.\n data:\n push:\n sound:\n name: default\n critical: 1\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "cyberpower status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.cyberpower_status",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1617220336703'",
|
|
"automation": "- alias: Battery Backup Unavailable Restart\n id: '1617220336703'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.cyberpower_status\n to: unavailable\n from: Online\n condition: []\n action:\n - service: hassio.addon_restart\n data:\n addon: a0d7b954_nut\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "cyberpower status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.cyberpower_status",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1617758977383'",
|
|
"automation": "- alias: NUT Auto Restart\n id: '1617758977383'\n description: ''\n trigger:\n - platform: state\n entity_id: sensor.cyberpower_status\n attribute: state\n to: Unavailable\n condition:\n - condition: state\n entity_id: input_boolean.nut_restarted\n state: 'off'\n action:\n - service: hassio.addon_restart\n data:\n addon: a0d7b954_nut\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.nut_restarted\n - wait_template: 00:05:00\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.nut_restarted\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "cyberpower status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.cyberpower_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nut restarted input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.nut_restarted",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1615916791727'",
|
|
"automation": "- alias: Certificate Expiration Alert\n id: '1615916791727'\n description: ''\n use_blueprint:\n path: bkbilly/certificate-expiration.yaml\n input:\n time_input: '15:00:00'\n certificate_input: sensor.cert_expiry_timestamp_home_chrisheder_com\n notify_device: 8a29ce795dc898ced035043888d04070",
|
|
"config": [
|
|
{
|
|
"name": "cert expiry timestamp home chrisheder com sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.cert_expiry_timestamp_home_chrisheder_com",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "nightly_backup",
|
|
"automation": "- alias: Nightly Backup\n id: nightly_backup\n mode: single\n trigger:\n - platform: time\n at: 02:00:00\n action:\n - service: hassio.backup_full\n data:\n name: Full Backup {{ now().strftime('%Y-%m-%d') }}",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "announce_callerid",
|
|
"automation": "- alias: Announce CallerID\n id: announce_callerid\n trigger:\n platform: state\n entity_id: sensor.phone_modem\n to: callerid\n action:\n service: script.alexa_voice\n data:\n who: presence\n message: \"{# Set call.name to the name of the caller ID initially #} {%- set\\\n \\ call = namespace(name=state_attr('sensor.phone_modem', 'cid_name')) -%}\\n\\\n {# Iterate through my contacts (example sensor in hidden_example.yaml) #}\\\n \\ {# If the caller ID's number matches a number in my contacts #} {# override\\\n \\ call.name with the contact's name #} {%- for name, number in state_attr('sensor.contacts','contacts').items()\\\n \\ -%}\\n {%- if number == state_attr('sensor.phone_modem', 'cid_number') -%}\\n\\\n \\ {%- set call.name = name -%}\\n {%- endif -%}\\n{%- endfor -%}\\n{# Announce\\\n \\ the call using a random variation of the phrase #} {{ [\\n \\\"Sir, incoming\\\n \\ call from \\\" + call.name,\\n \\\"Sir, you have a call from \\\" + call.name,\\n\\\n \\ \\\"Sir, you have an incoming call from \\\" + call.name,\\n \\\"Incoming phone\\\n \\ call sir, from \\\" + call.name,\\n \\\"Sir, \\\" + call.name + \\\"is calling\\\"\\\n \\n ] | random }}\\n\"",
|
|
"config": [
|
|
{
|
|
"name": "phone modem sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.phone_modem",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "contacts sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.contacts",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alexa Voice",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alexa_voice",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "family_has_arrived",
|
|
"automation": "- id: family_has_arrived\n alias: Family Has arrived\n trigger:\n - platform: zone\n entity_id: person.chris\n zone: zone.home\n event: enter\n id: chris\n - entity_id: person.steven\n from: not_home\n platform: state\n to: home\n id: steven\n - entity_id: group.family\n platform: state\n to: home\n id: family\n from: not_home\n condition: []\n action:\n - service: script.family_is_home\n mode: single\n initial_state: true",
|
|
"config": [
|
|
{
|
|
"name": "steven person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.steven",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.chris",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Family Is Home",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.family_is_home",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "family_has_left",
|
|
"automation": "- id: family_has_left\n alias: Family Has Left\n initial_state: true\n trigger:\n - entity_id: group.family\n from: home\n platform: state\n to: not_home\n mode: single\n condition:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n action:\n - service: script.family_is_away",
|
|
"config": [
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Family Is Away",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.family_is_away",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "welcome_home",
|
|
"automation": "- id: welcome_home\n alias: Welcome Home\n mode: restart\n trigger:\n - platform: state\n entity_id:\n - person.chris\n - person.steven\n - person.kaitlyn\n - person.ronald\n - person.mari\n - person.rheena\n - person.danielle\n - person.daniel\n - person.brian\n - person.rathnam\n - person.nico\n from: not_home\n to: home\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.welcome_home\n state: 'on'\n sequence:\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.front_door\n from: 'off'\n to: 'on'\n - service: scene.turn_on\n target:\n entity_id: scene.arrival\n - delay:\n hours: 0\n minutes: 0\n seconds: 10\n milliseconds: 0\n - service: script.turn_on\n entity_id: script.welcome_briefing\n default:\n - service: group.set\n data:\n object_id: arriving\n add_entities: '{{ trigger.to_state.entity_id }}'\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.front_door\n from: 'off'\n to: 'on'\n - delay:\n hours: 0\n minutes: 0\n seconds: 10\n milliseconds: 0\n - service: script.status_annc\n data:\n who: '{{ states(''sensor.room_presence'') }}'\n call_interuption: 1\n speech_message: \"{% set person = expand('group.arriving')|map(attribute='name')|join('\\\n \\ and ') %} {% set peoplecount = expand('group.arriving') | count %} {%\\\n \\ if peoplecount == 1 %}\\n {% set is_are = ' is ' %}\\n {% set has_have\\\n \\ = ' has ' %}\\n{% else %}\\n {% set is_are = ' are ' %}\\n {% set has_have\\\n \\ = ' have ' %}\\n{% endif %} {%- macro greeting_sentence(person, is_are,\\\n \\ has_have) -%}\\n {{ [\\n person ~ has_have + \\\" arrived.\\\",\\n \\\"My sensors\\\n \\ are picking up the presence of additional humans. \\\" ~ person ~ has_have\\\n \\ + \\\" been identified as home.\\\",\\n \\\"Guess who is in the hub?\\\" ~ person\\\n \\ ~ is_are,\\n \\\"I am sensing a disturbance in the force. \\\" ~ person +\\\"\\\n \\ must be back\\\",\\n person ~ is_are + \\\"now in the house.\\\",\\n person\\\n \\ ~ is_are + \\\" now here. Welcome Home.\\\",\\n person ~ is_are + \\\" now\\\n \\ here.\\\",\\n \\\"Just a quick announcement. \\\" ~ person ~ has_have + \\\" \\\n \\ arrived\\\",\\n person ~ has_have + \\\" finally made it home.\\\"\\n ] | random\\\n \\ }}\\n{%- endmacro -%} {{greeting_sentence(person, is_are, has_have)}}\\n\"\n - delay: 00:02:00\n - service: group.set\n data:\n object_id: arriving\n entities: []",
|
|
"config": [
|
|
{
|
|
"name": "steven person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.steven",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "chris person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.chris",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kaitlyn person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.kaitlyn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ronald person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.ronald",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "rheena person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.rheena",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "danielle person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.danielle",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "brian person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.brian",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "rathnam person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.rathnam",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nico person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nico",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mari person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.mari",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "daniel person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.daniel",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "welcome home input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.welcome_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "arrival scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.arrival",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "arriving group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.arriving",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "room presence sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_presence",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Welcome Briefing",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.welcome_briefing",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "guests_have_arrived",
|
|
"automation": "- id: guests_have_arrived\n alias: Guests have arrived\n trigger:\n - platform: state\n entity_id:\n - person.kaitlyn\n - person.ronald\n - person.mari\n - person.rheena\n - person.danielle\n - person.daniel\n - person.brian\n - person.rathnam\n - person.nico\n from: not_home\n to: home\n action:\n - service: script.family_is_home\n - service: script.visitors_here\n initial_state: true",
|
|
"config": [
|
|
{
|
|
"name": "kaitlyn person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.kaitlyn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ronald person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.ronald",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "rheena person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.rheena",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "danielle person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.danielle",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "brian person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.brian",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "rathnam person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.rathnam",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nico person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nico",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mari person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.mari",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "daniel person",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.daniel",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Family Is Home",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.family_is_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Visitors Here",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.visitors_here",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "guests_have_left",
|
|
"automation": "- id: guests_have_left\n alias: Guests have left\n trigger:\n - entity_id: group.friends\n from: home\n to: not_home\n platform: state\n action:\n - service: script.visitors_gone\n - condition: not\n conditions:\n - condition: state\n entity_id: group.family\n state: home\n - service: script.family_is_away\n data: {}\n initial_state: true",
|
|
"config": [
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "friends group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.friends",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Family Is Away",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.family_is_away",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Visitors Gone",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.visitors_gone",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1645589881575'",
|
|
"automation": "- alias: 3D Print Check Status\n id: '1645589881575'\n description: ''\n trigger:\n - platform: state\n entity_id: input_button.3d_print_check_status\n condition: []\n action:\n - service: script.status_annc\n data:\n who: '{{ (''sensor.room_presence'') }}'\n call_boop: 1\n speech_message: \"{%- set time_left = state_attr('sensor.octoprint_print_progress','printTimeLeftFormatted').split(':')\\\n \\ %}\\n your 3D print is {{ states('sensor.octoprint_print_progress') }} percent\\\n \\ complete.\\n Theres\\n{% if int(time_left[0]) != 0 %}\\n {{ int(time_left[0])\\\n \\ }} hour{{ 's' if int(time_left[0]) != 1 }},\\n{% endif %}\\n {{ int(time_left[1])\\\n \\ }} minute{{ 's' if int(time_left[1]) != 1 }},\\n and {{ int(time_left[2])\\\n \\ }} second{{ 's' if float(time_left[2]) != 1 }} left\\n\"\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "octoprint print progress sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_print_progress",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "3d print check status input button",
|
|
"room": null,
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.3d_print_check_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "room presence sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_presence",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1627013660483'",
|
|
"automation": "- alias: 3D Print Completed\n id: '1627013660483'\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.octoprint_print_progress\n above: '99.99'\n condition: []\n action:\n - if:\n - condition: and\n conditions:\n - condition: state\n entity_id: input_boolean.audible_notifications\n state: 'off'\n - condition: state\n entity_id: group.family\n state: home\n then:\n - service: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.print_completed_overnight\n - if:\n - condition: state\n entity_id: group.family\n state: away\n then:\n - service: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.print_completed_while_away\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "audible notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.audible_notifications",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "octoprint print progress sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.octoprint_print_progress",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "print completed overnight input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.print_completed_overnight",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "print completed while away input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.print_completed_while_away",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3d_print_notifications",
|
|
"automation": "- alias: 3D Printing Notifications\n id: 3d_print_notifications\n trigger:\n - platform: state\n entity_id: binary_sensor.octoprint_printing_2\n from: 'off'\n to: 'on'\n id: printing_started\n - platform: state\n entity_id: binary_sensor.octoprint_printing_2\n from: 'on'\n to: 'off'\n id: printing_ended\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: printing_started\n sequence:\n - service: script.status_annc\n data:\n who: '{{ states(''sensor.room_presence'') }}'\n call_interuption: 1\n speech_message: The three d printer is printing.\n - conditions:\n - condition: trigger\n id: printing_ended\n sequence:\n - service: notify.chris\n data:\n title: 3D Printer\n message: Print completed!\n - service: script.status_annc\n data:\n who: '{{ states(''sensor.room_presence'') }}'\n call_inform_chime: 1\n call_print_complete: 1",
|
|
"config": [
|
|
{
|
|
"name": "octoprint printing binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.octoprint_printing_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "room presence sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_presence",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "morning_standby",
|
|
"automation": "- id: morning_standby\n alias: Morning Standby\n initial_state: true\n trigger:\n - platform: time\n at: input_datetime.morning_standby\n condition:\n condition: or\n conditions:\n - condition: state\n entity_id: group.family\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n action:\n - service: script.standby",
|
|
"config": [
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "morning standby input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.morning_standby",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Standby",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.standby",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "nightly_lockdown",
|
|
"automation": "- id: nightly_lockdown\n alias: Nightly Lockdown\n initial_state: true\n trigger:\n - platform: time\n at: input_datetime.nightly_lockdown\n condition:\n - condition: state\n entity_id: group.family\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: disarmed\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_home\n action:\n - service: alarm_control_panel.alarm_arm_night\n entity_id: alarm_control_panel.sentry_network",
|
|
"config": [
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nightly lockdown input datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.nightly_lockdown",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1642655673695'",
|
|
"automation": "- alias: Actionable Door Unlocked Notification\n id: '1642655673695'\n description: ''\n trigger:\n - platform: state\n entity_id: lock.touchscreen_deadbolt_z_wave_plus_frontdoor\n to: unlocked\n for:\n hours: 0\n minutes: 10\n seconds: 0\n condition: []\n action:\n - alias: Set up variables for the actions\n variables:\n action_lock: '{{ ''LOCK_'' ~ context.id }}'\n - alias: Ask to lock the front door\n service: notify.mobile_app_chriss_iphone_12_pro\n data:\n message: The front door has been unlocked for 10 minutes. Want to lock it again?\n data:\n actions:\n - action: '{{ action_lock }}'\n title: Lock\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_lock }}'\n - alias: Perform the action\n choose:\n - conditions:\n - condition: template\n value_template: '{{ wait.trigger.event.data.action == action_lock }}'\n sequence:\n - service: lock.lock\n target:\n entity_id: lock.touchscreen_deadbolt_z_wave_plus_frontdoor\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "touchscreen deadbolt lock",
|
|
"room": "front_door",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.touchscreen_deadbolt_z_wave_plus_frontdoor",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1642916773044'",
|
|
"automation": "- alias: Window Notifications\n id: '1642916773044'\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.kitchen_window\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: binary_sensor.bedroom_windows\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: binary_sensor.lab_windows\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: binary_sensor.kitchen_window\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'on'\n to: 'off'\n - platform: state\n entity_id: binary_sensor.bedroom_windows\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'on'\n to: 'off'\n - platform: state\n entity_id: binary_sensor.lab_windows\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'on'\n to: 'off'\n condition:\n - condition: state\n entity_id: input_boolean.window_notifications\n state: 'on'\n action:\n - service: notify.tvs\n data:\n title: '{{ trigger.to_state.attributes.friendly_name }}'\n message: \"{% set states = {\\n 'on':'Open',\\n 'off':'Closed',\\n } %}\\n{{ trigger.to_state.attributes.friendly_name\\\n \\ }} {{ states[trigger.to_state.state] }}\\n\"\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen window binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom windows binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bedroom_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab windows binary sensor",
|
|
"room": "lab",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.lab_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "window notifications input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.window_notifications",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1642919890732'",
|
|
"automation": "- alias: Patio Door Notifications\n id: '1642919890732'\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.sliding_glass_door\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'on'\n to: 'off'\n - platform: state\n entity_id: binary_sensor.sliding_glass_door\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n state: 'on'\n entity_id: input_boolean.patio_door_notifications\n action:\n - service: notify.tvs\n data:\n title: '{{ trigger.to_state.attributes.friendly_name }}'\n message: \"{% set states = {\\n 'on':'Open',\\n 'off':'Closed',\\n } %}\\n{{ trigger.to_state.attributes.friendly_name\\\n \\ }} {{ states[trigger.to_state.state] }}\\n\"\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "sliding glass door binary sensor",
|
|
"room": "patio",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.sliding_glass_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio door notifications input boolean",
|
|
"room": "patio",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.patio_door_notifications",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_breach_trigger",
|
|
"automation": "- alias: Alarm Breach Trigger\n id: alarm_breach_trigger\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door\n to: 'on'\n - platform: state\n entity_id: binary_sensor.sliding_glass_door\n to: 'on'\n - platform: state\n entity_id: binary_sensor.garage_door\n to: 'on'\n - platform: state\n entity_id: binary_sensor.kitchen_window\n to: 'on'\n - platform: state\n entity_id: binary_sensor.bedroom_windows\n to: 'on'\n - platform: state\n entity_id: binary_sensor.lab_windows\n to: 'on'\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_away\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_home\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_night\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_vacation\n action:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ states(''alarm_control_panel.sentry_network'') in [''armed_home'',\n ''armed_night''] and trigger.to_state.entity_id == ''binary_sensor.front_door''\n and states(''binary_sensor.exiting_front_door'') == ''on'' }}'\n sequence: []\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.entity_id == ''binary_sensor.front_door''\n and is_state(''input_boolean.alarm_bypass_front_door'', ''on'') }}'\n sequence: []\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.entity_id == ''binary_sensor.sliding_glass_door''\n and is_state(''input_boolean.alarm_bypass_sliding_glass_door'', ''on'')\n }}'\n sequence: []\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.entity_id == ''binary_sensor.garage_door''\n and is_state(''input_boolean.alarm_bypass_garage_door'', ''on'') }}'\n sequence: []\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.entity_id == ''binary_sensor.kitchen_window''\n and is_state(''input_boolean.alarm_bypass_kitchen_window'', ''on'') }}'\n sequence: []\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.entity_id == ''binary_sensor.bedroom_windows''\n and is_state(''input_boolean.alarm_bypass_bedroom_windows'', ''on'') }}'\n sequence: []\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.entity_id == ''binary_sensor.lab_windows''\n and is_state(''input_boolean.alarm_bypass_lab_window'', ''on'') }}'\n sequence: []\n default:\n - service: alarm_control_panel.alarm_trigger\n entity_id: alarm_control_panel.sentry_network",
|
|
"config": [
|
|
{
|
|
"name": "garage door binary sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen window binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom windows binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bedroom_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab windows binary sensor",
|
|
"room": "lab",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.lab_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sliding glass door binary sensor",
|
|
"room": "patio",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.sliding_glass_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm bypass front door input boolean",
|
|
"room": "front_door",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_bypass_front_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm bypass sliding glass door input boolean",
|
|
"room": "patio",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_bypass_sliding_glass_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm bypass garage door input boolean",
|
|
"room": "garage",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_bypass_garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm bypass kitchen window input boolean",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_bypass_kitchen_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm bypass bedroom windows input boolean",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_bypass_bedroom_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm bypass lab window input boolean",
|
|
"room": "lab",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_bypass_lab_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "exiting front door binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.exiting_front_door",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_disarm_on_door_unlock",
|
|
"automation": "- alias: Alarm Disarm On Door Unlock\n id: alarm_disarm_on_door_unlock\n trigger:\n - platform: event\n event_type: keymaster_lock_state_changed\n event_data:\n lockname: frontdoor\n condition:\n - condition: template\n value_template: '{{ trigger.event.data.state == ''unlocked'' and trigger.event.data.code_slot\n > 0 }}'\n - condition: state\n entity_id: input_boolean.alarm_disarm_on_unlock\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_away\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_home\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_night\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_vacation\n action:\n - service: alarm_control_panel.alarm_disarm\n data:\n entity_id: alarm_control_panel.sentry_network\n code: secret alarm_code\n - service: script.alarm_alert_engine\n data:\n ios: true\n message: Alarm disarmed by {{ trigger.event.data.code_slot_name }}",
|
|
"config": [
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm disarm on unlock input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_disarm_on_unlock",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alarm Alert Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alarm_alert_engine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_disarmed",
|
|
"automation": "- alias: Alarm Disarmed\n id: alarm_disarmed\n trigger:\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: disarmed\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.security_alarm\n - choose:\n - alias: Somebody is detected as being home\n conditions:\n condition: or\n conditions:\n - condition: state\n entity_id: group.family\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n sequence:\n - service: script.alarm_alert_engine\n data:\n vocal: true\n who: presence\n voice_message: '{{ [ \"Barn door protocol has been deactivated.\", \"I am no\n longer monitoring the access points. \", \"Sentry Mode has been disabled.\n \", \"Header House Shields are down.\" ] | random }}\n\n '\n ios: true\n message: The alarm has been disarmed at {{ states('sensor.time_date') }}.\n default:\n - service: script.alarm_alert_engine\n data:\n ios: true\n message: Security System has been disarmed, but I could not validate presence.\n {{ states('sensor.time_date') }}.",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "family group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.family",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "security alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.security_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time date sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time_date",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alarm Alert Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alarm_alert_engine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_arming_issue",
|
|
"automation": "- alias: Alarm Arming Issue\n id: alarm_arming_issue\n trigger:\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: arming\n action:\n - variables:\n open_entities: '{{ states(''sensor.alarm_triggers'') }}'\n open_count: '{{ state_attr(''sensor.alarm_triggers'', ''open_count'') }}'\n is_are: '{{ '' are '' if open_count | int > 1 or open_entities[-1] == ''s''\n else '' is '' }}'\n it_them: '{{ '' them '' if open_count | int > 1 or open_entities[-1] == ''s''\n else '' it '' }}'\n - if:\n - condition: state\n entity_id: group.alarm_exit_triggers\n state: 'on'\n then:\n - service: alarm_control_panel.alarm_disarm\n data:\n code: secret alarm_code\n entity_id: alarm_control_panel.sentry_network\n - service: input_boolean.turn_on\n entity_id: input_boolean.lockdown_issue\n - service: script.alarm_alert_engine\n data:\n vocal: true\n who: kitchen\n voice_message: \"{{ [\\n \\\"Wait \\\",\\n \\\"Stop \\\",\\n \\\"Before you go sir, \\\"\\\n ,\\n \\\"Just a second sir, \\\",\\n \\\"Sir, \\\"\\n ] | random -}}\\n{{ [\\n \\\"\\\n I am unable to engage sentry mode due to the \\\" ~ open_entities ~ \\\" being\\\n \\ open\\\",\\n \\\"I cannot engage sentry mode because you have failed to close\\\n \\ the \\\" ~ open_entities,\\n \\\"I am incapable of engaging sentry mode as\\\n \\ you have failed to close the \\\" ~ open_entities,\\n \\\"The \\\" ~ open_entities\\\n \\ ~ is_are ~ \\\"still open. Why don't you go close\\\" ~ it_them ~ \\\"first\\\"\\\n ,\\n \\\"How do you expect me to engage sentry mode with the \\\" ~ open_entities\\\n \\ ~ \\\" still open? Go close \\\" ~ it_them,\\n \\\"You do know the \\\" ~ open_entities\\\n \\ ~ is_are ~ \\\"still open, right? Close \\\" ~ it_them ~ \\\" first, then we'll\\\n \\ try this again.\\\",\\n \\\"I cannot engage sentry mode as the \\\" ~ open_entities\\\n \\ ~ is_are ~ \\\"still open. I would close \\\" ~ it_them ~ \\\" myself but you\\\n \\ still refuse to give me arms.\\\",\\n \\\"You should try closing the \\\" ~\\\n \\ open_entities ~ \\\" first. It may work better, you know, since I currently\\\n \\ cannot engage sentry mode\\\",\\n \\\"Where do you think you're going? The\\\n \\ \\\" ~ open_entities ~ is_are ~ \\\" still open. Close \\\" ~ it_them ~ \\\" first\\\n \\ then we'll try again.\\\"\\n ] | random }}\\n\"\n ios: true\n message: Alarm couldn't be armed due to the {{ open_entities }}. Please close\n {{ it_them }} and try again. {{ states('sensor.time_date') }}",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm triggers sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.alarm_triggers",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm exit triggers group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.alarm_exit_triggers",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lockdown issue input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lockdown_issue",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time date sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time_date",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alarm Alert Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alarm_alert_engine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_arm",
|
|
"automation": "- alias: Alarm Arm\n id: alarm_arm\n trigger:\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: arming\n for:\n seconds: 1\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_home\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_away\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_away\n for:\n minutes: 10\n id: armed_10_mins\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_night\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_vacation\n action:\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.state = ''arming'' and states(''lock.touchscreen_deadbolt_z_wave_plus_frontdoor'')\n == ''unlocked'' }}'\n then:\n - service: lock.lock\n target:\n entity_id: lock.touchscreen_deadbolt_z_wave_plus_frontdoor\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.state = ''arming'' }}'\n then:\n - service: script.turn_on\n entity_id: script.reset_front_door_motion_count\n - choose:\n - alias: Arming\n conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''arming'' }}'\n sequence:\n - service: input_boolean.turn_off\n entity_id: input_boolean.lockdown_issue\n - service: script.alarm_alert_engine\n data:\n vocal: true\n who: kitchen\n voice_message: \"{{ [\\n \\\"Goodbye sir, see you soon. I will monitor the\\\n \\ house while you're out.\\\",\\n 'Farwell sir, I will guard the house\\\n \\ until we meet again.',\\n \\\"Have a great day sir. I'll keep the house\\\n \\ safe while you're gone.\\\",\\n 'I shall keep the house protected while\\\n \\ you are gone.',\\n 'Not to worry, I will not throw any parties while\\\n \\ you are out.',\\n 'I will keep the cats entertained and safe while\\\n \\ you are gone',\\n \\\"Very well sir, have a nice day. I'll hold the\\\n \\ fort.\\\",\\n 'Farewell sir, drive safe'\\n ] | random }}\\n\"\n ios: true\n message: Alarm is arming at {{ states('sensor.time_date') }}.\n - alias: Armed Home or Night\n conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state in [''armed_home'',''armed_night'']\n }}'\n sequence:\n - service: script.alarm_alert_engine\n data:\n vocal: true\n who: presence\n voice_message: '{{ [ \"Barn door protocol has been activated.\", \"Header House\n has been secured \", \"Sentry Mode is active. \", \"I am now monitoring the\n doors and will let you know if anyone attempts to access.\", \"Header House\n Shields are up.\" ] | random }}\n\n '\n ios: true\n message: The alarm has been set to {{ trigger.to_state.state | replace('_',\n ' ') }} mode at {{ states('sensor.time_date') }}.{{ ' Have a good night.'\n if trigger.to_state.state == armed_night }}\n - alias: Armed Vacation\n conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''armed_vacation'' }}'\n sequence:\n - service: script.alarm_alert_engine\n data:\n ios: true\n message: Alarm has been armed in vacation mode at {{ states('sensor.time_date')\n }}. Enjoy your trip\n - alias: Armed Away 10 Mins Check For Presence\n conditions:\n - condition: trigger\n id: armed_10_mins\n sequence:\n - if:\n - condition: state\n entity_id: group.people\n state: home\n then:\n - service: script.turn_on\n entity_id: script.arm_stay\n - service: script.alarm_alert_engine\n data:\n vocal: true\n who: presence\n voice_message: \"{{ [\\n \\\"Well I see you're not going anywhere. I'll\\\n \\ just monitor the house in stay mode.\\\",\\n \\\"Oh, you're still here?\\\n \\ Let me just cancel that party real quick.\\\",\\n \\\"Still home, I\\\n \\ see. Shocker. Well I guess I'll just adjust the sentry mode.\\\",\\n\\\n \\ \\\"I see you got very far. I'll just set the sentry mode to stay.\\\"\\\n \\n ] | random }}\\n\"\n ios: true\n message: The alarm has been in away mode for 10 minutes but there's still\n people here. I'm arming in stay mode.\n default:\n - service: script.alarm_alert_engine\n data:\n ios: true\n message: The alarm has been set to {{ trigger.to_state.state | replace('_',\n ' ') }} mode at {{ states('sensor.time_date') }}.",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "touchscreen deadbolt lock",
|
|
"room": "front_door",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.touchscreen_deadbolt_z_wave_plus_frontdoor",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lockdown issue input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lockdown_issue",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "people group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.people",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time date sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time_date",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alarm Alert Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alarm_alert_engine",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Arm Stay",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.arm_stay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Reset Front Door Motion Count",
|
|
"room": "Front Door",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.reset_front_door_motion_count",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_pending",
|
|
"automation": "- alias: Alarm Pending\n id: alarm_pending\n trigger:\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n id: away\n from: armed_away\n to: pending\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n id: vacation\n from: armed_vacation\n to: pending\n action:\n - service: script.turn_on\n entity_id: script.security_response",
|
|
"config": [
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Security Response",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.security_response",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_triggered",
|
|
"automation": "- alias: Alarm Triggered\n id: alarm_triggered\n trigger:\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: triggered\n action:\n - service: script.alarm_alert_engine\n data:\n ios: true\n critical: true\n message: THE ALARM HAS BEEN ACTIVATED AT {{ states('sensor.time_date') }}\n - service: input_boolean.turn_on\n entity_id: input_boolean.security_alarm",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "security alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.security_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time date sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time_date",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alarm Alert Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alarm_alert_engine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_light_handler",
|
|
"automation": "- alias: Alarm Light Handler\n id: alarm_light_handler\n trigger:\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: disarmed\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: arming\n for:\n seconds: 2\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_away\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: armed_vacation\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: pending\n - platform: state\n entity_id: alarm_control_panel.sentry_network\n to: triggered\n action:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''arming'' }}'\n sequence:\n - service: scene.turn_on\n entity_id: scene.leaving\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state in [''armed_away'',''armed_vacation'']\n }}'\n sequence:\n - service: scene.turn_on\n entity_id: scene.all_off\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''pending'' }}'\n sequence:\n - service: scene.create\n data:\n scene_id: alarm_before\n snapshot_entities:\n - light.front_hall_light\n - light.kitchen_light\n - light.kitchen_leds\n - light.fish_tank_leds\n - light.couch_leds\n - select.couch_leds_playlist_2\n - select.couch_leds_preset_2\n - light.curtain_leds\n - light.living_room_tv_backlights\n - select.living_room_tv_backlights_playlist\n - select.living_room_tv_backlights_preset\n - light.fish_tank_backlights\n - select.fish_tank_backlights_playlist_2\n - select.fish_tank_backlights_preset_2\n - light.dining_room_light\n - light.francis_s_light\n - light.patio_light\n - light.patio_string_lights\n - light.hallway_light\n - light.bedroom_fan_lights\n - light.hue_color_lamp_1\n - light.lab_fan_light\n - light.living_room_fan_light\n - light.western_electric_cabinet_lights\n - group.floods\n - light.patio_ring_light\n - service: scene.turn_on\n entity_id: scene.alarm_pending\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''triggered'' }}'\n sequence:\n - service: scene.turn_on\n entity_id: scene.alarm_triggered\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''disarmed'' and trigger.from_state.state\n in [''triggered'',''pending'',''arming''] }}'\n sequence:\n - service: scene.turn_on\n entity_id: scene.alarm_before\n - service: scene.turn_on\n entity_id: scene.arrival",
|
|
"config": [
|
|
{
|
|
"name": "living room fan light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_fan_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom fan lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_fan_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab fan light",
|
|
"room": "lab",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lab_fan_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen leds",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_leds",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fish tank leds",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fish_tank_leds",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio string lights",
|
|
"room": "patio",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.patio_string_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "western electric cabinet lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.western_electric_cabinet_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue color lamp 1",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_color_lamp_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dining room light",
|
|
"room": "dining_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.dining_room_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_light",
|
|
"device_id": "7e8b95744c7040bbbee460145db11d97"
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front hall light",
|
|
"room": "front_hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.front_hall_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "arrival scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.arrival",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm before scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.alarm_before",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "couch leds",
|
|
"room": "couch",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.couch_leds",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "couch leds playlist 2 select",
|
|
"room": "couch",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.couch_leds_playlist_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "couch leds preset 2 select",
|
|
"room": "couch",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.couch_leds_preset_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "curtain leds",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.curtain_leds",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv backlights",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_tv_backlights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv backlights playlist select",
|
|
"room": "living_room",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.living_room_tv_backlights_playlist",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room tv backlights preset select",
|
|
"room": "living_room",
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.living_room_tv_backlights_preset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fish tank backlights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fish_tank_backlights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fish tank backlights playlist 2 select",
|
|
"room": null,
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.fish_tank_backlights_playlist_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fish tank backlights preset 2 select",
|
|
"room": null,
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.fish_tank_backlights_preset_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "francis s light",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.francis_s_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio light",
|
|
"room": "patio",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.patio_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "patio ring light",
|
|
"room": "patio",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.patio_ring_light",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floods group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.floods",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm pending scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.alarm_pending",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm triggered scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.alarm_triggered",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Off Scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.all_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Leaving Scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.leaving",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_sound",
|
|
"automation": "- alias: Alarm Sound\n id: alarm_sound\n trigger:\n - platform: state\n entity_id: input_boolean.security_alarm\n id: 'on'\n to: 'on'\n - platform: state\n entity_id: input_boolean.security_alarm\n id: 'off'\n to: 'off'\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: 'on'\n sequence:\n - service: script.alexa_voice\n data:\n who: everywhere\n message: The siren has been activated\n - conditions:\n - condition: trigger\n id: 'off'\n sequence:\n - service: script.alexa_voice\n data:\n who: everywhere\n message: The siren has been deactivated\n default: []",
|
|
"config": [
|
|
{
|
|
"name": "security alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.security_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alexa Voice",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alexa_voice",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alarm_alert_on_all_activity",
|
|
"automation": "- alias: Alarm Alert On All Activity\n id: alarm_alert_on_all_activity\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door\n to: 'on'\n - platform: state\n entity_id: binary_sensor.sliding_glass_door\n to: 'on'\n - platform: state\n entity_id: binary_sensor.garage_door\n to: 'on'\n - platform: state\n entity_id: binary_sensor.kitchen_window\n to: 'on'\n - platform: state\n entity_id: binary_sensor.bedroom_windows\n to: 'on'\n - platform: state\n entity_id: binary_sensor.lab_windows\n to: 'on'\n - platform: state\n entity_id: binary_sensor.espresense_bedroom_motion\n to: 'on'\n - platform: state\n entity_id: binary_sensor.espresense_lab_motion\n to: 'on'\n - platform: state\n entity_id: binary_sensor.espresense_kitchen_motion\n to: 'on'\n - platform: state\n entity_id: binary_sensor.espresense_dining_room_motion\n to: 'on'\n - platform: state\n entity_id: binary_sensor.espresense_living_room_motion\n to: 'on'\n - platform: state\n entity_id: binary_sensor.hallway_motion_sensor\n to: 'on'\n - platform: state\n entity_id: binary_sensor.front_hall_motion_sensor\n to: 'on'\n condition:\n - condition: state\n entity_id: binary_sensor.alarm_alert_on_all_activity\n state: 'on'\n action:\n - service: script.alarm_alert_engine\n data:\n ios: true\n message: '{%- if ''motion'' in trigger.to_state.entity_id -%}{{ trigger.to_state.name\n }} detected motion{%- else -%}{{ trigger.to_state.name }} was opened{%- endif\n -%} at {{ states(''sensor.time_date'') }}'",
|
|
"config": [
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_bedroom_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab motion sensor",
|
|
"room": "lab",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_lab_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion sensor",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_living_room_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dining room motion sensor",
|
|
"room": "dining_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_dining_room_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.espresense_kitchen_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "garage door binary sensor",
|
|
"room": "garage",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.garage_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway motion sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_motion_sensor",
|
|
"device_id": "7a7926b5a8d399f1cf7fcd1f450ada99"
|
|
}
|
|
},
|
|
{
|
|
"name": "front hall motion sensor",
|
|
"room": "front_hall",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_hall_motion_sensor",
|
|
"device_id": "7a7926b5a8d399f1cf7fcd1f450ada99"
|
|
}
|
|
},
|
|
{
|
|
"name": "front door binary sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen window binary sensor",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom windows binary sensor",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bedroom_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lab windows binary sensor",
|
|
"room": "lab",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.lab_windows",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sliding glass door binary sensor",
|
|
"room": "patio",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.sliding_glass_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm alert on all activity binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.alarm_alert_on_all_activity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time date sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time_date",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Alarm Alert Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.alarm_alert_engine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "alexa_barn_door_protocol",
|
|
"automation": "- alias: Alexa Barn Door Protocol\n id: alexa_barn_door_protocol\n trigger:\n - platform: state\n entity_id: input_button.activate_barn_door_protocol\n id: activate\n - platform: state\n entity_id: input_button.deactivate_barn_door_protocol\n id: deactivate\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: activate\n sequence:\n - choose:\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_home\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: armed_night\n sequence:\n - service: script.speech_engine\n data:\n who: presence\n message: include ../templates/speech/already_done.yaml\n default:\n - service: script.speech_engine\n data:\n who: presence\n message: include ../templates/speech/interjections.yaml\n - delay:\n seconds: 2\n - service: script.turn_on\n entity_id: script.arm_stay\n - conditions:\n - condition: trigger\n id: deactivate\n - condition: state\n entity_id: input_boolean.alarm_disarm_by_alexa\n state: 'on'\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: alarm_control_panel.sentry_network\n state: disarmed\n sequence:\n - service: script.speech_engine\n data:\n who: '{{ states(''sensor.room_audio'') }}'\n message: include ../templates/speech/already_done.yaml\n default:\n - service: script.turn_on\n entity_id: script.disarm_security\n default: []",
|
|
"config": [
|
|
{
|
|
"name": "room audio sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_audio",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sentry network alarm control panel",
|
|
"room": null,
|
|
"type": "alarm_control_panel",
|
|
"id": {
|
|
"entity_id": "alarm_control_panel.sentry_network",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "activate barn door protocol input button",
|
|
"room": null,
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.activate_barn_door_protocol",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "deactivate barn door protocol input button",
|
|
"room": null,
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.deactivate_barn_door_protocol",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alarm disarm by alexa input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.alarm_disarm_by_alexa",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Arm Stay",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.arm_stay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Disarm Security",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.disarm_security",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Speech Engine",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.speech_engine",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "iss_alert",
|
|
"automation": "- id: iss_alert\n alias: ISS Alert\n trigger:\n - platform: state\n entity_id: binary_sensor.iss\n from: 'off'\n to: 'on'\n action:\n - service: script.status_annc\n data:\n who: '{{ states(''sensor.room_presence'') }}'\n call_interuption: 1\n call_iss: 1",
|
|
"config": [
|
|
{
|
|
"name": "iss binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.iss",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "room presence sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.room_presence",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Status Announcement",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.status_annc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Weather Alert UI Notification - 1",
|
|
"automation": "- alias: Weather Alert UI Notification - 1\n initial_state: true\n trigger:\n - platform: state\n entity_id: sensor.weatheralerts_1_alert_1_last_changed\n - platform: homeassistant\n event: start\n condition:\n - condition: and\n conditions:\n - condition: template\n value_template: '{{ states(''sensor.weatheralerts_1_alerts_are_active'') ==\n ''Yes'' }}'\n - condition: template\n value_template: '{{ (as_timestamp(now()) - as_timestamp(state_attr(''sensor.weatheralerts_1_alert_1'',\n ''alert_sent''))) < 3600 }}'\n - condition: template\n value_template: '{{ state_attr(''sensor.weatheralerts_1_alert_1'', ''alert_id'')\n not in states(''input_text.weatheralerts_1_triggered_ui_alert_ids'') }}'\n action:\n - service: script.weatheralerts_1_popup_on_wx_alert\n data:\n title: \"{% if (states('sensor.weatheralerts_1_alert_1') == 'on') and ((as_timestamp(now())\\\n \\ - as_timestamp(state_attr('sensor.weatheralerts_1_alert_1', 'alert_effective'))|float)\\\n \\ <= 3600) %}\\n {{ state_attr('sensor.weatheralerts_1_alert_1', 'display_title')\\\n \\ }}\\n{% else %}\\n Weather Alerts\\n{% endif %}\\n\"\n message: \"{% if (states('sensor.weatheralerts_1_alert_1') == 'on') and ((as_timestamp(now())\\\n \\ - as_timestamp(state_attr('sensor.weatheralerts_1_alert_1', 'alert_effective'))|float)\\\n \\ <= 3600) %}\\n {{ state_attr('sensor.weatheralerts_1_alert_1', 'display_message')\\\n \\ }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_1') == 'on')\\\n \\ and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_1',\\\n \\ 'alert_effective'))|float) > 3600) %}\\n <hr>Alert: <br>{{ state_attr('sensor.weatheralerts_1_alert_1',\\\n \\ 'display_title') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_2')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_2',\\\n \\ 'alert_effective'))|float) <= 3600) %}\\n <hr>{{ state_attr('sensor.weatheralerts_1_alert_2',\\\n \\ 'display_title') }}<br>\\n {{ state_attr('sensor.weatheralerts_1_alert_2',\\\n \\ 'display_message') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_2')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_2',\\\n \\ 'alert_effective'))|float) > 3600) %}\\n <hr>Alert: <br>{{ state_attr('sensor.weatheralerts_1_alert_2',\\\n \\ 'display_title') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_3')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_3',\\\n \\ 'alert_effective'))|float) <= 3600) %}\\n <hr>{{ state_attr('sensor.weatheralerts_1_alert_3',\\\n \\ 'display_title') }}<br>\\n {{ state_attr('sensor.weatheralerts_1_alert_3',\\\n \\ 'display_message') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_3')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_3',\\\n \\ 'alert_effective'))|float) > 3600) %}\\n <hr>Alert: <br>{{ state_attr('sensor.weatheralerts_1_alert_3',\\\n \\ 'display_title') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_4')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_4',\\\n \\ 'alert_effective'))|float) <= 3600) %}\\n <hr>{{ state_attr('sensor.weatheralerts_1_alert_4',\\\n \\ 'display_title') }}<br>\\n {{ state_attr('sensor.weatheralerts_1_alert_4',\\\n \\ 'display_message') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_4')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_4',\\\n \\ 'alert_effective'))|float) > 3600) %}\\n <hr>Alert: <br>{{ state_attr('sensor.weatheralerts_1_alert_4',\\\n \\ 'display_title') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_5')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_5',\\\n \\ 'alert_effective'))|float) <= 3600) %}\\n <hr>{{ state_attr('sensor.weatheralerts_1_alert_5',\\\n \\ 'display_title') }}<br>\\n {{ state_attr('sensor.weatheralerts_1_alert_5',\\\n \\ 'display_message') }}\\n{% endif %} {% if (states('sensor.weatheralerts_1_alert_5')\\\n \\ == 'on') and ((as_timestamp(now()) - as_timestamp(state_attr('sensor.weatheralerts_1_alert_5',\\\n \\ 'alert_effective'))|float) > 3600) %}\\n <hr>Alert: <br>{{ state_attr('sensor.weatheralerts_1_alert_5',\\\n \\ 'display_title') }}\\n{% endif %}\\n\"\n - service: input_text.set_value\n data:\n entity_id: input_text.weatheralerts_1_triggered_ui_alert_ids\n value: '{{ state_attr(''sensor.weatheralerts_1_alert_1'', ''alert_id'') }} {{\n state_attr(''sensor.weatheralerts_1_alert_2'', ''alert_id'') }} {{ state_attr(''sensor.weatheralerts_1_alert_3'',\n ''alert_id'') }} {{ state_attr(''sensor.weatheralerts_1_alert_4'', ''alert_id'')\n }} {{ state_attr(''sensor.weatheralerts_1_alert_5'', ''alert_id'') }}'",
|
|
"config": [
|
|
{
|
|
"name": "weatheralerts 1 alert 1 last changed sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alert_1_last_changed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 alerts are active sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alerts_are_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 alert 1 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alert_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 triggered ui alert ids input text",
|
|
"room": null,
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.weatheralerts_1_triggered_ui_alert_ids",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 alert 2 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alert_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 alert 3 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alert_3",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 alert 4 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alert_4",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "weatheralerts 1 alert 5 sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alert_5",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Weather Alerts 1 Popup On WX Alert",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.weatheralerts_1_popup_on_wx_alert",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Weather Alert UI Notification Auto-dismiss - 1",
|
|
"automation": "- alias: Weather Alert UI Notification Auto-dismiss - 1\n trigger:\n - platform: state\n entity_id: sensor.weatheralerts_1_alerts_are_active\n to: 'No'\n for:\n minutes: 30\n - platform: homeassistant\n event: start\n condition:\n - condition: template\n value_template: '{{ states(''sensor.weatheralerts_1_alerts_are_active'') == ''No''\n }}'\n action:\n - service: persistent_notification.dismiss\n data:\n notification_id: weatheralerts_1_alert",
|
|
"config": [
|
|
{
|
|
"name": "weatheralerts 1 alerts are active sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.weatheralerts_1_alerts_are_active",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |