970 lines
69 KiB
JSON
970 lines
69 KiB
JSON
[
|
|
{
|
|
"id": "'1732692880064'",
|
|
"automation": "- id: '1732692880064'\n alias: Telegram HVC Notification\n description: Send a notification when there is a garbage collection\n triggers:\n - at: '19:00:00'\n trigger: time\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.hvc_restafval\n attribute: day\n state: Morgen\n - condition: state\n entity_id: sensor.hvc_gft\n attribute: day\n state: Morgen\n - condition: state\n entity_id: sensor.hvc_plastic\n attribute: day\n state: Morgen\n - condition: state\n entity_id: sensor.hvc_papier\n attribute: day\n state: Morgen\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: sensor.hvc_restafval\n attribute: day\n state: Morgen\n sequence:\n - data:\n title: HVC\n message: 'Morgen komt Restafval, vergeet de bak niet aan de weg te zetten!\n\n '\n action: notify.mobile_app_nimbus_2000\n - conditions:\n - condition: state\n entity_id: sensor.hvc_gft\n attribute: day\n state: Morgen\n sequence:\n - data:\n title: HVC\n message: 'Morgen komt GFT, vergeet de bak niet aan de weg te zetten!\n\n '\n action: notify.mobile_app_nimbus_2000\n - conditions:\n - condition: state\n entity_id: sensor.hvc_plastic\n attribute: day\n state: Morgen\n sequence:\n - data:\n title: HVC\n message: 'Morgen komt Plastic, vergeet de bak niet aan de weg te zetten!\n\n '\n action: notify.mobile_app_nimbus_2000\n - conditions:\n - condition: state\n entity_id: sensor.hvc_papier\n attribute: day\n state: Morgen\n sequence:\n - data:\n title: HVC\n message: 'Morgen komt Oud Papier, vergeet het niet aan de weg te zetten!\n\n '\n action: notify.mobile_app_nimbus_2000\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "HVC restafval sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.hvc_restafval",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "HVC GFT sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.hvc_gft",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "HVC plastic sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.hvc_plastic",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "HVC papier sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.hvc_papier",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Mobile app notification",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_nimbus_2000",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776537852'",
|
|
"automation": "- id: '1733776537852'\n alias: Brand!\n description: Er is brand!\n triggers:\n - entity_id:\n - binary_sensor.rookmelder_keuken_smoke\n - binary_sensor.rookmelder_lily_smoke\n - binary_sensor.rookmelder_olivia_smoke\n - binary_sensor.rookmelder_harvey_smoke\n - binary_sensor.rookmelder_slaapkamer_smoke\n to: 'on'\n trigger: state\n - entity_id:\n - siren.rookmelder_keuken_siren\n - siren.rookmelder_lily_siren\n - siren.rookmelder_olivia_siren\n - siren.rookmelder_harvey_siren\n - siren.rookmelder_slaapkamer_siren\n to: 'off'\n from: 'on'\n trigger: state\n conditions:\n - condition: state\n entity_id:\n - binary_sensor.rookmelder_keuken_smoke\n - binary_sensor.rookmelder_lily_smoke\n - binary_sensor.rookmelder_olivia_smoke\n - binary_sensor.rookmelder_harvey_smoke\n - binary_sensor.rookmelder_slaapkamer_smoke\n match: any\n state: 'on'\n actions:\n - parallel:\n - target:\n entity_id:\n - siren.rookmelder_keuken_siren\n - siren.rookmelder_lily_siren\n - siren.rookmelder_olivia_siren\n - siren.rookmelder_harvey_siren\n - siren.rookmelder_slaapkamer_siren\n data:\n duration: 10\n action: siren.turn_on\n - continue_on_error: true\n data:\n title: BRAND!\n message: '{% for state in states.binary_sensor if is_state_attr(state.entity_id,\n ''device_class'', ''smoke'') and is_state(state.entity_id, ''on'') -%} {{-\n state.attributes.friendly_name }}\n\n {% endfor %}\n\n '\n data:\n push:\n sound:\n name: alarm.caf\n critical: 1\n volume: 1\n action: notify.mobile_app_nimbus_2000\n - continue_on_error: true\n data:\n title: BRAND!\n message: '{% for state in states.binary_sensor if is_state_attr(state.entity_id,\n ''device_class'', ''smoke'') and is_state(state.entity_id, ''on'') -%} {{-\n state.attributes.friendly_name }}\n\n {% endfor %}\n\n '\n data:\n notification_id: fire\n action: notify.persistent_notification\n mode: single\n max_exceeded: silent\n variables:\n telegram_target: -788454569",
|
|
"config": [
|
|
{
|
|
"name": "Mobile app notification",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_nimbus_2000",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Keuken rookmelder smoke",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.rookmelder_keuken_smoke",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lily rookmelder smoke",
|
|
"room": "lily",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.rookmelder_lily_smoke",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Olivia rookmelder smoke",
|
|
"room": "olivia",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.rookmelder_olivia_smoke",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Harvey rookmelder smoke",
|
|
"room": "harvey",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.rookmelder_harvey_smoke",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer rookmelder smoke",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.rookmelder_slaapkamer_smoke",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Keuken rookmelder siren",
|
|
"room": "kitchen",
|
|
"type": "siren",
|
|
"id": {
|
|
"entity_id": "siren.rookmelder_keuken_siren",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lily rookmelder siren",
|
|
"room": "lily",
|
|
"type": "siren",
|
|
"id": {
|
|
"entity_id": "siren.rookmelder_lily_siren",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Olivia rookmelder siren",
|
|
"room": "olivia",
|
|
"type": "siren",
|
|
"id": {
|
|
"entity_id": "siren.rookmelder_olivia_siren",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Harvey rookmelder siren",
|
|
"room": "harvey",
|
|
"type": "siren",
|
|
"id": {
|
|
"entity_id": "siren.rookmelder_harvey_siren",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer rookmelder siren",
|
|
"room": "bedroom",
|
|
"type": "siren",
|
|
"id": {
|
|
"entity_id": "siren.rookmelder_slaapkamer_siren",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Persistent notification",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.persistent_notification",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776593318'",
|
|
"automation": "- id: '1733776593318'\n alias: Voordeur Auto Lock\n description: Voordeur dagelijks automatisch op slot.\n triggers:\n - at: 00:00:00\n trigger: time\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: lock.voordeur\n state: locked\n actions:\n - wait_template: '{{ is_state(''binary_sensor.voordeur_opening'', ''off'') }}'\n timeout:\n minutes: 10\n continue_on_timeout: true\n - target:\n entity_id: lock.voordeur\n action: lock.lock\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Voordeur lock",
|
|
"room": "front_door",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.voordeur",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Voordeur opening sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.voordeur_opening",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776611957'",
|
|
"automation": "- id: '1733776611957'\n alias: Voordeur Button\n description: Open en sluit voordeur met IKEA knop\n triggers:\n - event_type: zha_event\n event_data:\n device_id: 05c5ad32692a45cf985ab7ace8893fa4\n trigger: event\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"on\" }}'\n sequence:\n - wait_template: '{{ is_state(''binary_sensor.voordeur_opening'', ''off'') }}'\n timeout:\n minutes: 1\n continue_on_timeout: false\n - target:\n entity_id: lock.voordeur\n action: lock.lock\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_with_on_off\" }}'\n sequence:\n - wait_template: '{{ is_state(''binary_sensor.voordeur_opening'', ''off'') }}'\n timeout:\n minutes: 1\n continue_on_timeout: false\n - target:\n entity_id: lock.voordeur\n action: lock.lock\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"off\" }}'\n sequence:\n - target:\n entity_id: lock.voordeur\n action: lock.unlock\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move\" }}'\n sequence:\n - target:\n entity_id: lock.voordeur\n action: lock.unlock\n data: {}\n default: []\n mode: restart\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Voordeur lock",
|
|
"room": "front_door",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.voordeur",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Voordeur opening sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.voordeur_opening",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "IKEA voordeur button device",
|
|
"room": "front_door",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "05c5ad32692a45cf985ab7ace8893fa4"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776624719'",
|
|
"automation": "- id: '1733776624719'\n alias: Voordeur NFC Tag\n description: Open voordeur zodra NFC tag wordt gescand.\n triggers:\n - tag_id: ef228741-9c01-4742-9460-22eac6841a4f\n trigger: tag\n conditions: []\n actions:\n - target:\n entity_id: lock.voordeur\n action: lock.unlock\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Voordeur lock",
|
|
"room": "front_door",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.voordeur",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776641109'",
|
|
"automation": "- id: '1733776641109'\n alias: Badkamer Afzuiging\n description: Zet de afzuiging aan/uit op basis van het verschil in luchtvochtigheid\n tussen de badkamer en de rest van de verdieping.\n triggers:\n - entity_id: sensor.badkamer_luchtvochtigheid_afwijking\n above: 20\n id: 'on'\n trigger: numeric_state\n - entity_id: sensor.badkamer_luchtvochtigheid_afwijking\n below: 15\n id: 'off'\n trigger: numeric_state\n - entity_id: fan.afzuiging\n to: 'on'\n for:\n hours: 1\n id: 'off'\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id: 'on'\n sequence:\n - target:\n entity_id: fan.afzuiging\n data:\n percentage: 100\n action: fan.turn_on\n - delay:\n seconds: 1\n - target:\n entity_id: fan.afzuiging\n data:\n percentage: 90\n action: fan.turn_on\n - delay:\n seconds: 1\n - target:\n entity_id: fan.afzuiging\n data:\n percentage: 100\n action: fan.turn_on\n default:\n - target:\n entity_id: fan.afzuiging\n action: fan.turn_off\n data: {}\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Badkamer luchtvochtigheid afwijking sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.badkamer_luchtvochtigheid_afwijking",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Badkamer afzuiging fan",
|
|
"room": "bathroom",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.afzuiging",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776653408'",
|
|
"automation": "- id: '1733776653408'\n alias: Badkamer Schakelaar\n description: Zet het licht in de badkamer aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.badkamer_plafond_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.badkamer_plafond\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Badkamer plafond switch",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.badkamer_plafond_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Badkamer plafond light",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.badkamer_plafond",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776664320'",
|
|
"automation": "- id: '1733776664320'\n alias: Badkamer Spiegelverwarming\n description: Zet de spiegelverwarming aan/uit op basis van het verschil in luchtvochtigheid\n tussen de badkamer en de rest van de verdieping.\n triggers:\n - entity_id: sensor.badkamer_luchtvochtigheid_afwijking\n above: 20\n id: 'on'\n trigger: numeric_state\n - entity_id: sensor.badkamer_luchtvochtigheid_afwijking\n below: 15\n id: 'off'\n trigger: numeric_state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id: 'on'\n sequence:\n - data_template:\n entity_id: switch.badkamer_spiegelverwarming\n action: switch.turn_on\n default:\n - data_template:\n entity_id: switch.badkamer_spiegelverwarming\n action: switch.turn_off\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Badkamer luchtvochtigheid afwijking sensor",
|
|
"room": "bathroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.badkamer_luchtvochtigheid_afwijking",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Badkamer spiegelverwarming switch",
|
|
"room": "bathroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.badkamer_spiegelverwarming",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776683437'",
|
|
"automation": "- id: '1733776683437'\n alias: Buitenverlichting Achterdeur\n description: Zet het licht bij de achterdeur aan/uit op basis van de zon.\n triggers:\n - event: sunrise\n id: 'off'\n trigger: sun\n - event: sunset\n id: 'on'\n trigger: sun\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id: 'off'\n sequence:\n - target:\n entity_id: light.achterdeur\n action: light.turn_off\n data: {}\n default:\n - target:\n entity_id: light.achterdeur\n action: light.turn_on\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Achterdeur light",
|
|
"room": "back_door",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.achterdeur",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776695860'",
|
|
"automation": "- id: '1733776695860'\n alias: Voordeur feller zetten als de deur open gaat\n description: Zet het licht bij de voordeur feller als de deur open gaat.\n triggers:\n - entity_id: binary_sensor.voordeur_opening\n from: 'off'\n to: 'on'\n trigger: state\n conditions:\n - condition: state\n entity_id: light.voordeur\n state: 'on'\n actions:\n - variables:\n brightness_now: '{{ state_attr(''light.voordeur'', ''brightness'') }}'\n - target:\n entity_id: light.voordeur\n data:\n brightness_pct: 100\n transition: 1\n action: light.turn_on\n - wait_for_trigger:\n - entity_id: binary_sensor.voordeur_opening\n from: 'on'\n to: 'off'\n trigger: state\n timeout:\n minutes: 10\n continue_on_timeout: true\n - target:\n entity_id: light.voordeur\n data:\n brightness: '{{ brightness_now }}'\n transition: 2\n action: light.turn_on\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Voordeur opening sensor",
|
|
"room": "front_door",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.voordeur_opening",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Voordeur light",
|
|
"room": "front_door",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.voordeur",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776711872'",
|
|
"automation": "- id: '1733776711872'\n alias: Buitenverlichting Voordeur\n description: Zet het licht bij de voordeur aan/uit op basis van de zon.\n triggers:\n - event: sunrise\n id: 'off'\n trigger: sun\n - event: sunset\n id: 'on'\n trigger: sun\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id: 'off'\n sequence:\n - target:\n entity_id: light.voordeur\n action: light.turn_off\n data: {}\n default:\n - target:\n entity_id: light.voordeur\n action: light.turn_on\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Voordeur light",
|
|
"room": "front_door",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.voordeur",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776728832'",
|
|
"automation": "- id: '1733776728832'\n alias: Bar Schakelaar\n description: Zet het licht boven de bar aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.bar_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.bar\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Bar switch",
|
|
"room": "bar",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bar_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Bar light",
|
|
"room": "bar",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bar",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776741467'",
|
|
"automation": "- id: '1733776741467'\n alias: Tafel Schakelaar\n description: Zet het licht boven de tafel aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.tafel_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.eettafel\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Tafel switch",
|
|
"room": "dining_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.tafel_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Eettafel light",
|
|
"room": "dining_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.eettafel",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776754262'",
|
|
"automation": "- id: '1733776754262'\n alias: Keuken Schakelaar Kastjes\n description: Zet het licht onder de keukenkastjes aan/uit wanneer de schakelaar\n wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.keukenkastjes_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.keuken_kastjes\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Keukenkastjes switch",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.keukenkastjes_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Keuken kastjes light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.keuken_kastjes",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776768342'",
|
|
"automation": "- id: '1733776768342'\n alias: Keuken Schakelaar Plafond\n description: Zet het licht in de keuken aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.keukenplafond_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n target:\n entity_id: light.keuken_plafond\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Keukenplafond switch",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.keukenplafond_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Keuken plafond light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.keuken_plafond",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776950068'",
|
|
"automation": "- id: '1733776950068'\n alias: Kleedkamer Schakelaar\n description: Zet het licht in de kleedkamer aan/uit wanneer de schakelaar wordt\n geschakeld.\n triggers:\n - entity_id: binary_sensor.kleedkamer_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.kleedkamer\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Kleedkamer switch",
|
|
"room": "dressing_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kleedkamer_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Kleedkamer light",
|
|
"room": "dressing_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kleedkamer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776963050'",
|
|
"automation": "- id: '1733776963050'\n alias: Meterkast Deurbel\n description: Laat de bel afgaan via de Google Speakers en stuur een melding naar\n iedereen die thuis is.\n triggers:\n - trigger: state\n entity_id:\n - event.deurbel_ding\n not_from: unavailable\n not_to: unavailable\n conditions: []\n actions:\n - data:\n entity_id: media_player.woonkamer_mini\n media_content_id: http://192.168.0.1:8123/local/deurbel.mp3\n media_content_type: music\n action: media_player.play_media\n - delay:\n seconds: 10\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Deurbel ding event",
|
|
"room": "front_door",
|
|
"type": "event",
|
|
"id": {
|
|
"entity_id": "event.deurbel_ding",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Woonkamer mini media player",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.woonkamer_mini",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776979297'",
|
|
"automation": "- id: '1733776979297'\n alias: Niels Pillen Herinnering\n description: Stuur een herinnering om 21:00 om pillen in te nemen\n triggers:\n - trigger: time\n at: '21:00:00'\n conditions: []\n actions:\n - alias: Turn on helper\n action: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.niels_pillen\n data: {}\n - alias: Repeat every 10 minutes\n repeat:\n while:\n - alias: Helper is On\n condition: state\n entity_id: input_boolean.niels_pillen\n state: 'on'\n sequence:\n - alias: Send actionable notification\n action: notify.mobile_app_nimbus_2000\n data:\n title: Pillen\n message: Het is tijd om je pilletje in te nemen\n data:\n url: /lovelace/pillen\n push:\n sound:\n name: Alert_Health_Haptic.caf\n critical: 1\n volume: 1\n actions:\n - action: PILLS_DONE\n title: Ingenomen\n authenticationRequired: true\n icon: sfsymbols:pill\n - alias: Wait for confirmation\n wait_for_trigger:\n - alias: Confirmation given\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: PILLS_DONE\n - alias: Helper turned Off\n trigger: state\n entity_id:\n - input_boolean.niels_pillen\n to: 'off'\n timeout:\n minutes: 10\n - alias: Turn off helper on confirmation\n if:\n - alias: Confirmation is given\n condition: template\n value_template: '{{ wait.trigger.event.data.action == ''PILLS_DONE'' }}'\n then:\n - alias: Turn helper Off\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.niels_pillen\n data: {}\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "Mobile app notification",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_nimbus_2000",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Niels pillen input boolean",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.niels_pillen",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733776990052'",
|
|
"automation": "- id: '1733776990052'\n alias: Overloop Schakelaar\n description: Zet het licht op de overloop aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.overloop_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.overloop\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Overloop switch",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.overloop_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Overloop light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.overloop",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777007479'",
|
|
"automation": "- id: '1733777007479'\n alias: Slaapkamer IKEA Remote\n description: Zet alle verlichting uit met de druk van elke knop op de IKEA Remote.\n triggers:\n - event_type: zha_event\n event_data:\n device_id: 5279ce03243d54e6596565d4af4d3567\n trigger: event\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"toggle\" }}'\n sequence:\n - entity_id: automation.slaapkamer_schakelaar\n action: automation.trigger\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_to_level_with_on_off\"\n }}'\n sequence:\n - target:\n entity_id: light.slaapkamer\n data:\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step_with_on_off\" }}'\n sequence:\n - choose:\n - conditions:\n - condition: template\n value_template: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |selectattr('state', 'eq', 'on')\\n |map(attribute='entity_id')\\n\\\n \\ |list\\n |count\\n > 0\\n}}\"\n sequence:\n - target:\n entity_id: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |selectattr('state', 'eq', 'on')\\n |map(attribute='entity_id')\\n\\\n \\ |list\\n}}\"\n data:\n brightness_step_pct: 10\n action: light.turn_on\n default:\n - choose:\n - conditions:\n - condition: time\n before: '10:00'\n after: '21:00'\n sequence:\n - target:\n entity_id: light.bed\n data:\n brightness_step_pct: 10\n action: light.turn_on\n default:\n - target:\n entity_id: light.slaapkamer\n data:\n brightness_step_pct: 10\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_with_on_off\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - choose:\n - conditions:\n - condition: template\n value_template: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |selectattr('state', 'eq', 'on')\\n |map(attribute='entity_id')\\n\\\n \\ |list\\n |count\\n > 0\\n}}\"\n sequence:\n - target:\n entity_id: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |selectattr('state', 'eq', 'on')\\n |map(attribute='entity_id')\\n\\\n \\ |list\\n}}\"\n data:\n brightness_step_pct: 10\n transition: 0.5\n action: light.turn_on\n default:\n - choose:\n - conditions:\n - condition: time\n before: '10:00'\n after: '21:00'\n sequence:\n - target:\n entity_id: light.bed\n data:\n brightness_step_pct: 10\n transition: 0.5\n action: light.turn_on\n default:\n - target:\n entity_id: light.slaapkamer\n data:\n brightness_step_pct: 10\n transition: 0.5\n action: light.turn_on\n - delay:\n milliseconds: 500\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step\" }}'\n sequence:\n - target:\n entity_id: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |map(attribute='entity_id')\\n |list\\n}}\"\n data:\n brightness_step_pct: -10\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - choose:\n - conditions:\n - condition: template\n value_template: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |selectattr('state', 'eq', 'on')\\n |map(attribute='entity_id')\\n\\\n \\ |list\\n |count\\n > 0\\n}}\"\n sequence:\n - target:\n entity_id: \"{{\\n expand(state_attr('light.slaapkamer', 'entity_id'))\\n\\\n \\ |selectattr('state', 'eq', 'on')\\n |map(attribute='entity_id')\\n\\\n \\ |list\\n}}\"\n data:\n brightness_step_pct: -10\n transition: 0.5\n action: light.turn_on\n default:\n - choose:\n - conditions:\n - condition: time\n before: '10:00'\n after: '21:00'\n sequence:\n - target:\n entity_id: light.bed\n data:\n brightness_step_pct: -10\n transition: 0.5\n action: light.turn_on\n default:\n - target:\n entity_id: light.slaapkamer\n data:\n brightness_step_pct: -10\n transition: 0.5\n action: light.turn_on\n - delay:\n milliseconds: 500\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [256,13,0] }}'\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: media_player.slaapkamer_mini\n state: playing\n sequence:\n - target:\n entity_id: media_player.slaapkamer_mini\n action: media_player.media_next_track\n data: {}\n default:\n - target:\n entity_id: light.bed\n data:\n brightness: 100\n color_name: red\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3328,0] }}'\n sequence:\n - target:\n entity_id: media_player.slaapkamer_mini\n action: media_player.turn_off\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [257,13,0] }}'\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: media_player.slaapkamer_mini\n state: playing\n sequence:\n - target:\n entity_id: media_player.slaapkamer_mini\n action: media_player.media_previous_track\n data: {}\n default:\n - target:\n entity_id: light.bed\n data:\n brightness: 100\n color_name: red\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3329,0] }}'\n sequence:\n - target:\n entity_id: media_player.slaapkamer_mini\n action: media_player.turn_off\n data: {}\n default: []\n mode: restart\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "IKEA slaapkamer remote device",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "5279ce03243d54e6596565d4af4d3567"
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer automation",
|
|
"room": "bedroom",
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.slaapkamer_schakelaar",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.slaapkamer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Bed light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer mini media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.slaapkamer_mini",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777034423'",
|
|
"automation": "- id: '1733777034423'\n alias: Kantoor Schakelaar\n description: Zet het licht op het kantoor aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.kantoor_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.kantoor\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Kantoor switch",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kantoor_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Kantoor light",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kantoor",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777054072'",
|
|
"automation": "- id: '1733777054072'\n alias: Slaapkamer Schakelaar\n description: Zet het licht in de slaapkamer aan/uit wanneer de schakelaar wordt\n geschakeld.\n triggers:\n - entity_id: binary_sensor.slaapkamer_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: light.slaapkamer\n state: 'off'\n sequence:\n - choose:\n - conditions:\n - condition: time\n before: '10:00'\n after: '21:00'\n sequence:\n - entity_id: light.bed\n data:\n brightness: 50\n hs_color:\n - 38.222\n - 52.941\n action: light.turn_on\n default:\n - entity_id: light.slaapkamer\n data:\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.turn_on\n default:\n - entity_id: light.slaapkamer\n action: light.turn_off\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Slaapkamer light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.slaapkamer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Bed light",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bed",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer switch",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.slaapkamer_switch",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777070069'",
|
|
"automation": "- id: '1733777070069'\n alias: Slaapkamer Harvey IKEA Remote\n description: Bedien de verlichting met de IKEA Remote.\n triggers:\n - event_type: zha_event\n event_data:\n device_id: 61c87e4b3a45f41ad8de3f47d0e39317\n trigger: event\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"toggle\" }}'\n sequence:\n - target:\n entity_id: light.harvey\n action: light.toggle\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_to_level_with_on_off\"\n }}'\n sequence:\n - target:\n entity_id: light.harvey\n data:\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step_with_on_off\" }}'\n sequence:\n - target:\n entity_id: light.harvey\n data:\n brightness_step_pct: 20\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_with_on_off\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.harvey\n data:\n brightness_step_pct: 10\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step\" }}'\n sequence:\n - target:\n entity_id: light.harvey\n data:\n brightness_step_pct: -20\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.harvey\n data:\n brightness_step_pct: -10\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [256,13,0] }}'\n sequence:\n - target:\n entity_id: light.harvey\n data:\n hs_color:\n - \"{% if state_attr(var, \\\"hs_color\\\")[0] + 18 > 360 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 - 360 }}\\n{% else %}\\n {{ state_attr(var, \\\"\\\n hs_color\\\")[0] + 18 }}\\n{% endif %}\"\n - '{{ state_attr(var, \"hs_color\")[1] }}'\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3328,0] }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.harvey\n data:\n hs_color:\n - \"{% if state_attr(var, \\\"hs_color\\\")[0] + 18 > 360 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 - 360 }}\\n{% else %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 }}\\n{% endif %}\"\n - '{{ state_attr(var, \"hs_color\")[1] }}'\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [257,13,0] }}'\n sequence:\n - target:\n entity_id: light.harvey\n data:\n hs_color:\n - '{{ state_attr(var, \"hs_color\")[0] }}'\n - \"{% if state_attr(var, \\\"hs_color\\\")[1] - 20 < 0 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 20 + 100 }}\\n{% else %}\\n {{ state_attr(var, \\\"\\\n hs_color\\\")[1] - 20 }}\\n{% endif %}\"\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3329,0] }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.harvey\n data:\n hs_color:\n - '{{ state_attr(var, \"hs_color\")[0] }}'\n - \"{% if state_attr(var, \\\"hs_color\\\")[1] - 10 < 0 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 10 + 100 }}\\n{% else %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 10 }}\\n{% endif %}\"\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n default: []\n mode: restart\n max_exceeded: silent\n variables:\n var: light.harvey\n var_speed: 300",
|
|
"config": [
|
|
{
|
|
"name": "IKEA Harvey remote device",
|
|
"room": "harvey",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "61c87e4b3a45f41ad8de3f47d0e39317"
|
|
}
|
|
},
|
|
{
|
|
"name": "Harvey light",
|
|
"room": "harvey",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.harvey",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777083660'",
|
|
"automation": "- id: '1733777083660'\n alias: Slaapkamer Harvey Schakelaar\n description: Zet het licht in de slaapkamer van Harvey aan/uit wanneer de schakelaar\n wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.slaapkamer_harvey_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.harvey_plafond\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Harvey light",
|
|
"room": "harvey",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.harvey",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer Harvey switch",
|
|
"room": "harvey",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.slaapkamer_harvey_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Harvey plafond light",
|
|
"room": "harvey",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.harvey_plafond",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777111973'",
|
|
"automation": "- id: '1733777111973'\n alias: Slaapkamer Lily IKEA Remote\n description: Bedien de verlichting met de IKEA Remote.\n triggers:\n - event_type: zha_event\n event_data:\n device_id: 10059a40954f471f8c4328ce1ec10c44\n trigger: event\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"toggle\" }}'\n sequence:\n - target:\n entity_id: light.lily\n action: light.toggle\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_to_level_with_on_off\"\n }}'\n sequence:\n - target:\n entity_id: light.lily\n data:\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step_with_on_off\" }}'\n sequence:\n - target:\n entity_id: light.lily\n data:\n brightness_step_pct: 20\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_with_on_off\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.lily\n data:\n brightness_step_pct: 10\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step\" }}'\n sequence:\n - target:\n entity_id: light.lily\n data:\n brightness_step_pct: -20\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.lily\n data:\n brightness_step_pct: -10\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [256,13,0] }}'\n sequence:\n - target:\n entity_id: light.lily\n data:\n hs_color:\n - \"{% if state_attr(var, \\\"hs_color\\\")[0] + 18 > 360 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 - 360 }}\\n{% else %}\\n {{ state_attr(var, \\\"\\\n hs_color\\\")[0] + 18 }}\\n{% endif %}\"\n - '{{ state_attr(var, \"hs_color\")[1] }}'\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3328,0] }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.lily\n data:\n hs_color:\n - \"{% if state_attr(var, \\\"hs_color\\\")[0] + 18 > 360 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 - 360 }}\\n{% else %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 }}\\n{% endif %}\"\n - '{{ state_attr(var, \"hs_color\")[1] }}'\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [257,13,0] }}'\n sequence:\n - target:\n entity_id: light.lily\n data:\n hs_color:\n - '{{ state_attr(var, \"hs_color\")[0] }}'\n - \"{% if state_attr(var, \\\"hs_color\\\")[1] - 20 < 0 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 20 + 100 }}\\n{% else %}\\n {{ state_attr(var, \\\"\\\n hs_color\\\")[1] - 20 }}\\n{% endif %}\"\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3329,0] }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.lily\n data:\n hs_color:\n - '{{ state_attr(var, \"hs_color\")[0] }}'\n - \"{% if state_attr(var, \\\"hs_color\\\")[1] - 10 < 0 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 10 + 100 }}\\n{% else %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 10 }}\\n{% endif %}\"\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n default: []\n mode: restart\n max_exceeded: silent\n variables:\n var: light.lily\n var_speed: 300",
|
|
"config": [
|
|
{
|
|
"name": "IKEA Lily remote device",
|
|
"room": "lily",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "10059a40954f471f8c4328ce1ec10c44"
|
|
}
|
|
},
|
|
{
|
|
"name": "Lily light",
|
|
"room": "lily",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lily",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777146578'",
|
|
"automation": "- id: '1733777146578'\n alias: Slaapkamer Lily Schakelaar\n description: Zet het licht in de slaapkamer van Lily aan/uit wanneer de schakelaar\n wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.slaapkamer_lily_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.lily_plafond\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Lily light",
|
|
"room": "lily",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lily",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer Lily switch",
|
|
"room": "lily",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.slaapkamer_lily_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lily plafond light",
|
|
"room": "lily",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lily_plafond",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777175463'",
|
|
"automation": "- id: '1733777175463'\n alias: Slaapkamer Olivia IKEA Remote\n description: Bedien de verlichting met de IKEA Remote.\n triggers:\n - event_type: zha_event\n event_data:\n device_id: d2bc21bc89904851a76366dc3f2653ae\n trigger: event\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"toggle\" }}'\n sequence:\n - target:\n entity_id: light.olivia\n action: light.toggle\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_to_level_with_on_off\"\n }}'\n sequence:\n - target:\n entity_id: light.olivia\n data:\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step_with_on_off\" }}'\n sequence:\n - target:\n entity_id: light.olivia\n data:\n brightness_step_pct: 20\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move_with_on_off\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.olivia\n data:\n brightness_step_pct: 10\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"step\" }}'\n sequence:\n - target:\n entity_id: light.olivia\n data:\n brightness_step_pct: -20\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"move\" }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.olivia\n data:\n brightness_step_pct: -10\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [256,13,0] }}'\n sequence:\n - target:\n entity_id: light.olivia\n data:\n hs_color:\n - \"{% if state_attr(var, \\\"hs_color\\\")[0] + 18 > 360 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 - 360 }}\\n{% else %}\\n {{ state_attr(var, \\\"\\\n hs_color\\\")[0] + 18 }}\\n{% endif %}\"\n - '{{ state_attr(var, \"hs_color\")[1] }}'\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3328,0] }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.olivia\n data:\n hs_color:\n - \"{% if state_attr(var, \\\"hs_color\\\")[0] + 18 > 360 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 - 360 }}\\n{% else %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[0] + 18 }}\\n{% endif %}\"\n - '{{ state_attr(var, \"hs_color\")[1] }}'\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"press\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [257,13,0] }}'\n sequence:\n - target:\n entity_id: light.olivia\n data:\n hs_color:\n - '{{ state_attr(var, \"hs_color\")[0] }}'\n - \"{% if state_attr(var, \\\"hs_color\\\")[1] - 20 < 0 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 20 + 100 }}\\n{% else %}\\n {{ state_attr(var, \\\"\\\n hs_color\\\")[1] - 20 }}\\n{% endif %}\"\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - conditions:\n - condition: template\n value_template: '{{ trigger.event.data.command == \"hold\" }}'\n - condition: template\n value_template: '{{ trigger.event.data.args == [3329,0] }}'\n sequence:\n - repeat:\n while: []\n sequence:\n - target:\n entity_id: light.olivia\n data:\n hs_color:\n - '{{ state_attr(var, \"hs_color\")[0] }}'\n - \"{% if state_attr(var, \\\"hs_color\\\")[1] - 10 < 0 %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 10 + 100 }}\\n{% else %}\\n {{ state_attr(var,\\\n \\ \\\"hs_color\\\")[1] - 10 }}\\n{% endif %}\"\n transition: '{{ (var_speed / 1000)|float }}'\n action: light.turn_on\n - delay:\n milliseconds: 300\n default: []\n mode: restart\n max_exceeded: silent\n variables:\n var: light.olivia\n var_speed: 300",
|
|
"config": [
|
|
{
|
|
"name": "IKEA Olivia remote device",
|
|
"room": "olivia",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "d2bc21bc89904851a76366dc3f2653ae"
|
|
}
|
|
},
|
|
{
|
|
"name": "Olivia light",
|
|
"room": "olivia",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.olivia",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777200549'",
|
|
"automation": "- id: '1733777200549'\n alias: Slaapkamer Olivia Schakelaar\n description: Zet het licht in de slaapkamer van Olivia aan/uit wanneer de schakelaar\n wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.slaapkamer_olivia_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.olivia_plafond\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Olivia light",
|
|
"room": "olivia",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.olivia",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Slaapkamer Olivia switch",
|
|
"room": "olivia",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.slaapkamer_olivia_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Olivia plafond light",
|
|
"room": "olivia",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.olivia_plafond",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777249293'",
|
|
"automation": "- id: '1733777249293'\n alias: ESPHome Update All\n description: Update all ESP Home devices automatically.\n triggers:\n - at: 04:00:00\n trigger: time\n conditions: []\n actions:\n - target:\n entity_id: '{{ states.update | selectattr(''state'', ''eq'', ''on'') | map(attribute=''entity_id'')\n | select(''in'', integration_entities(''esphome'')) | list }}'\n action: update.install\n mode: single\n max_exceeded: silent",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1733777262551'",
|
|
"automation": "- id: '1733777262551'\n alias: Tado Add gas reading\n description: Add gas consumption to Tado\n triggers:\n - at: 00:00:00\n trigger: time\n conditions: []\n actions:\n - data:\n config_entry: ef2e84b3dfc0aee85ed44ac8e8038ccf\n reading: '{{ states(''sensor.gas_consumption'') | int }}'\n action: tado.add_meter_reading\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Gas consumption sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.gas_consumption",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777278503'",
|
|
"automation": "- id: '1733777278503'\n alias: Toilet Verlichting\n description: Zet de toilet verlichting aan/uit wanneer er beweging wordt gedetecteerd.\n triggers:\n - entity_id: binary_sensor.toilet_motion\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.toilet_motion\n state: 'on'\n sequence:\n - data:\n entity_id: light.toilet\n action: light.turn_on\n default:\n - data:\n entity_id: light.toilet\n action: light.turn_off\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Toilet motion sensor",
|
|
"room": "toilet",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.toilet_motion",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Toilet light",
|
|
"room": "toilet",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.toilet",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733777303411'",
|
|
"automation": "- id: '1733777303411'\n alias: Woonkamer Schakelaar\n description: Zet het licht in de woonkamer aan/uit wanneer de schakelaar wordt geschakeld.\n triggers:\n - entity_id: binary_sensor.woonkamer_switch\n from:\n - 'on'\n - 'off'\n to:\n - 'off'\n - 'on'\n trigger: state\n conditions: []\n actions:\n - data:\n entity_id: light.woonkamer\n brightness: 254\n hs_color:\n - 38.222\n - 52.941\n action: light.toggle\n mode: single\n max_exceeded: silent",
|
|
"config": [
|
|
{
|
|
"name": "Woonkamer switch",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.woonkamer_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Woonkamer light",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.woonkamer",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1734813107840'",
|
|
"automation": "- id: '1734813107840'\n alias: Verwarming Kinderen\n description: Zet verwarming aan en uit op basis van agenda\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.kinderen_papa\n conditions: []\n actions:\n - choose:\n - conditions:\n - alias: Kinderen niet Thuis\n condition: state\n entity_id: binary_sensor.kinderen_papa\n state: 'off'\n sequence:\n - alias: Zet verwarming uit\n action: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: 'off'\n target:\n entity_id:\n - climate.lily\n - climate.olivia\n - climate.harvey\n alias: Verwarming uit als kinderen niet thuis zijn\n default:\n - action: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: auto\n target:\n entity_id:\n - climate.lily\n - climate.olivia\n - climate.harvey\n alias: Verwarming op Auto (volgens schema)\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Kinderen papa binary sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kinderen_papa",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lily climate",
|
|
"room": "lily",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.lily",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Olivia climate",
|
|
"room": "olivia",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.olivia",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Harvey climate",
|
|
"room": "harvey",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.harvey",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735727448720'",
|
|
"automation": "- id: '1735727448720'\n alias: Deurbel\n description: Er wordt aangebeld\n triggers:\n - trigger: state\n entity_id:\n - event.deurbel_ding\n not_from: unavailable\n not_to: unavailable\n conditions: []\n actions:\n - alias: Send actionable notification\n action: notify.mobile_app_nimbus_2000\n data:\n title: Deurbel\n message: Er is iemand bij de voordeur\n data:\n url: /lovelace/deurbel\n push:\n sound:\n name: Alert_1stParty_Haptic.caf\n critical: 1\n volume: 1\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "Mobile app notification",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_nimbus_2000",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Deurbel ding event",
|
|
"room": "front_door",
|
|
"type": "event",
|
|
"id": {
|
|
"entity_id": "event.deurbel_ding",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |