AutomationDataset/broekhuisg/description-ready.json

1455 lines
54 KiB
JSON

[
{
"id": "Driveway camera nightmode off",
"automation": "- alias: Driveway camera nightmode off\n description: Turn the driveway camera nightmode off on sunrise.\n triggers:\n - trigger: sun\n event: sunrise\n offset: 00:00:00\n conditions: []\n actions:\n - data:\n entity_id: switch.driveway_camera_night_mode\n action: switch.turn_off",
"config": [
{
"name": "driveway camera night mode switch",
"room": "driveway",
"type": "switch",
"id": {
"entity_id": "switch.driveway_camera_night_mode",
"device_id": null
}
}
]
},
{
"id": "Driveway camera nightmode on",
"automation": "- alias: Driveway camera nightmode on\n description: Turn the driveway camera nightmode on on sunset.\n triggers:\n - trigger: sun\n event: sunset\n offset: 00:00:00\n conditions: []\n actions:\n - data:\n entity_id: switch.driveway_camera_night_mode\n action: switch.turn_on",
"config": [
{
"name": "driveway camera night mode switch",
"room": "driveway",
"type": "switch",
"id": {
"entity_id": "switch.driveway_camera_night_mode",
"device_id": null
}
}
]
},
{
"id": "Frontdoor lights turn off motion",
"automation": "- alias: Frontdoor lights turn off motion\n description: Turn lights off when there is no motion in the hallway in the morning\n triggers:\n - entity_id: binary_sensor.hallway_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 5\n conditions:\n - condition: time\n after: 05:00:00\n - condition: time\n before: '12:00:00'\n actions:\n - data:\n entity_id: light.frontdoor_lights\n transition: 1\n action: light.turn_off",
"config": [
{
"name": "hallway motion sensor occupancy",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "frontdoor lights",
"room": "frontdoor",
"type": "light",
"id": {
"entity_id": "light.frontdoor_lights",
"device_id": null
}
}
]
},
{
"id": "Frontdoor lights turn on motion",
"automation": "- alias: Frontdoor lights turn on motion\n description: Turn lights on when there is motion in the hallway in the morning\n triggers:\n - entity_id: binary_sensor.hallway_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions:\n - condition: time\n after: 05:00:00\n - condition: sun\n before: sunrise\n actions:\n - data:\n entity_id: light.frontdoor_lights\n brightness: 254\n transition: 1\n action: light.turn_on",
"config": [
{
"name": "hallway motion sensor occupancy",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "frontdoor lights",
"room": "frontdoor",
"type": "light",
"id": {
"entity_id": "light.frontdoor_lights",
"device_id": null
}
}
]
},
{
"id": "Hallway lights off",
"automation": "- alias: Hallway lights off\n description: Turn lights off when there is no motion.\n triggers:\n - entity_id: binary_sensor.hallway_motion_sensor_occupancy\n trigger: state\n to: 'off'\n conditions: []\n actions:\n - data:\n entity_id: light.hallway_lights\n action: light.turn_off",
"config": [
{
"name": "hallway motion sensor occupancy",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "hallway lights",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_lights",
"device_id": null
}
}
]
},
{
"id": "Hallway lights on",
"automation": "- alias: Hallway lights on\n description: Turn lights on when there is motion and after sunset.\n triggers:\n - entity_id: binary_sensor.hallway_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions:\n - condition: numeric_state\n below: 4\n entity_id: sun.sun\n attribute: elevation\n actions:\n - data:\n entity_id: light.hallway_lights\n brightness_pct: 32\n action: light.turn_on",
"config": [
{
"name": "hallway motion sensor occupancy",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "hallway lights",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_lights",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Kitchen lights off",
"automation": "- alias: Kitchen lights off\n description: Turn lights off when 20 minutes no motion\n triggers:\n - entity_id: binary_sensor.kitchen_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 20\n conditions: []\n actions:\n - data:\n entity_id: light.kitchen_lights\n action: light.turn_off",
"config": [
{
"name": "kitchen motion sensor occupancy",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
}
]
},
{
"id": "Kitchen lights on",
"automation": "- alias: Kitchen lights on\n description: Turn lights on when there is motion after sunset.\n triggers:\n - entity_id: binary_sensor.kitchen_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions:\n - condition: numeric_state\n below: 4\n entity_id: sun.sun\n attribute: elevation\n actions:\n - data:\n entity_id: light.kitchen_lights\n brightness: 115\n transition: 1\n action: light.turn_on",
"config": [
{
"name": "kitchen motion sensor occupancy",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Living room lights off",
"automation": "- alias: Living room lights off\n description: Turn lights off when there is no motion for 20 minutes.\n triggers:\n - entity_id: binary_sensor.living_room_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 20\n conditions:\n not:\n - condition: state\n entity_id: media_player.shield\n state: playing\n actions:\n - data:\n entity_id: light.living_room_lights\n action: light.turn_off\n - data:\n entity_id: light.wled_living_room\n action: light.turn_off",
"config": [
{
"name": "living room motion sensor occupancy",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "living room lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "wled living room",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.wled_living_room",
"device_id": null
}
},
{
"name": "media player shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.shield",
"device_id": null
}
}
]
},
{
"id": "Living room lights on",
"automation": "- alias: Living room lights on\n description: Turn lights on when there is motion and after sunset.\n triggers:\n - entity_id: binary_sensor.living_room_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions:\n and:\n - condition: numeric_state\n below: 4\n entity_id: sun.sun\n attribute: elevation\n - not:\n - condition: state\n entity_id: media_player.shield\n state: playing\n actions:\n - data:\n entity_id: script.living_room_lights_default\n action: script.turn_on",
"config": [
{
"name": "living room motion sensor occupancy",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "media player shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.shield",
"device_id": null
}
},
{
"name": "living room lights default script",
"room": "living_room",
"type": "script",
"id": {
"entity_id": "script.living_room_lights_default",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Office lights off",
"automation": "- alias: Office lights off\n description: Turn lights off when there is no motion for 15 minutes.\n triggers:\n - entity_id: binary_sensor.office_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 15\n conditions: []\n actions:\n - data:\n entity_id: light.office_lights\n action: light.turn_off\n - data:\n entity_id: light.wled_office\n action: light.turn_off",
"config": [
{
"name": "office motion sensor occupancy",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "office lights",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lights",
"device_id": null
}
},
{
"name": "wled office",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.wled_office",
"device_id": null
}
}
]
},
{
"id": "Office lights on",
"automation": "- alias: Office lights on\n description: Turn lights on when there is motion after sunset.\n triggers:\n - entity_id: binary_sensor.office_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions:\n - condition: numeric_state\n below: 4\n entity_id: sun.sun\n attribute: elevation\n actions:\n - data:\n entity_id: light.office_lights\n action: light.turn_on\n - data:\n entity_id: light.wled_office\n action: light.turn_on",
"config": [
{
"name": "office motion sensor occupancy",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "office lights",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lights",
"device_id": null
}
},
{
"name": "wled office",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.wled_office",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Shed lights off",
"automation": "- alias: Shed lights off\n description: Turn lights off when there is no motion for 1 minute.\n triggers:\n - entity_id: binary_sensor.shed_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 1\n conditions: []\n actions:\n - data:\n entity_id: light.shed_light\n action: light.turn_off",
"config": [
{
"name": "shed motion sensor occupancy",
"room": "shed",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.shed_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "shed light",
"room": "shed",
"type": "light",
"id": {
"entity_id": "light.shed_light",
"device_id": null
}
}
]
},
{
"id": "Shed lights on",
"automation": "- alias: Shed lights on\n description: Turn lights on when there is motion\n triggers:\n - entity_id: binary_sensor.shed_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n entity_id: light.shed_light\n action: light.turn_on",
"config": [
{
"name": "shed motion sensor occupancy",
"room": "shed",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.shed_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "shed light",
"room": "shed",
"type": "light",
"id": {
"entity_id": "light.shed_light",
"device_id": null
}
}
]
},
{
"id": "Turn led off when backdoor is closed after being open for 2+ minutes",
"automation": "- alias: Turn led off when backdoor is closed after being open for 2+ minutes\n description: Turn off the LED bulb when the backdoor was open for 2 minutes.\n triggers:\n - entity_id: binary_sensor.backdoor_door_sensor_contact\n trigger: state\n to: 'off'\n conditions:\n - condition: state\n entity_id: light.kitchen_light_2\n state: 'off'\n actions:\n - data:\n entity_id: light.kitchen_light_1\n action: light.turn_off",
"config": [
{
"name": "backdoor door sensor contact",
"room": "backdoor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backdoor_door_sensor_contact",
"device_id": null
}
},
{
"name": "kitchen light 1",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_light_1",
"device_id": null
}
},
{
"name": "kitchen light 2",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_light_2",
"device_id": null
}
}
]
},
{
"id": "Turn led on when backdoor is open for 2 minutes",
"automation": "- alias: Turn led on when backdoor is open for 2 minutes\n description: Turn on the LED bulb when the backdoor is open for 2 minutes. Light\n turns off when closed.\n triggers:\n - entity_id: binary_sensor.backdoor_door_sensor_contact\n trigger: state\n to: 'on'\n for:\n seconds: 120\n conditions:\n - condition: state\n entity_id: light.kitchen_light_2\n state: 'off'\n actions:\n - data:\n entity_id: light.kitchen_light_1\n brightness_pct: 100\n flash: long\n action: light.turn_on",
"config": [
{
"name": "backdoor door sensor contact",
"room": "backdoor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backdoor_door_sensor_contact",
"device_id": null
}
},
{
"name": "kitchen light 1",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_light_1",
"device_id": null
}
},
{
"name": "kitchen light 2",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_light_2",
"device_id": null
}
}
]
},
{
"id": "Nano is getting picked up",
"automation": "- alias: Nano is getting picked up\n description: The Nano Tril sensor is triggert!\n triggers:\n - entity_id: binary_sensor.aqara_trilling_sensor_vibration\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: Nano is opgepakt!\n action: notify.telegram_notify",
"config": [
{
"name": "aqara trilling sensor vibration",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.aqara_trilling_sensor_vibration",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Backyard camera nightmode off",
"automation": "- alias: Backyard camera nightmode off\n description: Turn the backyard camera nightmode off on sunrise.\n triggers:\n - trigger: sun\n event: sunrise\n offset: 00:00:00\n conditions: []\n actions:\n - data:\n entity_id: switch.backyard_camera_night_mode\n action: switch.turn_off",
"config": [
{
"name": "backyard camera night mode switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.backyard_camera_night_mode",
"device_id": null
}
}
]
},
{
"id": "Backyard camera nightmode on",
"automation": "- alias: Backyard camera nightmode on\n description: Turn the backyard camera nightmode on on sunset.\n triggers:\n - trigger: sun\n event: sunset\n offset: 00:00:00\n conditions: []\n actions:\n - data:\n entity_id: switch.backyard_camera_night_mode\n action: switch.turn_on",
"config": [
{
"name": "backyard camera night mode switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.backyard_camera_night_mode",
"device_id": null
}
}
]
},
{
"id": "Set climate preset to away",
"automation": "- alias: Set climate preset to away\n description: Set the preset mode of climate to away when everyone is not home\n triggers:\n - trigger: zone\n entity_id:\n - person.gavin\n - person.jimini\n zone: zone.home\n event: leave\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: person.gavin\n state: home\n - condition: state\n entity_id: person.jimini\n state: home\n actions:\n - device_id: 49b026b02dc9b77b85a3e2395afa5ed0\n domain: climate\n entity_id: 4dfd5c9a6f08eac750cfc44bc62d88f9\n type: set_preset_mode\n preset_mode: away\n mode: single",
"config": [
{
"name": "person gavin",
"room": null,
"type": "person",
"id": {
"entity_id": "person.gavin",
"device_id": null
}
},
{
"name": "person jimini",
"room": null,
"type": "person",
"id": {
"entity_id": "person.jimini",
"device_id": null
}
},
{
"name": "climate device",
"room": null,
"type": "climate",
"id": {
"entity_id": "4dfd5c9a6f08eac750cfc44bc62d88f9",
"device_id": "49b026b02dc9b77b85a3e2395afa5ed0"
}
}
]
},
{
"id": "Set climate preset to home",
"automation": "- alias: Set climate preset to home\n description: Set the preset mode of climate to home when at least one person is\n home\n triggers:\n - trigger: zone\n entity_id:\n - person.gavin\n - person.jimini\n zone: zone.home\n event: enter\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: person.gavin\n state: home\n - condition: state\n state: home\n entity_id: person.jimini\n actions:\n - device_id: 49b026b02dc9b77b85a3e2395afa5ed0\n domain: climate\n entity_id: 4dfd5c9a6f08eac750cfc44bc62d88f9\n type: set_preset_mode\n preset_mode: home\n mode: single",
"config": [
{
"name": "person gavin",
"room": null,
"type": "person",
"id": {
"entity_id": "person.gavin",
"device_id": null
}
},
{
"name": "person jimini",
"room": null,
"type": "person",
"id": {
"entity_id": "person.jimini",
"device_id": null
}
},
{
"name": "climate device",
"room": null,
"type": "climate",
"id": {
"entity_id": "4dfd5c9a6f08eac750cfc44bc62d88f9",
"device_id": "49b026b02dc9b77b85a3e2395afa5ed0"
}
}
]
},
{
"id": "CO alarm passage",
"automation": "- alias: CO alarm passage\n description: The CO alarm in the passage is triggered\n triggers:\n - entity_id: binary_sensor.passage_co_sensor_carbon_monoxide\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: Koolmonoxide op de overloop gaat af!\n action: notify.telegram_notify",
"config": [
{
"name": "passage co sensor carbon monoxide",
"room": "passage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.passage_co_sensor_carbon_monoxide",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "CO alarm passage battery",
"automation": "- alias: CO alarm passage battery\n description: The battery of the co alarm passage is almost empty\n triggers:\n - entity_id: binary_sensor.passage_co_sensor_battery_low\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: '\"Batterij van koolmonoxide alarm overloop is bijna leeg\"'\n action: notify.telegram_notify",
"config": [
{
"name": "passage co sensor battery low",
"room": "passage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.passage_co_sensor_battery_low",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Activate activate default light scene on click",
"automation": "- alias: Activate activate default light scene on click\n description: Turn the default lights scene on by clicking the left arrow Tradfri\n remote.\n triggers:\n - entity_id: sensor.living_room_switch_action\n trigger: state\n to: arrow_left_click\n conditions: []\n actions:\n - data:\n entity_id: script.living_room_lights_default\n action: script.turn_on",
"config": [
{
"name": "living room switch action",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_switch_action",
"device_id": null
}
},
{
"name": "living room lights default script",
"room": "living_room",
"type": "script",
"id": {
"entity_id": "script.living_room_lights_default",
"device_id": null
}
}
]
},
{
"id": "Living room activate default light scene",
"automation": "- alias: Living room activate default light scene\n description: Activate the default light scene when the media player stops.\n triggers:\n - trigger: state\n entity_id: media_player.shield\n from: playing\n conditions:\n - condition: numeric_state\n below: 5\n entity_id: sun.sun\n attribute: elevation\n actions:\n - data:\n entity_id: script.living_room_lights_default\n action: script.turn_on",
"config": [
{
"name": "media player shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.shield",
"device_id": null
}
},
{
"name": "living room lights default script",
"room": "living_room",
"type": "script",
"id": {
"entity_id": "script.living_room_lights_default",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Door Fridge",
"automation": "- alias: Door Fridge\n description: TTS to Google speakers when the fridge door is open for longer then\n 120 seconds. Repeats every 20 seconds until closed.\n triggers:\n - entity_id: binary_sensor.fridge_door_sensor_contact\n trigger: state\n to: 'on'\n for:\n seconds: 120\n conditions: []\n actions:\n - data:\n entity_id: script.fridge_open_init\n action: script.turn_on",
"config": [
{
"name": "fridge door sensor contact",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fridge_door_sensor_contact",
"device_id": null
}
},
{
"name": "fridge open init script",
"room": "kitchen",
"type": "script",
"id": {
"entity_id": "script.fridge_open_init",
"device_id": null
}
}
]
},
{
"id": "Garbage out tomorrow",
"automation": "- alias: Garbage out tomorrow\n description: Notify via Google speakers which garbage has to go out tomorrow morning.\n triggers:\n - trigger: time\n at: '20:30:00'\n conditions:\n condition: not\n conditions:\n - condition: state\n entity_id: sensor.afvalinfo_home_trash_type_tomorrow\n state: geen\n actions:\n - data:\n entity_id:\n - media_player.living_room_display\n message: Morgen moet het volgende afval naar buiten, {{ states('sensor.afvalinfo_home_trash_type_tomorrow')\n }}\n language: nl-NL\n action: tts.cloud_say",
"config": [
{
"name": "living room display",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_display",
"device_id": null
}
},
{
"name": "afvalinfo home trash type tomorrow sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.afvalinfo_home_trash_type_tomorrow",
"device_id": null
}
}
]
},
{
"id": "Holiday turn off lights",
"automation": "- alias: Holiday turn off lights\n description: Turn lights off when when we are on holiday.\n triggers:\n trigger: time\n at: '23:11:30'\n conditions: []\n actions:\n - data:\n entity_id: light.holiday_lights\n action: light.turn_off",
"config": [
{
"name": "holiday lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.holiday_lights",
"device_id": null
}
}
]
},
{
"id": "Holiday turn on lights",
"automation": "- alias: Holiday turn on lights\n description: Turn lights on when when we are on holiday.\n triggers:\n trigger: time\n at: '19:45:00'\n conditions: []\n actions:\n - data:\n entity_id: light.holiday_lights\n action: light.turn_on",
"config": [
{
"name": "holiday lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.holiday_lights",
"device_id": null
}
}
]
},
{
"id": "Killswitch lights",
"automation": "- alias: Killswitch lights\n description: Turn all the lights off at 2AM, as a double check so that no light\n is on the whole night long\n triggers:\n - trigger: time\n at: 01:30:00\n conditions: []\n actions:\n - data:\n entity_id: light.living_room_lights\n action: light.turn_off\n - data:\n entity_id: light.kitchen_lights\n action: light.turn_off\n - delay:\n seconds: 2\n - data:\n entity_id: light.hallway_lights\n action: light.turn_off\n - data:\n entity_id: light.office_lights\n action: light.turn_off\n - delay:\n seconds: 2\n - data:\n entity_id: light.backyard_spots\n action: light.turn_off\n - data:\n entity_id: light.shed_light\n action: light.turn_off\n - delay:\n seconds: 2\n - data:\n entity_id: light.wled_living_room\n action: light.turn_off\n - data:\n entity_id: light.wled_office\n action: light.turn_off",
"config": [
{
"name": "hallway lights",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_lights",
"device_id": null
}
},
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "living room lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "wled living room",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.wled_living_room",
"device_id": null
}
},
{
"name": "office lights",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lights",
"device_id": null
}
},
{
"name": "wled office",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.wled_office",
"device_id": null
}
},
{
"name": "shed light",
"room": "shed",
"type": "light",
"id": {
"entity_id": "light.shed_light",
"device_id": null
}
},
{
"name": "backyard spots",
"room": "backyard",
"type": "light",
"id": {
"entity_id": "light.backyard_spots",
"device_id": null
}
}
]
},
{
"id": "Office bureau light on right press",
"automation": "- alias: Office bureau light on right press\n description: Turns the office clost light on when you click on the right button.\n triggers:\n - entity_id: sensor.office_double_switch_action\n trigger: state\n to: single_right\n conditions: []\n actions:\n - data:\n entity_id: light.office_bureau_light\n action: light.toggle",
"config": [
{
"name": "office double switch action",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.office_double_switch_action",
"device_id": null
}
},
{
"name": "office bureau light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_bureau_light",
"device_id": null
}
}
]
},
{
"id": "Lights in and around the closet on left press",
"automation": "- alias: Lights in and around the closet on left press\n description: Turns the big light and WLED light on left press\n triggers:\n - entity_id: sensor.office_double_switch_action\n trigger: state\n to: single_left\n conditions: []\n actions:\n - data:\n entity_id: light.office_standing_corner_light\n action: light.toggle\n - data:\n entity_id: light.wled_office\n action: light.toggle",
"config": [
{
"name": "wled office",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.wled_office",
"device_id": null
}
},
{
"name": "office double switch action",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.office_double_switch_action",
"device_id": null
}
},
{
"name": "office standing corner light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_standing_corner_light",
"device_id": null
}
}
]
},
{
"id": "Kitchen lights dimmer on hold down",
"automation": "- alias: Kitchen lights dimmer on hold down\n description: Turn the lights dimmer when hold-press the switch down.\n triggers:\n - entity_id: sensor.kitchen_switch_action\n trigger: state\n to: brightness_move_down\n conditions: []\n actions:\n - data:\n entity_id: light.kitchen_lights\n brightness_step_pct: -10\n action: light.turn_on",
"config": [
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "kitchen switch action",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_switch_action",
"device_id": null
}
}
]
},
{
"id": "Kitchen lights brighter on hold up",
"automation": "- alias: Kitchen lights brighter on hold up\n description: Turn the lights brigther when hold-press the switch up.\n triggers:\n - entity_id: sensor.kitchen_switch_action\n trigger: state\n to: brightness_move_up\n conditions: []\n actions:\n - data:\n entity_id: light.kitchen_lights\n brightness_step_pct: 10\n action: light.turn_on",
"config": [
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "kitchen switch action",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_switch_action",
"device_id": null
}
}
]
},
{
"id": "Kitchen lights of single press",
"automation": "- alias: Kitchen lights of single press\n description: Turn lights off when single-press the switch down.\n triggers:\n - entity_id: sensor.kitchen_switch_action\n trigger: state\n to: 'off'\n conditions: []\n actions:\n - data:\n entity_id: light.kitchen_lights\n action: light.turn_off",
"config": [
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "kitchen switch action",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_switch_action",
"device_id": null
}
}
]
},
{
"id": "Kitchen lights on single press",
"automation": "- alias: Kitchen lights on single press\n description: Turn lights on when single-press the switch up.\n triggers:\n - entity_id: sensor.kitchen_switch_action\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n entity_id: light.kitchen_lights\n brightness_pct: 45\n action: light.turn_on",
"config": [
{
"name": "kitchen lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "kitchen switch action",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_switch_action",
"device_id": null
}
}
]
},
{
"id": "Office lights toggle double click",
"automation": "- alias: Office lights toggle double click\n description: Toggles all office lights on double click\n triggers:\n - entity_id: sensor.office_double_switch_action\n trigger: state\n to: single_both\n conditions: []\n actions:\n - data:\n entity_id: light.office_lights\n action: light.toggle\n - data:\n entity_id: light.wled_office\n action: light.toggle",
"config": [
{
"name": "office lights",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lights",
"device_id": null
}
},
{
"name": "wled office",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.wled_office",
"device_id": null
}
},
{
"name": "office double switch action",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.office_double_switch_action",
"device_id": null
}
}
]
},
{
"id": "Frontdoor lights turn on around sunset",
"automation": "- alias: Frontdoor lights turn on around sunset\n description: Turn the frontdoor lights just after sunset\n triggers:\n - trigger: numeric_state\n entity_id: sun.sun\n attribute: elevation\n below: -3.1\n conditions: []\n actions:\n - data:\n entity_id: light.frontdoor_lights\n brightness: 153\n transition: 1\n action: light.turn_on",
"config": [
{
"name": "frontdoor lights",
"room": "frontdoor",
"type": "light",
"id": {
"entity_id": "light.frontdoor_lights",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Backyard lights off",
"automation": "- alias: Backyard lights off\n description: Turn lights off when there is no motion for 5 minutes.\n triggers:\n - entity_id: binary_sensor.backyard_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 5\n conditions: []\n actions:\n - data:\n entity_id: light.backyard_spots\n action: light.turn_off",
"config": [
{
"name": "backyard spots",
"room": "backyard",
"type": "light",
"id": {
"entity_id": "light.backyard_spots",
"device_id": null
}
},
{
"name": "backyard motion sensor occupancy",
"room": "backyard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_motion_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "Backyard lights on",
"automation": "- alias: Backyard lights on\n description: Turn lights on when there is motion and after sunset.\n triggers:\n - entity_id: binary_sensor.backyard_motion_sensor_occupancy\n trigger: state\n to: 'on'\n conditions:\n - condition: numeric_state\n below: 2\n entity_id: sun.sun\n attribute: elevation\n actions:\n - data:\n entity_id: light.backyard_spots\n action: light.turn_on",
"config": [
{
"name": "backyard spots",
"room": "backyard",
"type": "light",
"id": {
"entity_id": "light.backyard_spots",
"device_id": null
}
},
{
"name": "backyard motion sensor occupancy",
"room": "backyard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Frontdoor lights turn off person detected",
"automation": "- alias: Frontdoor lights turn off person detected\n description: Turn lights on when there isnt a person detected anymore by the driveway\n camera\n triggers:\n - entity_id: binary_sensor.hallway_motion_sensor_occupancy\n trigger: state\n to: 'off'\n for:\n minutes: 6\n conditions:\n - condition: time\n after: 05:00:00\n - condition: time\n before: '12:00:00'\n actions:\n - data:\n entity_id: light.frontdoor_lights\n transition: 1\n action: light.turn_off",
"config": [
{
"name": "hallway motion sensor occupancy",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "frontdoor lights",
"room": "frontdoor",
"type": "light",
"id": {
"entity_id": "light.frontdoor_lights",
"device_id": null
}
}
]
},
{
"id": "Frontdoor lights turn on person detected",
"automation": "- alias: Frontdoor lights turn on person detected\n description: Turn lights on when there is a person detected by the driveway camera\n triggers:\n - entity_id: binary_sensor.driveway_person_occupancy\n trigger: state\n to: 'on'\n conditions:\n - condition: time\n after: 05:00:00\n - condition: sun\n before: sunrise\n actions:\n - data:\n entity_id: light.frontdoor_lights\n brightness: 254\n transition: 1\n action: light.turn_on",
"config": [
{
"name": "frontdoor lights",
"room": "frontdoor",
"type": "light",
"id": {
"entity_id": "light.frontdoor_lights",
"device_id": null
}
},
{
"name": "driveway person occupancy",
"room": "driveway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.driveway_person_occupancy",
"device_id": null
}
}
]
},
{
"id": "Frontdoor lights turn off at midnight",
"automation": "- alias: Frontdoor lights turn off at midnight\n description: Turn the frontdoor lights off at 00.01AM\n triggers:\n - trigger: time\n at: 00:01:00\n conditions: []\n actions:\n - data:\n entity_id: light.frontdoor_lights\n transition: 1\n action: light.turn_off",
"config": [
{
"name": "frontdoor lights",
"room": "frontdoor",
"type": "light",
"id": {
"entity_id": "light.frontdoor_lights",
"device_id": null
}
}
]
},
{
"id": "Living room lights toggle on press",
"automation": "- alias: Living room lights toggle on press\n description: Turns all the living room lights on/off on click Tradfri remote.\n triggers:\n - entity_id: sensor.living_room_switch_action\n trigger: state\n to: toggle\n conditions: []\n actions:\n - data:\n entity_id: light.living_room_lights\n action: light.toggle\n - data:\n entity_id: light.wled_living_room\n action: light.toggle",
"config": [
{
"name": "living room lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "wled living room",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.wled_living_room",
"device_id": null
}
},
{
"name": "living room switch action",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_switch_action",
"device_id": null
}
}
]
},
{
"id": "Activate movie scene on click",
"automation": "- alias: Activate movie scene on click\n description: Turn the movie scene on by clicking the right arrow Tradfri remote.\n triggers:\n - entity_id: sensor.living_room_switch_action\n trigger: state\n to: arrow_right_click\n conditions: []\n actions:\n - data:\n entity_id: script.movie_scene\n action: script.turn_on",
"config": [
{
"name": "living room switch action",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_switch_action",
"device_id": null
}
},
{
"name": "movie scene script",
"room": "living_room",
"type": "script",
"id": {
"entity_id": "script.movie_scene",
"device_id": null
}
}
]
},
{
"id": "Living room activate movie scene",
"automation": "- alias: Living room activate movie scene\n description: Activate the movie scene when starting media player.\n triggers:\n - trigger: state\n entity_id: media_player.shield\n to: playing\n conditions:\n and:\n - condition: numeric_state\n below: 5\n entity_id: sun.sun\n attribute: elevation\n - or:\n - not:\n - condition: state\n entity_id: media_player.shield\n attribute: app_name\n state: YouTube\n - condition: state\n entity_id: media_player.shield\n attribute: app_name\n state: Twitch\n - condition: state\n entity_id: media_player.shield\n attribute: app_name\n state: Spotify\n - condition: state\n entity_id: media_player.shield\n attribute: app_name\n state: F1TV Chromecast\n - condition: state\n entity_id: media_player.shield\n attribute: app_name\n state: Videoland\n - condition: state\n entity_id: media_player.shield\n attribute: app_name\n state: Viaplay\n actions:\n - data:\n entity_id: script.movie_scene\n action: script.turn_on",
"config": [
{
"name": "media player shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.shield",
"device_id": null
}
},
{
"name": "movie scene script",
"room": "living_room",
"type": "script",
"id": {
"entity_id": "script.movie_scene",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Picnic delivery soon",
"automation": "- alias: Picnic delivery soon\n mode: single\n description: Send a notification when the short window of the picnic delivery is\n near\n triggers:\n - trigger: template\n value_template: \"{% if states('sensor.picnic_next_delivery_eta_start') not in\\\n \\ ['unknown','unavailable','none'] %}\\n {{ 601 > (as_timestamp(states('sensor.picnic_next_delivery_eta_start'),\\\n \\ 0) - as_timestamp(now(), 0)) > 540}}\\n{% endif %}\"\n actions:\n - data:\n entity_id:\n - media_player.living_room_display\n message: \"Picnic bezorgt tussen {{((states('sensor.picnic_next_delivery_eta_start')|as_timestamp\\\n \\ - \\n utcnow()|as_timestamp)/60)|round}} minuten en {{((states('sensor.picnic_next_delivery_eta_end')|as_timestamp\\\n \\ - \\n utcnow()|as_timestamp)/60)|round}} minuten!\\n\"\n language: nl-NL\n action: tts.cloud_say",
"config": [
{
"name": "living room display",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_display",
"device_id": null
}
},
{
"name": "picnic next delivery eta start sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.picnic_next_delivery_eta_start",
"device_id": null
}
},
{
"name": "picnic next delivery eta end sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.picnic_next_delivery_eta_end",
"device_id": null
}
}
]
},
{
"id": "System recorder purge",
"automation": "- alias: System recorder purge\n description: Purge recorder database\n mode: single\n triggers:\n - trigger: time_pattern\n minutes: 12\n conditions: []\n actions:\n - action: recorder.purge",
"config": []
},
{
"id": "System recorder repack",
"automation": "- alias: System recorder repack\n description: Repack recorder database\n mode: single\n triggers:\n - trigger: time\n at: 05:00\n conditions:\n - condition: time\n weekday:\n - sun\n actions:\n - action: recorder.purge\n data:\n repack: true",
"config": []
},
{
"id": "Smoke alarm hallway",
"automation": "- alias: Smoke alarm hallway\n description: The smoke alarm in the hallway is triggered\n triggers:\n - entity_id: binary_sensor.hallway_smoke_sensor_smoke\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: Brandalarm op de gang gaat af!\n action: notify.telegram_notify",
"config": [
{
"name": "hallway smoke sensor smoke",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_smoke_sensor_smoke",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Smoke alarm hallway battery",
"automation": "- alias: Smoke alarm hallway battery\n description: The battery of the smoke alarm hallway is almost empty\n triggers:\n - entity_id: binary_sensor.hallway_smoke_sensor_battery_low\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: '\"Batterij van brandalarm gang is bijna leeg\"'\n action: notify.telegram_notify",
"config": [
{
"name": "hallway smoke sensor battery low",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_smoke_sensor_battery_low",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Smoke alarm passage",
"automation": "- alias: Smoke alarm passage\n description: The smoke alarm in the passage is triggered\n triggers:\n - entity_id: binary_sensor.passage_smoke_sensor_smoke\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: Brandalarm op de overloop gaat af!\n action: notify.telegram_notify",
"config": [
{
"name": "passage smoke sensor smoke",
"room": "passage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.passage_smoke_sensor_smoke",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Smoke alarm passage battery",
"automation": "- alias: Smoke alarm passage battery\n description: The battery of the smoke alarm passage is almost empty\n triggers:\n - entity_id: binary_sensor.passage_smoke_sensor_battery_low\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: '\"Batterij van brandalarm overloop is bijna leeg\"'\n action: notify.telegram_notify",
"config": [
{
"name": "passage smoke sensor battery low",
"room": "passage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.passage_smoke_sensor_battery_low",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Washing machine water detected",
"automation": "- alias: Washing machine water detected\n description: The water alarm behind the washing machine is triggered\n triggers:\n - entity_id: binary_sensor.washing_machine_water_sensor_water_leak\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: Er is water gedetecteerd achter de wasmachine!\n action: notify.telegram_notify",
"config": [
{
"name": "washing machine water sensor water leak",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor_water_leak",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
},
{
"id": "Washing machine water battery",
"automation": "- alias: Washing machine water battery\n description: The battery of the washing machine water detection is almost empty\n triggers:\n - entity_id: binary_sensor.washing_machine_water_sensor_battery_low\n trigger: state\n to: 'on'\n conditions: []\n actions:\n - data:\n message: Batterij van water detectie wasmachine is bijna leeg\n action: notify.telegram_notify",
"config": [
{
"name": "washing machine water sensor battery low",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor_battery_low",
"device_id": null
}
},
{
"name": "telegram notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.telegram_notify",
"device_id": null
}
}
]
}
]