1228 lines
50 KiB
JSON
1228 lines
50 KiB
JSON
[
|
|
{
|
|
"id": "'iOS: lichten in kantoor aan-/uitzetten'",
|
|
"automation": "- alias: 'iOS: lichten in kantoor aan-/uitzetten'\n initial_state: true\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Kantoor\n actions:\n - action: light.toggle\n target:\n entity_id: light.kantoor_lampen",
|
|
"config": [
|
|
{
|
|
"name": "kantoor lampen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kantoor_lampen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kantoor",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kantoor",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Arriving: when motion detected in hallway after returning home, turn on",
|
|
"automation": "- alias: 'Arriving: when motion detected in hallway after returning home, turn on\n living room and office lights'\n triggers:\n - platform: state\n entity_id:\n - person.willem_spork\n - person.nina_juffermans\n to: home\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: person.willem_spork\n state: home\n - condition: state\n entity_id: person.nina_juffermans\n state: home\n actions:\n - wait_for_trigger:\n - platform: state\n entity_id: binary_sensor.activity_in_hallway\n from: 'off'\n to: 'on'\n continue_on_timeout: false\n - service: light.turn_on\n target:\n entity_id:\n - light.woonkamer\n - light.kantoor",
|
|
"config": [
|
|
{
|
|
"name": "willem spork",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.willem_spork",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nina juffermans",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nina_juffermans",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "activity in hallway",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.activity_in_hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "woonkamer",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.woonkamer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kantoor",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kantoor",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "bc98764800ce4ee5887d72d55f956c49",
|
|
"automation": "- alias: Flash Red\n trigger:\n - platform: state\n entity_id: input_boolean.flash_red\n to: 'on'\n action:\n - repeat:\n while:\n - condition: state\n entity_id: input_boolean.flash_red\n state: 'on'\n sequence:\n - service: light.turn_on\n data:\n entity_id:\n - light.kantoor_plafond\n - light.convectorput\n rgb_color:\n - 255\n - 38\n - 0\n - delay:\n milliseconds: 500\n - service: light.turn_off\n data:\n entity_id:\n - light.kantoor_plafond\n - light.convectorput\n - delay:\n milliseconds: 500\n id: bc98764800ce4ee5887d72d55f956c49",
|
|
"config": [
|
|
{
|
|
"name": "kantoor",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kantoor",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "flash red",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.flash_red",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kantoor plafond",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kantoor_plafond",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "convectorput",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.convectorput",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1697908759181'",
|
|
"automation": "- id: '1697908759181'\n alias: TTS Testen\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_boolean.tts_test\n to: 'on'\n condition: []\n action:\n - service: tts.google_say\n data:\n cache: false\n entity_id:\n - media_player.slaapkamer_2\n - media_player.slaapkamer\n message: Nina heeft vandaag 3783 stappen gezet. Tijd om naar buiten te gaan!\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tts test",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.tts_test",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "slaapkamer 2",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.slaapkamer_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "slaapkamer",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.slaapkamer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "d0c1e848ffad4c73a70b00f4333e1910",
|
|
"automation": "- alias: Update Dryer Timer\n trigger:\n platform: state\n entity_id: sensor.droger_dryer_completion_time\n action:\n - service: timer.start\n target:\n entity_id: timer.droger_timer\n data:\n duration: '{{ (as_timestamp(strptime(states(''sensor.droger_dryer_completion_time''),\n ''%Y-%m-%dT%H:%M:%S+00:00'')) - as_timestamp(now())) | int }}\n\n '\n id: d0c1e848ffad4c73a70b00f4333e1910",
|
|
"config": [
|
|
{
|
|
"name": "droger dryer completion time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.droger_dryer_completion_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "droger timer",
|
|
"room": null,
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.droger_timer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1698456877330'",
|
|
"automation": "- id: '1698456877330'\n alias: Welterusten\n description: ''\n triggers:\n - device_id: ef8c38a85b323b90542b3d9ec14251d9\n domain: hue\n type: initial_press\n subtype: 3\n unique_id: 52ae4513-474b-4d98-b642-5946e34fec7d\n trigger: device\n conditions: []\n actions:\n - data:\n percentage: 20\n target:\n device_id: 734621e31d54471b4afe95c8ea6feb8e\n action: fan.turn_on\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n milliseconds: 0\n - type: turn_on\n device_id: 734621e31d54471b4afe95c8ea6feb8e\n entity_id: 268b6a8b20ba6fd5cc4fb6b791c80dcb\n domain: switch\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n milliseconds: 0\n - data:\n oscillating: true\n target:\n device_id: 734621e31d54471b4afe95c8ea6feb8e\n action: fan.oscillate\n - device_id: ed1577b84a5e787d05b4a1cf3bf1b1b7\n domain: climate\n entity_id: 43b52ea144d1c384391b5a5d3b34d6b0\n type: set_hvac_mode\n hvac_mode: auto\n - device_id: ed1577b84a5e787d05b4a1cf3bf1b1b7\n domain: climate\n entity_id: 43b52ea144d1c384391b5a5d3b34d6b0\n type: set_preset_mode\n preset_mode: auto\n - device_id: b9b793a04300f80c51eb10be7118ee5e\n domain: climate\n entity_id: b19e1f31ca5ccee59ca1a30185d84575\n type: set_hvac_mode\n hvac_mode: auto\n - device_id: b9b793a04300f80c51eb10be7118ee5e\n domain: climate\n entity_id: b19e1f31ca5ccee59ca1a30185d84575\n type: set_preset_mode\n preset_mode: auto\n - entity_id: all\n action: light.turn_off\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.sleep_mode\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue button device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "ef8c38a85b323b90542b3d9ec14251d9"
|
|
}
|
|
},
|
|
{
|
|
"name": "fan device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "734621e31d54471b4afe95c8ea6feb8e"
|
|
}
|
|
},
|
|
{
|
|
"name": "switch device",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "268b6a8b20ba6fd5cc4fb6b791c80dcb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "climate device 1",
|
|
"room": null,
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "43b52ea144d1c384391b5a5d3b34d6b0",
|
|
"device_id": "ed1577b84a5e787d05b4a1cf3bf1b1b7"
|
|
}
|
|
},
|
|
{
|
|
"name": "climate device 2",
|
|
"room": null,
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "b19e1f31ca5ccee59ca1a30185d84575",
|
|
"device_id": "b9b793a04300f80c51eb10be7118ee5e"
|
|
}
|
|
},
|
|
{
|
|
"name": "sleep mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleep_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1700000000000'",
|
|
"automation": "- id: '1700000000000'\n alias: Speel Geselecteerd Radiostation\n description: Speelt het geselecteerde radiostation af in kantoor\n trigger:\n - platform: state\n entity_id: input_select.radio_station\n action:\n - service: media_player.play_media\n target:\n entity_id: media_player.slaapkamer\n data:\n media_content_id: \"{% set station = states('input_select.radio_station') %}\\\n \\ {% set stations = {\\n \\\"QMusic\\\": \\\"https://stream.qmusic.nl/qmusic/mp3\\\"\\\n ,\\n \\\"BNR Nieuwsradio\\\": \\\"https://stream.bnr.nl/bnr_mp3_128_20\\\",\\n \\\"\\\n QMusic Non-Stop\\\": \\\"https://stream.qmusic.nl/nonstop/mp3\\\",\\n \\\"LoFi\\\":\\\n \\ \\\"http://streams.dez.ovh:8000/radio.mp3\\\",\\n \\\"Efteling Radio\\\": 'http://ice.cr2.streamzilla.xlcdn.com:8000/sz=efteling=hdstream'\\n\\\n } %} {{ stations[station] }}\\n\"\n media_content_type: music\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "slaapkamer",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.slaapkamer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "radio station",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.radio_station",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "standard_theme",
|
|
"automation": "- id: standard_theme\n alias: 'System: standaard thema selecteren bij herstart'\n description: ''\n triggers:\n - event: start\n trigger: homeassistant\n actions:\n - data:\n name: minimalist-ios-tapbar\n action: frontend.set_theme\n initial_state: 'true'",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1729727657788'",
|
|
"automation": "- id: '1729727657788'\n alias: 'Test: PS5 automation'\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.ps5_668_activity\n attribute: activity\n - trigger: state\n entity_id:\n - input_boolean.tv_mode\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.ps5_668_activity\n attribute: activity\n state: playing\n - condition: state\n entity_id: input_boolean.tv_mode\n state: 'on'\n - condition: and\n conditions:\n - condition: template\n value_template: '{{ states(''sensor.time'') >= states(''input_datetime.start_tvmodus'')[0:5]\n and states(''sensor.time'') < ''24:00'' }}'\n - condition: template\n value_template: '{{ states(''sensor.time'') >= ''00:00'' and states(''sensor.time'')\n <= states(''input_datetime.end_tvmodus'')[0:5] }}'\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.tv_mode\n state: 'on'\n - condition: state\n entity_id: sensor.ps5_668_activity\n attribute: activity\n state: playing\n sequence:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.adaptive_lighting_adapt_brightness_living_room\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.tv_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.ps5_668_activity\n attribute: activity\n state: playing\n sequence:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_living_room\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "ps5 668 activity",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ps5_668_activity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tv mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.tv_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "start tvmodus",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.start_tvmodus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "end tvmodus",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.end_tvmodus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting adapt brightness living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_adapt_brightness_living_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_living_room",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1731366389356'",
|
|
"automation": "- id: '1731366389356'\n alias: Button Living Room Actions\n description: ''\n triggers:\n - entity_id: sensor.living_button_action\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: sensor.living_button_action\n state: 1_single_press\n sequence:\n - target:\n area_id: woonkamer\n action: light.turn_on\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.living_button_action\n state: 2_long_press\n sequence:\n - target:\n area_id: kantoor\n action: light.toggle\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.living_button_action\n state: 1_long_press\n sequence:\n - target:\n area_id: keuken\n action: light.turn_off\n data: {}\n default: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living button action",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.living_button_action",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1731367575914'",
|
|
"automation": "- id: '1731367575914'\n alias: 'Button Living Room: toggle tv mode'\n description: ''\n triggers:\n - domain: mqtt\n device_id: 32679cd523b0e0d77da0be6322db3aba\n type: action\n subtype: 1_initial_press\n trigger: device\n conditions: []\n actions:\n - action: input_boolean.toggle\n target:\n entity_id: input_boolean.tv_mode\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tv mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.tv_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mqtt button device",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "32679cd523b0e0d77da0be6322db3aba"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Leaving: when everybody leaves the house turn off all lights'",
|
|
"automation": "- alias: 'Leaving: when everybody leaves the house turn off all lights'\n trigger:\n - platform: state\n entity_id: group.persons\n to: not_home\n action:\n - service: light.turn_off\n target:\n entity_id: all\n - service: fan.turn_off\n target:\n entity_id: all",
|
|
"config": [
|
|
{
|
|
"name": "persons group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.persons",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'8276345345'",
|
|
"automation": "- id: '8276345345'\n alias: 'Lights: Adaptive Lighting TV Mode Control'\n description: Control the sleep mode for adaptive lighting based on media player\n state\n triggers:\n - trigger: state\n entity_id: media_player.woonkamer\n - trigger: state\n entity_id: input_boolean.tv_mode\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: media_player.woonkamer\n state: playing\n - condition: state\n entity_id: input_boolean.tv_mode\n state: 'on'\n - condition: or\n conditions:\n - condition: template\n value_template: '{{ states(''sensor.time'') >= states(''input_datetime.start_tvmodus'')[0:5]\n }}\n\n '\n - condition: template\n value_template: '{{ states(''sensor.time'') <= states(''input_datetime.end_tvmodus'')[0:5]\n }}\n\n '\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.tv_mode\n state: 'on'\n - condition: state\n entity_id: media_player.woonkamer\n state: playing\n sequence:\n - action: switch.turn_on\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_living_room\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.tv_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.woonkamer\n state: playing\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_living_room\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tv mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.tv_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "start tvmodus",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.start_tvmodus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "end tvmodus",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.end_tvmodus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_living_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "woonkamer media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.woonkamer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'2145243512'",
|
|
"automation": "- id: '2145243512'\n alias: 'Lights: PS5 switch adaptive lighting'\n description: ''\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - sensor.ps5_668_activity\n attribute: activity\n - trigger: state\n entity_id:\n - input_boolean.game_mode\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.ps5_668_activity\n attribute: activity\n state: playing\n - condition: state\n entity_id: input_boolean.game_mode\n state: 'on'\n - condition: or\n conditions:\n - condition: template\n value_template: '{{ states(''sensor.time'') >= states(''input_datetime.start_tvmodus'')[0:5]\n }}\n\n '\n - condition: template\n value_template: '{{ states(''sensor.time'') <= states(''input_datetime.end_tvmodus'')[0:5]\n }}\n\n '\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.game_mode\n state: 'on'\n - condition: state\n entity_id: sensor.ps5_668_activity\n attribute: activity\n state: playing\n sequence:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_living_room\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.game_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.ps5_668_activity\n attribute: activity\n state: playing\n sequence:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_living_room",
|
|
"config": [
|
|
{
|
|
"name": "ps5 668 activity",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ps5_668_activity",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "start tvmodus",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.start_tvmodus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "end tvmodus",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.end_tvmodus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_living_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "game mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.game_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Lights: turn on kitchen'",
|
|
"automation": "- alias: 'Lights: turn on kitchen'\n triggers:\n - trigger: state\n entity_id: binary_sensor.activity_in_kitchen\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.cooking_mode\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.keuken",
|
|
"config": [
|
|
{
|
|
"name": "activity in kitchen",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.activity_in_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "keuken",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.keuken",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Lights: turn off kitchen'",
|
|
"automation": "- alias: 'Lights: turn off kitchen'\n triggers:\n - trigger: state\n entity_id: binary_sensor.activity_in_kitchen\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.cooking_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id: light.keuken",
|
|
"config": [
|
|
{
|
|
"name": "activity in kitchen",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.activity_in_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "keuken",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.keuken",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Button: Keuken Mode Automation'",
|
|
"automation": "- alias: 'Button: Keuken Mode Automation'\n triggers:\n - trigger: state\n entity_id: sensor.kitchen_button_action\n to: single\n actions:\n - action: input_boolean.toggle\n target:\n entity_id: input_boolean.cooking_mode",
|
|
"config": [
|
|
{
|
|
"name": "cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen button action",
|
|
"room": "kitchen",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kitchen_button_action",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Light: Cooking Mode Lighting Control'",
|
|
"automation": "- alias: 'Light: Cooking Mode Lighting Control'\n triggers:\n - trigger: state\n entity_id: input_boolean.cooking_mode\n to: 'on'\n - trigger: state\n entity_id: input_boolean.cooking_mode\n to: 'off'\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.cooking_mode\n state: 'on'\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.adaptive_lighting_kitchen\n - action: light.turn_on\n target:\n entity_id: light.keuken\n data:\n color_temp: 183\n brightness: 202\n - conditions:\n - condition: state\n entity_id: input_boolean.cooking_mode\n state: 'off'\n sequence:\n - action: switch.turn_on\n target:\n entity_id: switch.adaptive_lighting_kitchen",
|
|
"config": [
|
|
{
|
|
"name": "cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "keuken",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.keuken",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting kitchen",
|
|
"room": "kitchen",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_kitchen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Lights: turn on when motion detected in the hallway'",
|
|
"automation": "- alias: 'Lights: turn on when motion detected in the hallway'\n triggers:\n - trigger: state\n entity_id: binary_sensor.activity_in_hallway\n to: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.gang",
|
|
"config": [
|
|
{
|
|
"name": "activity in hallway",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.activity_in_hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "gang",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.gang",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Lights: turn off when motion detected in the hallway'",
|
|
"automation": "- alias: 'Lights: turn off when motion detected in the hallway'\n triggers:\n - trigger: state\n entity_id: binary_sensor.activity_in_hallway\n to: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id: light.gang",
|
|
"config": [
|
|
{
|
|
"name": "activity in hallway",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.activity_in_hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "gang",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.gang",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Lights: turn off when stopped motion detected in the hallway'",
|
|
"automation": "- alias: 'Lights: turn off when stopped motion detected in the hallway'\n triggers:\n - trigger: state\n entity_id: binary_sensor.activity_in_hallway\n to: 'off'\n for:\n minutes: 12\n conditions:\n - condition: state\n entity_id: light.inloopkast\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id: light.inloopkast",
|
|
"config": [
|
|
{
|
|
"name": "activity in hallway",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.activity_in_hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "inloopkast",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.inloopkast",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Reset: reset daily at night'",
|
|
"automation": "- alias: 'Reset: reset daily at night'\n description: Reset certain things at 6:00 AM every day.\n trigger:\n - platform: time\n at: 06:00:00\n actions:\n - action: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.game_mode\n - input_boolean.tv_mode\n - action: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.sleep_mode\n - input_boolean.cooking_mode\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "sleep mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleep_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tv mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.tv_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "game mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.game_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.cooking_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Work: Willem left work notification for Nina'",
|
|
"automation": "- alias: 'Work: Willem left work notification for Nina'\n triggers:\n - trigger: state\n entity_id: person.willem_spork\n from: Office\n conditions:\n - condition: time\n after: '15:00:00'\n before: '23:00:00'\n actions:\n - action: notify.all_iphones\n data:\n title: Work\n message: Willem vertrekt van kantoor! ♥️🎉",
|
|
"config": [
|
|
{
|
|
"name": "willem spork",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.willem_spork",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Work: Nina left work notification for Willem'",
|
|
"automation": "- alias: 'Work: Nina left work notification for Willem'\n triggers:\n - trigger: state\n entity_id: person.nina_juffermans\n from: Office\n conditions:\n - condition: time\n after: '15:00:00'\n before: '23:00:00'\n actions:\n - action: notify.all_iphones\n data:\n title: Work\n message: Nina vertrekt van kantoor! ♥️🎉",
|
|
"config": [
|
|
{
|
|
"name": "nina juffermans",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nina_juffermans",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Work: Nina left Rijksmuseum notification for Willem'",
|
|
"automation": "- alias: 'Work: Nina left Rijksmuseum notification for Willem'\n triggers:\n - trigger: state\n entity_id: person.nina_juffermans\n from: Rijksmuseum\n conditions:\n - condition: time\n after: '15:00:00'\n before: '23:00:00'\n actions:\n - action: notify.all_iphones\n data:\n title: Work\n message: Nina vertrekt van Rijksmuseum! ♥️🎉",
|
|
"config": [
|
|
{
|
|
"name": "nina juffermans",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nina_juffermans",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Notifications: front door has opened'",
|
|
"automation": "- alias: 'Notifications: front door has opened'\n triggers:\n - trigger: state\n entity_id: binary_sensor.gang_voordeur_deur\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.front_door_open_warning\n state: 'on'\n actions:\n - action: notify.willem\n data:\n title: Security\n message: Front door opened!\n - action: input_boolean.turn_off\n entity_id: input_boolean.front_door_open_warning",
|
|
"config": [
|
|
{
|
|
"name": "gang voordeur deur",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.gang_voordeur_deur",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "front door open warning",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.front_door_open_warning",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Notifications: put the trash outside'",
|
|
"automation": "- alias: 'Notifications: put the trash outside'\n description: Herinnering om de afvalbak naar buiten te zetten op maandagavond om\n 21:00\n triggers:\n - platform: time\n at: '21:00:00'\n conditions:\n - condition: time\n weekday:\n - mon\n actions:\n - service: notify.all_iphones\n data:\n title: 🗑️ Afvalherinnering\n message: Denk eraan om de afvalbak buiten te zetten!\n - wait_template: '{{ is_state(''sensor.willem_in_home_location'', ''Kantoor'') }}'\n timeout: 01:00:00\n continue_on_timeout: false\n - delay: 00:00:30\n - service: tts.speak\n target:\n entity_id: tts.elevenlabs_tts\n data:\n media_player_entity_id:\n - media_player.slaapkamer\n message: Vergeet de afvalbak niet buiten te zetten\n cache: false\n options:\n voice: Jessica\n stability: 1\n similarity: 1\n style: 0.3\n use_speaker_boost: 'true'\n model: eleven_multilingual_v2\n optimize_streaming_latency: 3",
|
|
"config": [
|
|
{
|
|
"name": "slaapkamer",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.slaapkamer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "willem in home location",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.willem_in_home_location",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "elevenlabs tts",
|
|
"room": null,
|
|
"type": "tts",
|
|
"id": {
|
|
"entity_id": "tts.elevenlabs_tts",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Notifications: someone logged in to Minecraft'",
|
|
"automation": "- alias: 'Notifications: someone logged in to Minecraft'\n description: Laat weten of er iemand in de Minecraftserver zit.\n trigger:\n - platform: numeric_state\n entity_id: sensor.minecraft_server_spelers_online\n above: 0\n action:\n - service: notify.willem\n data:\n title: 👾 Minecraft\n message: Er is iemand online gekomen in de server!\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "minecraft server spelers online",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.minecraft_server_spelers_online",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Security: motion detected but we are not home'",
|
|
"automation": "- alias: 'Security: motion detected but we are not home'\n triggers:\n - trigger: state\n entity_id: binary_sensor.motion_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.persons\n state: not_home\n actions:\n - action: notify.willem\n data:\n title: Security\n message: 'Security: motion is detected, but we are not home. 🚨'\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n actions:\n - action: SOUND_ALARM\n title: Sound alarm\n activationMode: background\n authenticationRequired: true\n destructive: true\n - wait_for_trigger:\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: SOUND_ALARM\n timeout: 01:00:00\n continue_on_timeout: false\n - action: light.turn_on\n entity_id: all\n data:\n flash: long\n color_name: red",
|
|
"config": [
|
|
{
|
|
"name": "persons group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.persons",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "motion detected",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.motion_detected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Security: front door has been open for more than 5 minutes'",
|
|
"automation": "- alias: 'Security: front door has been open for more than 5 minutes'\n triggers:\n - trigger: state\n entity_id: binary_sensor.gang_voordeur_deur\n from: 'off'\n to: 'on'\n for: 00:05:00\n actions:\n - action: notify.all_iphones\n data:\n title: Security\n message: The front door has been open for more than 5 minutes.\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 0.5",
|
|
"config": [
|
|
{
|
|
"name": "gang voordeur deur",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.gang_voordeur_deur",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Security: back door has been open for more than 5 minutes'",
|
|
"automation": "- alias: 'Security: back door has been open for more than 5 minutes'\n triggers:\n - trigger: state\n entity_id: binary_sensor.keuken_achterdeur_deur\n from: 'off'\n to: 'on'\n for: 00:05:00\n actions:\n - action: notify.all_iphones\n data:\n title: Security\n message: The back door has been open for more than 5 minutes.\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 0.5",
|
|
"config": [
|
|
{
|
|
"name": "keuken achterdeur deur",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.keuken_achterdeur_deur",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Sleep mode: switch sleep_mode on/off based on input_boolean'",
|
|
"automation": "- alias: 'Sleep mode: switch sleep_mode on/off based on input_boolean'\n description: Turn switches on when sleep mode is enabled and turn them off when\n disabled\n mode: single\n trigger:\n - platform: state\n entity_id: input_boolean.sleep_mode\n from: 'off'\n to: 'on'\n - platform: state\n entity_id: input_boolean.sleep_mode\n from: 'on'\n to: 'off'\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.sleep_mode\n state: 'on'\n sequence:\n - service: switch.turn_on\n target:\n entity_id:\n - switch.adaptive_lighting_sleep_mode_bedroom\n - switch.adaptive_lighting_sleep_mode_hallway\n - switch.adaptive_lighting_sleep_mode_kitchen\n - switch.adaptive_lighting_sleep_mode_living_room\n - switch.adaptive_lighting_sleep_mode_office\n - switch.adaptive_lighting_sleep_mode_wardrobe\n - conditions:\n - condition: state\n entity_id: input_boolean.sleep_mode\n state: 'off'\n sequence:\n - service: switch.turn_off\n target:\n entity_id:\n - switch.adaptive_lighting_sleep_mode_bedroom\n - switch.adaptive_lighting_sleep_mode_hallway\n - switch.adaptive_lighting_sleep_mode_kitchen\n - switch.adaptive_lighting_sleep_mode_living_room\n - switch.adaptive_lighting_sleep_mode_office\n - switch.adaptive_lighting_sleep_mode_wardrobe",
|
|
"config": [
|
|
{
|
|
"name": "sleep mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleep_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_living_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode bedroom",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode hallway",
|
|
"room": "hallway",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode kitchen",
|
|
"room": "kitchen",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode office",
|
|
"room": "office",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode wardrobe",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_wardrobe",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Test: notify groups'",
|
|
"automation": "- alias: 'Test: notify groups'\n triggers:\n - trigger: state\n entity_id: input_boolean.test_mode\n to: 'on'\n actions:\n - action: input_boolean.turn_off\n entity_id: input_boolean.test_mode\n - action: tts.speak\n target:\n entity_id: tts.elevenlabs_tts\n data:\n media_player_entity_id:\n - media_player.slaapkamer\n message: 'ai ai ai ai ai ai ai ai ai\n\n '\n cache: false\n options:\n voice: Jessica\n stability: 1\n similarity: 1\n style: 0.3\n use_speaker_boost: 'true'\n model: eleven_multilingual_v2\n optimize_streaming_latency: 3",
|
|
"config": [
|
|
{
|
|
"name": "slaapkamer",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.slaapkamer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "elevenlabs tts",
|
|
"room": null,
|
|
"type": "tts",
|
|
"id": {
|
|
"entity_id": "tts.elevenlabs_tts",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "test mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.test_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Vacation mode: auto turn on'",
|
|
"automation": "- alias: 'Vacation mode: auto turn on'\n initial_state: 'on'\n triggers:\n - trigger: state\n entity_id: group.persons\n from: home\n to: not_home\n for: '24:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - service: input_boolean.turn_on\n entity_id: input_boolean.vacation_mode\n - service: notify.all_iphones\n data:\n title: Vacation mode\n message: No one at home for 24 hours, switching on vacation mode.",
|
|
"config": [
|
|
{
|
|
"name": "persons group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.persons",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacation mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacation_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'Vacation mode: auto turn off'",
|
|
"automation": "- alias: 'Vacation mode: auto turn off'\n initial_state: 'on'\n triggers:\n - trigger: state\n entity_id: group.persons\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - service: input_boolean.turn_off\n entity_id: input_boolean.vacation_mode\n - service: notify.all_iphones\n data:\n title: Vacation mode\n message: Welcome back! Switching off the vacation mode.",
|
|
"config": [
|
|
{
|
|
"name": "persons group",
|
|
"room": null,
|
|
"type": "group",
|
|
"id": {
|
|
"entity_id": "group.persons",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacation mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacation_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights",
|
|
"room": null,
|
|
"type": null,
|
|
"id": {
|
|
"entity_id": "all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |