1288 lines
54 KiB
JSON
1288 lines
54 KiB
JSON
[
|
|
{
|
|
"id": "fb712601-6f02-4908-9ec1-4213ca66a99b",
|
|
"automation": "- alias: '[House] - Forgot the lights'\n description: Automation for when a light is still ON in my house when I leave\n id: fb712601-6f02-4908-9ec1-4213ca66a99b\n mode: single\n trigger:\n - platform: zone\n entity_id: person.klaas_schoute\n zone: zone.home\n event: leave\n condition:\n condition: or\n conditions:\n - condition: state\n entity_id: light.livingroom\n state: 'on'\n - condition: state\n entity_id: light.kitchen\n state: 'on'\n - condition: state\n entity_id: light.hall\n state: 'on'\n - condition: state\n entity_id: light.bathroom\n state: 'on'\n action:\n - service: notify.mobile_app_klaas_samsung_s24_plus\n data:\n title: Lampen vergeten!\n message: 'Je bent vertrokken, maar de lampen staan nog aan.\n\n '\n data:\n actions:\n - action: turn_light_off\n title: Zet lampen UIT",
|
|
"config": [
|
|
{
|
|
"name": "livingroom light",
|
|
"room": "living room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.livingroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hall light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "person klaas schoute",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.klaas_schoute",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": "home",
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app klaas samsung s24 plus notify",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_klaas_samsung_s24_plus",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "20faccbc-348c-4520-abdb-9d7d9f6827ea",
|
|
"automation": "- alias: '[House] - Light turns on in empty house'\n description: Notify when a light was turned on but nobody is home\n id: 20faccbc-348c-4520-abdb-9d7d9f6827ea\n mode: single\n trigger:\n - platform: state\n entity_id:\n - light.bathroom\n - light.hall\n - light.kitchen\n - light.livingroom\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: device_tracker.klaas_samsung_s24_plus\n state: not_home\n action:\n - service: notify.mobile_app_klaas_samsung_s24_plus\n data:\n title: Lamp is aan gegaan!\n message: 'Een lamp uit de groep {{ trigger.to_state.attributes.friendly_name\n }} is aan gegaan.\n\n '\n data:\n actions:\n - action: turn_light_off\n title: Zet lampen UIT",
|
|
"config": [
|
|
{
|
|
"name": "livingroom light",
|
|
"room": "living room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.livingroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hall light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas samsung s24 plus device tracker",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.klaas_samsung_s24_plus",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app klaas samsung s24 plus notify",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_klaas_samsung_s24_plus",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ca887d6b-7d28-4150-b821-4002f996a0f5",
|
|
"automation": "- alias: '[Light] - Turn all light off'\n description: Turn all light of when start action from notification\n id: ca887d6b-7d28-4150-b821-4002f996a0f5\n mode: single\n trigger:\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: turn_light_off\n action:\n - service: script.turn_on\n target:\n entity_id: script.all_lights_off",
|
|
"config": [
|
|
{
|
|
"name": "all lights off script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.all_lights_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b9d75a5f-1b8b-4f2c-bc87-b3898b2f3a0f",
|
|
"automation": "- alias: '[Light] - Turn on light when come home'\n description: Automate the lights for when you return home\n id: b9d75a5f-1b8b-4f2c-bc87-b3898b2f3a0f\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door_contact\n to: 'on'\n condition:\n - condition: state\n entity_id: sensor.klaas_status\n state: Net Aangekomen\n - condition: numeric_state\n entity_id: sensor.kitchen_light_sensor_illuminance\n below: 5\n action:\n - service: scene.turn_on\n target:\n entity_id: scene.evening",
|
|
"config": [
|
|
{
|
|
"name": "front door contact",
|
|
"room": "front door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light sensor illuminance",
|
|
"room": "kitchen",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kitchen_light_sensor_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "evening scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.evening",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2498664e-7b8d-4de5-9613-25435b183274",
|
|
"automation": "- alias: '[Light] - Turn ON bathroom light'\n description: Turn the light on when I open a door or if there is occupancy\n id: 2498664e-7b8d-4de5-9613-25435b183274\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.bathroom_door_contact, binary_sensor.badkamer_presence_occupancy\n to: 'on'\n from: 'off'\n action:\n - service: light.turn_on\n target:\n entity_id: light.bathroom\n data_template:\n color_temp: 380\n brightness_pct: '{% if is_state (''binary_sensor.night'' , ''on'') %} 15 {%\n else %} 70 {% endif %}\n\n '",
|
|
"config": [
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom door contact",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bathroom_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "badkamer presence occupancy",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.badkamer_presence_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "night sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.night",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "40f79c91-8483-4ef7-b6d5-4025ad306276",
|
|
"automation": "- alias: '[Light] - Turn OFF bathroom light'\n description: Turn the light off when there is no motion for 6 minutes\n id: 40f79c91-8483-4ef7-b6d5-4025ad306276\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.badkamer_presence_occupancy\n to: 'off'\n condition:\n - condition: numeric_state\n entity_id: sensor.bathroom_sensor_humidity\n below: 75\n action:\n - service: light.turn_off\n target:\n entity_id: light.bathroom",
|
|
"config": [
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "badkamer presence occupancy",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.badkamer_presence_occupancy",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom sensor humidity",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bathroom_sensor_humidity",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f793694b-3cb0-41a8-99b0-53e89cfe0b17",
|
|
"automation": "- alias: '[Light] - Shower warning - 5 min'\n description: Show me a green color warning when showring for 5 min\n id: f793694b-3cb0-41a8-99b0-53e89cfe0b17\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.shower\n to: 'on'\n for:\n minutes: 5\n condition:\n - condition: state\n entity_id: light.bathroom\n state: 'on'\n action:\n - service: scene.create\n data:\n scene_id: bathroom_before\n snapshot_entities:\n - light.bathroom\n - service: light.turn_on\n target:\n entity_id: light.bathroom\n data:\n transition: 5\n rgb_color:\n - 109\n - 255\n - 108\n - delay: 00:00:10\n - service: scene.turn_on\n target:\n entity_id: scene.bathroom_before",
|
|
"config": [
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shower sensor",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shower",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom before scene",
|
|
"room": "bathroom",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.bathroom_before",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6ae1e947-7ca9-4d81-9ff0-640759f353f8",
|
|
"automation": "- alias: '[Light] - Shower warning - 10 min'\n description: Show me a red color warning when showring to loooooooong\n id: 6ae1e947-7ca9-4d81-9ff0-640759f353f8\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.shower\n to: 'on'\n for:\n minutes: 10\n condition:\n - condition: state\n entity_id: light.bathroom\n state: 'on'\n action:\n - service: scene.create\n data:\n scene_id: bathroom_before\n snapshot_entities:\n - light.bathroom\n - service: light.turn_on\n target:\n entity_id: light.bathroom\n data:\n transition: 5\n rgb_color:\n - 255\n - 75\n - 75\n - delay: 00:00:10\n - service: scene.turn_on\n target:\n entity_id: scene.bathroom_before",
|
|
"config": [
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "shower sensor",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.shower",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom before scene",
|
|
"room": "bathroom",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.bathroom_before",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ee8b0ad0-5888-44a9-8291-1305dc646cf7",
|
|
"automation": "- alias: '[House] - Studio climate automated'\n description: Make sure the climate is livable in my studio\n id: ee8b0ad0-5888-44a9-8291-1305dc646cf7\n mode: single\n trigger:\n - platform: numeric_state\n id: low\n entity_id:\n - sensor.home_sensor_temperature\n below: input_number.temp_value_climate_low\n for:\n minutes: 5\n - platform: numeric_state\n id: high\n entity_id:\n - sensor.home_sensor_temperature\n above: input_number.temp_value_climate_high\n for:\n minutes: 5\n condition:\n - condition: state\n entity_id: input_boolean.climate_automated\n state: 'on'\n - condition: state\n entity_id: input_boolean.sleeping\n state: 'off'\n - condition: state\n entity_id: sensor.klaas_status\n state: Thuis\n action:\n - choose:\n - alias: Turn the air conditioning ON\n conditions:\n - '{{ trigger.id == ''high'' }}'\n - condition: state\n entity_id: binary_sensor.airco\n state: 'off'\n sequence:\n - service: switch.turn_on\n target:\n entity_id: switch.airco\n - alias: Turn the air conditioning OFF\n conditions:\n - '{{ trigger.id == ''low'' }}'\n - condition: state\n entity_id: binary_sensor.airco\n state: 'on'\n sequence:\n - service: switch.turn_off\n target:\n entity_id: switch.airco",
|
|
"config": [
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "home sensor temperature",
|
|
"room": "home",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.home_sensor_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "airco sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.airco",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "airco switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.airco",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temp value climate low input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.temp_value_climate_low",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temp value climate high input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.temp_value_climate_high",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "climate automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.climate_automated",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sleeping input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleeping",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "50f12371-553c-4702-8b78-a4a671afe080",
|
|
"automation": "- alias: '[People] - Warn in case of emergency'\n description: I can single press an emergency button to alert people with an exact\n location of me.\n id: 50f12371-553c-4702-8b78-a4a671afe080\n mode: single\n initial_state: true\n trigger:\n - platform: event\n event_type: deconz_event\n event_data:\n id: switch_17\n event: 1002\n - platform: event\n event_type: telegram_command\n event_data:\n user_id: secret telegram_user_id_klaas\n command: /help\n action:\n - service: script.turn_on\n target:\n entity_id: script.call_emergency",
|
|
"config": [
|
|
{
|
|
"name": "call emergency script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.call_emergency",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5be01cf8-299b-4f4c-b680-cb47905929af",
|
|
"automation": "- alias: '[People] - It is a false alarm'\n description: Double press to alert people that it was false alarm.\n id: 5be01cf8-299b-4f4c-b680-cb47905929af\n mode: single\n initial_state: true\n trigger:\n - platform: event\n event_type: deconz_event\n event_data:\n id: switch_17\n event: 1004\n - platform: event\n event_type: telegram_command\n event_data:\n user_id: secret telegram_user_id_klaas\n command: /falsealarm\n action:\n - service: script.turn_on\n target:\n entity_id: script.false_alarm_emergency",
|
|
"config": [
|
|
{
|
|
"name": "false alarm emergency script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.false_alarm_emergency",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "436bf2e1-ac2b-448e-855f-55bb96d8afed",
|
|
"automation": "- alias: '[System] - Make weekly Home Assistant backup'\n description: Every week a make backups on specific days\n id: 436bf2e1-ac2b-448e-855f-55bb96d8afed\n mode: single\n trigger:\n - platform: time\n at: 03:00:00\n condition:\n - condition: time\n weekday:\n - wed\n - sun\n action:\n - service: hassio.backup_full\n data_template:\n name: Backup {{ now().strftime('%Y-%m-%d') }} running HA version {{ states('sensor.current_version')\n }}\n - service: notify.mobile_app_klaas_samsung_s24_plus\n data_template:\n title: '*Home Assistant Backup!*'\n message: 'Backup is gemaakt met de naam: Backup {{ now().strftime(''%Y-%m-%d'')\n }} running HA version {{ states(''sensor.current_version'') }}'",
|
|
"config": [
|
|
{
|
|
"name": "current version sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.current_version",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app klaas samsung s24 plus notify",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_klaas_samsung_s24_plus",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b7776a4c-39ec-4c97-8234-98cc2f7c3cf3",
|
|
"automation": "- alias: '[Light] - Kitchen automated'\n description: Turn the lights on if LUX value is low or on if high\n id: b7776a4c-39ec-4c97-8234-98cc2f7c3cf3\n mode: single\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.kitchen_light_sensor_illuminance\n below: input_number.lux_value_kitchen_low\n - platform: numeric_state\n entity_id:\n - sensor.kitchen_light_sensor_illuminance\n above: input_number.lux_value_kitchen_high\n condition:\n - condition: state\n entity_id: input_boolean.lights_automated\n state: 'on'\n - condition: state\n entity_id: sensor.klaas_status\n state: Thuis\n action:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ ((trigger.to_state.state)|float) <= (states(''input_number.lux_value_kitchen_low'')|float)\n }}'\n - condition: state\n entity_id: light.hall\n state: 'off'\n - condition: state\n entity_id: light.z2m_kitchen\n state: 'off'\n sequence:\n - service: logbook.log\n data:\n name: Hal & Keuken\n message: '- Lampen worden automatisch ingeschakeld'\n entity_id: light.z2m_kitchen\n - service: light.turn_on\n target:\n entity_id:\n - light.hall\n - light.z2m_kitchen\n data:\n brightness_pct: '{{ states(''input_number.brightness_dimmed'') | round }}'\n - conditions:\n - condition: template\n value_template: '{{ ((trigger.to_state.state)|float) >= (states(''input_number.lux_value_kitchen_high'')|float)\n }}'\n - condition: state\n entity_id: light.hall\n state: 'on'\n - condition: state\n entity_id: light.z2m_kitchen\n state: 'on'\n sequence:\n - service: logbook.log\n data:\n name: Hal & Keuken\n message: '- Lampen worden automatisch uitgeschakeld'\n entity_id: light.z2m_kitchen\n - service: light.turn_off\n target:\n entity_id:\n - light.hall\n - light.z2m_kitchen",
|
|
"config": [
|
|
{
|
|
"name": "hall light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "z2m kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.z2m_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light sensor illuminance",
|
|
"room": "kitchen",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.kitchen_light_sensor_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lux value kitchen low input number",
|
|
"room": "kitchen",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.lux_value_kitchen_low",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lux value kitchen high input number",
|
|
"room": "kitchen",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.lux_value_kitchen_high",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "brightness dimmed input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.brightness_dimmed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7d8ada0b-770a-4d2f-b662-26c1965e7a09",
|
|
"automation": "- alias: '[Light] - Livingroom automated'\n description: Turn the lights on if LUX value is low or on if high\n id: 7d8ada0b-770a-4d2f-b662-26c1965e7a09\n mode: single\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.livingroom_light_sensor_illuminance\n below: input_number.lux_value_living_low\n - platform: numeric_state\n entity_id:\n - sensor.livingroom_light_sensor_illuminance\n above: input_number.lux_value_living_high\n condition:\n - condition: state\n entity_id: input_boolean.lights_automated\n state: 'on'\n - condition: state\n entity_id: sensor.klaas_status\n state: Thuis\n action:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ ((trigger.to_state.state)|float) <= (states(''input_number.lux_value_living_low'')|float)\n }}'\n - condition: state\n entity_id: light.livingroom\n state: 'off'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.livingroom\n data:\n brightness_pct: '{{ states(''input_number.brightness_dimmed'') | round }}'\n - conditions:\n - condition: template\n value_template: '{{ ((trigger.to_state.state)|float) >= (states(''input_number.lux_value_living_high'')|float)\n }}'\n - condition: state\n entity_id: light.livingroom\n state: 'on'\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.livingroom",
|
|
"config": [
|
|
{
|
|
"name": "livingroom light",
|
|
"room": "living room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.livingroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "livingroom light sensor illuminance",
|
|
"room": "living room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.livingroom_light_sensor_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lux value living low input number",
|
|
"room": "living room",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.lux_value_living_low",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lux value living high input number",
|
|
"room": "living room",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.lux_value_living_high",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "brightness dimmed input number",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.brightness_dimmed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f6247cce-8ce4-4498-b759-8eff5e63480a",
|
|
"automation": "- alias: '[House] - Forgot the air conditioning'\n description: Automation for when the airco is still ON in my house when I leave\n id: f6247cce-8ce4-4498-b759-8eff5e63480a\n mode: single\n trigger:\n - platform: zone\n entity_id: person.klaas_schoute\n zone: zone.home\n event: leave\n condition:\n - condition: state\n entity_id: switch.airco\n state: 'on'\n action:\n - service: notify.mobile_app_klaas_samsung_s24_plus\n data:\n title: Airco vergeten!\n message: 'Je bent vertrokken, maar de Airco staat nog aan.\n\n '",
|
|
"config": [
|
|
{
|
|
"name": "airco switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.airco",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "person klaas schoute",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.klaas_schoute",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": "home",
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app klaas samsung s24 plus notify",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_klaas_samsung_s24_plus",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1bb2fb11-efdc-41c4-823a-e39f9b4902d6",
|
|
"automation": "- alias: '[People] - Notify when phone is fully charged'\n description: Give me a TTS notification when my phone is full charged and only if\n I am home and it is before midnight\n id: 1bb2fb11-efdc-41c4-823a-e39f9b4902d6\n mode: single\n trigger:\n - platform: numeric_state\n entity_id: sensor.klaas_samsung_s24_plus_battery_level\n above: 99\n for: 00:03:00\n condition:\n - condition: state\n entity_id: sensor.klaas_status\n state: Thuis\n - condition: state\n entity_id: binary_sensor.night\n state: 'off'\n action:\n - service: notify.livingroom\n data:\n message: Je telefoon is 100% opgeladen",
|
|
"config": [
|
|
{
|
|
"name": "klaas samsung s24 plus battery level",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_samsung_s24_plus_battery_level",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "night sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.night",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "livingroom notify",
|
|
"room": "living room",
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.livingroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0e3ca66b-1816-49f5-9f3f-bcb15d7e03c4",
|
|
"automation": "- alias: '[Presence] - Markeer persoon als net aangekomen'\n description: Change state of a person to just arrived.\n id: 0e3ca66b-1816-49f5-9f3f-bcb15d7e03c4\n mode: single\n initial_state: true\n trigger:\n - platform: state\n entity_id: binary_sensor.klaas_at_home\n from: 'off'\n to: 'on'\n action:\n - service: input_select.select_option\n data_template:\n entity_id: input_select.klaas_status_dropdown\n option: \"{% if states.input_select.klaas_status_dropdown.state == 'Net Vertrokken'\\\n \\ %}\\n Thuis\\n{% else %}\\n Net Aangekomen\\n{% endif %}\\n\"",
|
|
"config": [
|
|
{
|
|
"name": "klaas at home",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.klaas_at_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status dropdown input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.klaas_status_dropdown",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "43c1a0d2-c066-4f35-b4a3-7504fb9bdfbb",
|
|
"automation": "- alias: '[Presence] - Markeer persoon als thuis'\n description: Change state of a person to home\n id: 43c1a0d2-c066-4f35-b4a3-7504fb9bdfbb\n mode: single\n initial_state: true\n trigger:\n - platform: state\n entity_id: input_select.klaas_status_dropdown\n to: Net Aangekomen\n for: 00:15:00\n - platform: state\n entity_id: input_select.klaas_status_dropdown\n from: Net Vertrokken\n to: Net Aangekomen\n action:\n - service: input_select.select_option\n data_template:\n entity_id: input_select.klaas_status_dropdown\n option: Thuis",
|
|
"config": [
|
|
{
|
|
"name": "klaas status dropdown input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.klaas_status_dropdown",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4a5458c2-8eb0-4e38-8967-bf03b5fdcf3c",
|
|
"automation": "- alias: '[Presence] - Markeer persoon als net vertrokken'\n description: Change state of a person to just leaved\n id: 4a5458c2-8eb0-4e38-8967-bf03b5fdcf3c\n mode: single\n initial_state: true\n trigger:\n - platform: state\n entity_id: binary_sensor.klaas_at_home\n from: 'on'\n to: 'off'\n action:\n - service: input_select.select_option\n data_template:\n entity_id: input_select.klaas_status_dropdown\n option: Net Vertrokken",
|
|
"config": [
|
|
{
|
|
"name": "klaas at home",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.klaas_at_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status dropdown input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.klaas_status_dropdown",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "fceea58c-1ae9-4c71-9cf4-3466eb28906a",
|
|
"automation": "- alias: '[Presence] - Markeer persoon als weg'\n description: Change state of a person to away\n id: fceea58c-1ae9-4c71-9cf4-3466eb28906a\n mode: single\n initial_state: true\n trigger:\n - platform: state\n entity_id: input_select.klaas_status_dropdown\n to: Net Vertrokken\n for: 00:10:00\n action:\n - service: input_select.select_option\n data_template:\n entity_id: input_select.klaas_status_dropdown\n option: Weg",
|
|
"config": [
|
|
{
|
|
"name": "klaas status dropdown input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.klaas_status_dropdown",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "73c2da46-5c02-41dc-812f-4910e2b27dc5",
|
|
"automation": "- alias: '[Presence] - Markeer persoon als lang weg'\n description: Change state of a person to long away\n id: 73c2da46-5c02-41dc-812f-4910e2b27dc5\n mode: single\n initial_state: true\n trigger:\n - platform: state\n entity_id: input_select.klaas_status_dropdown\n to: Weg\n for: '24:00:00'\n action:\n - service: input_select.select_option\n data_template:\n entity_id: input_select.klaas_status_dropdown\n option: Lang Weg",
|
|
"config": [
|
|
{
|
|
"name": "klaas status dropdown input select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.klaas_status_dropdown",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6de4f15a-300c-46ae-ad72-a379732c8ed4",
|
|
"automation": "- alias: '[System] - Set HA theme'\n description: Change theme based on day or night\n id: 6de4f15a-300c-46ae-ad72-a379732c8ed4\n mode: single\n trigger:\n - platform: homeassistant\n event: start\n - platform: state\n entity_id: sun.sun\n to: above_horizon\n - platform: state\n entity_id: sun.sun\n to: below_horizon\n - platform: state\n entity_id:\n - input_boolean.maintenance_mode\n action:\n - service_template: frontend.set_theme\n data_template:\n name: '{% if is_state (''input_boolean.maintenance_mode'' , ''on'') %} darkorange\n {% elif is_state (''sun.sun'' , ''below_horizon'') %} midnight_blue {% else\n %} default {% endif %}\n\n '",
|
|
"config": [
|
|
{
|
|
"name": "maintenance mode input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.maintenance_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun sun",
|
|
"room": null,
|
|
"type": "sun",
|
|
"id": {
|
|
"entity_id": "sun.sun",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b3d1a4a4-3f40-4279-95cb-3212d356c7cb",
|
|
"automation": "- alias: '[System] - ON automations counter'\n description: Check how many automations are turned ON\n id: b3d1a4a4-3f40-4279-95cb-3212d356c7cb\n mode: single\n trigger:\n - platform: homeassistant\n event: start\n - platform: time_pattern\n hours: /1\n action:\n - service: python_script.on_automations_counter",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "b9fee44a-eca0-421a-891a-57fae1b91296",
|
|
"automation": "- alias: '[House] - Notify too warm in house'\n description: Notify me if it gets too warm in house\n id: b9fee44a-eca0-421a-891a-57fae1b91296\n mode: single\n trigger:\n - platform: numeric_state\n entity_id: sensor.home_sensor_temperature\n above: 30\n action:\n - service: notify.telegram_klaas\n data_template:\n title: '*Warmte alarm!*'\n message: Het is nu {{ states('sensor.home_sensor_temperature') }}°C in huis,\n doe een raam open!",
|
|
"config": [
|
|
{
|
|
"name": "home sensor temperature",
|
|
"room": "home",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.home_sensor_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "telegram klaas notify",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.telegram_klaas",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "58e218c9-27c7-45b0-b181-933b52dc3bc7",
|
|
"automation": "- alias: '[Voice] - Let''s start cooking'\n description: Get more light while cooking via voice assistant.\n id: 58e218c9-27c7-45b0-b181-933b52dc3bc7\n mode: single\n triggers:\n - alias: Trigger sentence\n trigger: conversation\n command:\n - (Ik wil|Laten we) gaan koken\n conditions: []\n actions:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id: scene.cooking\n - set_conversation_response: Succes, ik zal de lampen wat feller maken",
|
|
"config": [
|
|
{
|
|
"name": "cooking scene",
|
|
"room": "kitchen",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.cooking",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5cb83534-4136-4c54-a767-43c37fe069f5",
|
|
"automation": "- alias: '[Voice] - Evening lights'\n description: Activating the evening lights scene\n id: 5cb83534-4136-4c54-a767-43c37fe069f5\n mode: single\n triggers:\n - alias: Trigger sentence\n trigger: conversation\n command:\n - Het is avond\n - Mag het licht aan\n conditions: []\n actions:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id: scene.evening\n - set_conversation_response: Begrepen, ik zal de lampen als sfeerverlichting aanzetten.",
|
|
"config": [
|
|
{
|
|
"name": "evening scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.evening",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0b3b6121-27d7-43df-a207-d3056fb17494",
|
|
"automation": "- alias: '[Voice] - Leave the house'\n description: When I want the house to be in a status of departure\n id: 0b3b6121-27d7-43df-a207-d3056fb17494\n mode: single\n triggers:\n - alias: Trigger sentence\n trigger: conversation\n command:\n - Sluit jij het huis af\n - Ik pak mijn (tas|fiets) en ga\n conditions: []\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.lights_automated\n - action: light.turn_off\n data:\n transition: 2\n target:\n entity_id:\n - light.livingroom\n - light.kitchen\n - light.hall\n - light.bathroom\n - action: cover.close_cover\n target:\n entity_id: cover.curtain_window\n - action: media_player.media_stop\n data: {}\n target:\n entity_id: media_player.ma_home_assistant_voice_pe\n - set_conversation_response: Ik zal het huis voor je afsluiten, kom je snel weer\n thuis?",
|
|
"config": [
|
|
{
|
|
"name": "livingroom light",
|
|
"room": "living room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.livingroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hall light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "curtain window cover",
|
|
"room": "window",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.curtain_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ma home assistant voice pe media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.ma_home_assistant_voice_pe",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "070636cc-bb71-415e-aa75-35ca17d4080a",
|
|
"automation": "- alias: '[Voice] - Start sleeping'\n description: For when I want to go to sleep\n id: 070636cc-bb71-415e-aa75-35ca17d4080a\n mode: single\n triggers:\n - trigger: conversation\n id: with_alarm\n command:\n - Ik wil (morgen vroeg op|vroeg op morgen)\n - trigger: conversation\n id: without_alarm\n command: Ik ga slapen zonder wekker\n conditions: []\n actions:\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.sleeping\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.lights_automated\n - action: script.turn_on\n target:\n entity_id: script.lights_fading_off\n - choose:\n - conditions:\n - condition: trigger\n id:\n - with_alarm\n sequence:\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.wakeup_with_alarm\n - set_conversation_response: Slaap lekker, vergeet niet een tijd in te stellen\n als wekker\n - conditions:\n - condition: trigger\n id:\n - without_alarm\n sequence:\n - set_conversation_response: Slaap lekker, ik zal je morgen niet wakker maken.",
|
|
"config": [
|
|
{
|
|
"name": "sleeping input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleeping",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup with alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_with_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights fading off script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.lights_fading_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "afedd031-cefd-4997-830d-2376293ae956",
|
|
"automation": "- alias: '[Assist] - Wake up'\n description: Let Home Assistant know that I wake up\n id: afedd031-cefd-4997-830d-2376293ae956\n mode: single\n triggers:\n - alias: Trigger sentence\n trigger: conversation\n command:\n - Goede[ ]morgen [nabu]\n conditions: []\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.sleeping\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.lights_automated\n - set_conversation_response: Goedemorgen, lekker geslapen?",
|
|
"config": [
|
|
{
|
|
"name": "sleeping input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleeping",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6db6c97d-fe7d-4217-a8f1-0dd3c01804b0",
|
|
"automation": "- alias: '[House] - Wake up ritual'\n description: Start wakeup automation\n id: 6db6c97d-fe7d-4217-a8f1-0dd3c01804b0\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.manual_wakeup_alarm\n from: 'off'\n to: 'on'\n condition:\n condition: and\n conditions:\n - condition: state\n entity_id: input_boolean.sleeping\n state: 'on'\n - condition: state\n entity_id: sensor.klaas_status\n state: Thuis\n - condition: state\n entity_id: input_boolean.wakeup_with_alarm\n state: 'on'\n action:\n - action: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.sleeping\n - input_boolean.wakeup_with_alarm\n - input_boolean.wakeup_wait\n - alias: Open the curtain to 30%\n action: cover.set_cover_position\n data:\n position: 30\n target:\n entity_id: cover.curtain_window\n - alias: Turn on wake up lights to 50%\n action: light.turn_on\n data:\n transition: 2\n brightness_pct: 50\n target:\n entity_id:\n - light.hall\n - light.kitchen\n - delay:\n minutes: 10\n - sequence:\n - action: media_player.volume_set\n data:\n volume_level: 0.5\n target:\n entity_id: media_player.ma_home_assistant_voice_pe\n - action: music_assistant.play_media\n data:\n media_id: Happy Harmony\n media_type: track\n target:\n entity_id: media_player.ma_home_assistant_voice_pe\n - delay:\n seconds: 30\n - action: script.turn_on\n target:\n entity_id: script.home_status_message\n - wait_template: '{{ is_state(''input_boolean.wakeup_wait'', ''on'') }}'\n continue_on_timeout: true\n - action: media_player.volume_set\n data:\n volume_level: 0.25\n target:\n entity_id: media_player.ma_google_home\n - action: music_assistant.play_media\n target:\n entity_id: media_player.ma_google_home\n data:\n media_id: Radio 538\n media_type: radio\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.lights_automated\n - alias: Open the curtain to 100%\n action: cover.open_cover\n target:\n entity_id: cover.curtain_window",
|
|
"config": [
|
|
{
|
|
"name": "kitchen light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hall light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "manual wakeup alarm",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.manual_wakeup_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sleeping input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.sleeping",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup with alarm input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_with_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup wait input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_wait",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "home status message script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.home_status_message",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "curtain window cover",
|
|
"room": "window",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.curtain_window",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ma home assistant voice pe media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.ma_home_assistant_voice_pe",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "ma google home media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.ma_google_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8c0b35c6-0917-4768-aabc-b4235301c115",
|
|
"automation": "- alias: '[Light] - Set wardrobe lights'\n description: These automations ensure that the lights above my wardrobe will go\n on or off based on the door sensors.\n id: 8c0b35c6-0917-4768-aabc-b4235301c115\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.wardrobe\n action:\n - alias: Turn lights OFF if group off else turn light ON\n choose:\n - alias: Doors are closed\n conditions:\n - condition: state\n entity_id: binary_sensor.wardrobe\n state: 'off'\n sequence:\n - service: scene.turn_on\n target:\n entity_id: scene.wardrobe_before\n data:\n transition: 0.5\n default:\n - service: scene.create\n data:\n scene_id: wardrobe_before\n snapshot_entities:\n - light.hall\n - service: light.turn_on\n target:\n entity_id: light.hall\n data:\n brightness: 170\n transition: 0.5",
|
|
"config": [
|
|
{
|
|
"name": "hall light",
|
|
"room": "hall",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hall",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wardrobe sensor",
|
|
"room": "wardrobe",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.wardrobe",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wardrobe before scene",
|
|
"room": "wardrobe",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.wardrobe_before",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dde327a1-dfa2-4d38-b835-2e158867169b",
|
|
"automation": "- alias: '[House] - Welcome home message'\n description: Let Google Home do a briefing when I get home\n id: dde327a1-dfa2-4d38-b835-2e158867169b\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door_contact\n to: 'on'\n condition:\n - condition: state\n entity_id: sensor.klaas_status\n state: Net Aangekomen\n action:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.lights_automated\n - delay:\n seconds: 3\n - service: script.turn_on\n target:\n entity_id: script.home_status_message",
|
|
"config": [
|
|
{
|
|
"name": "front door contact",
|
|
"room": "front door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.front_door_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "klaas status",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.klaas_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights automated input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_automated",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "home status message script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.home_status_message",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Turn On Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.turn_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "caa78028-a1c5-4c75-b2b2-6b5db1e3e63c",
|
|
"automation": "- alias: '[House] - Airco off on windows open'\n description: Turn off the air conditioner when opening a window\n id: caa78028-a1c5-4c75-b2b2-6b5db1e3e63c\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.window_left_contact\n - binary_sensor.window_right_contact\n from: 'off'\n to: 'on'\n condition:\n condition: state\n entity_id: binary_sensor.airco\n state: 'on'\n action:\n - service: switch.turn_off\n target:\n entity_id: switch.airco",
|
|
"config": [
|
|
{
|
|
"name": "airco sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.airco",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "airco switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.airco",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "window left contact",
|
|
"room": "window",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.window_left_contact",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "window right contact",
|
|
"room": "window",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.window_right_contact",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |