AutomationDataset/DKFrederik/description-ready.json

1843 lines
87 KiB
JSON

[
{
"id": "'1697148849415'",
"automation": "- id: '1697148849415'\n alias: Trine er kommet hjem - Frederik\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.trine_haase_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_frederik_iphone_15_pro\n data:\n message: Trine er kommet hjem",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Frederik iPhone 15 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_frederik_iphone_15_pro",
"device_id": null
}
}
]
},
{
"id": "'1697148849515'",
"automation": "- id: '1697148849515'\n alias: Trine er kommet hjem - Sophie\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.trine_haase_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_sophie_iphone\n data:\n message: Mor er kommet hjem",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Sophie iPhone",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_sophie_iphone",
"device_id": null
}
}
]
},
{
"id": "'1697148849615'",
"automation": "- id: '1697148849615'\n alias: Trine er kommet hjem - Victoria\n description: ''\n triggers:\n - entity_id:\n - person.trine_haase_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_victoria_telefon\n data:\n message: Mor er kommet hjem",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Victoria Telefon",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_victoria_telefon",
"device_id": null
}
}
]
},
{
"id": "'1697148849715'",
"automation": "- id: '1697148849715'\n alias: Trine er kommet hjem - Tristan\n description: ''\n triggers:\n - entity_id:\n - person.trine_haase_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_tristan_iphone_13_ny\n data:\n message: Mor er kommet hjem",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Tristan iPhone 13",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_tristan_iphone_13_ny",
"device_id": null
}
}
]
},
{
"id": "'2697148849715'",
"automation": "- id: '2697148849715'\n alias: Frederik er kommet hjem - Frederik\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.frederik_kristian_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_frederik_iphone_15_pro\n data:\n message: Jeg er kommet hjem",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Frederik iPhone 15 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_frederik_iphone_15_pro",
"device_id": null
}
}
]
},
{
"id": "'2697148849615'",
"automation": "- id: '2697148849615'\n alias: Frederik er kommet hjem - Victoria\n description: ''\n triggers:\n - entity_id:\n - person.frederik_kristian_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_victoria_telefon\n data:\n message: Far er kommet hjem",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Victoria Telefon",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_victoria_telefon",
"device_id": null
}
}
]
},
{
"id": "'2697148849515'",
"automation": "- id: '2697148849515'\n alias: Frederik er kommet hjem - Tristan\n description: ''\n triggers:\n - entity_id:\n - person.frederik_kristian_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_tristan_iphone_13_ny\n data:\n message: Far er kommet hjem",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Tristan iPhone 13",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_tristan_iphone_13_ny",
"device_id": null
}
}
]
},
{
"id": "'2697148849415'",
"automation": "- id: '2697148849415'\n alias: Frederik er kommet hjem - Trine\n description: ''\n triggers:\n - entity_id:\n - person.frederik_kristian_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_trine_iphone_14_pro\n data:\n message: Frederik er kommet hjem",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Trine iPhone 14 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_trine_iphone_14_pro",
"device_id": null
}
}
]
},
{
"id": "'26971488489515'",
"automation": "- id: '26971488489515'\n alias: Frederik er kommet hjem - Sophie\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.frederik_kristian_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_sophie_iphone\n data:\n message: Far er kommet hjem",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Sophie iPhone",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_sophie_iphone",
"device_id": null
}
}
]
},
{
"id": "'3697148849415'",
"automation": "- id: '3697148849415'\n alias: Sophie er kommet hjem - Frederik\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.sophie_haase_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_frederik_iphone_15_pro\n data:\n message: Sophie er kommet hjem",
"config": [
{
"name": "Sophie Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.sophie_haase_pedersen",
"device_id": null
}
},
{
"name": "Frederik iPhone 15 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_frederik_iphone_15_pro",
"device_id": null
}
}
]
},
{
"id": "'3697148849515'",
"automation": "- id: '3697148849515'\n alias: Sophie er kommet hjem - Trine\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.sophie_haase_pedersen\n from: not_home\n to: home\n action:\n - action: notify.mobile_app_trine_iphone_14_pro\n data:\n message: Sophie er kommet hjem",
"config": [
{
"name": "Sophie Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.sophie_haase_pedersen",
"device_id": null
}
},
{
"name": "Trine iPhone 14 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_trine_iphone_14_pro",
"device_id": null
}
}
]
},
{
"id": "'3697148849615'",
"automation": "- id: '3697148849615'\n alias: Sophie er kommet hjem - Victoria\n description: ''\n triggers:\n - entity_id:\n - person.sophie_haase_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_victoria_telefon\n data:\n message: Sophe er kommet hjem",
"config": [
{
"name": "Sophie Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.sophie_haase_pedersen",
"device_id": null
}
},
{
"name": "Victoria Telefon",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_victoria_telefon",
"device_id": null
}
}
]
},
{
"id": "'3697148849715'",
"automation": "- id: '3697148849715'\n alias: Sophie er kommet hjem - Tristan\n description: ''\n triggers:\n - entity_id:\n - person.sophie_haase_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_tristan_iphone_13_ny\n data:\n message: Sophie er kommet hjem",
"config": [
{
"name": "Sophie Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.sophie_haase_pedersen",
"device_id": null
}
},
{
"name": "Tristan iPhone 13",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_tristan_iphone_13_ny",
"device_id": null
}
}
]
},
{
"id": "'4697148849415'",
"automation": "- id: '4697148849415'\n alias: Victoria er kommet hjem - Frederik\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.victoria_haase_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_frederik_iphone_15_pro\n data:\n message: Victoria er kommet hjem",
"config": [
{
"name": "Victoria Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.victoria_haase_pedersen",
"device_id": null
}
},
{
"name": "Frederik iPhone 15 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_frederik_iphone_15_pro",
"device_id": null
}
}
]
},
{
"id": "'4697148849515'",
"automation": "- id: '4697148849515'\n alias: Victoria er kommet hjem - Trine\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.victoria_haase_pedersen\n from: not_home\n to: home\n action:\n - action: notify.mobile_app_trine_iphone_14_pro\n data:\n message: Victoria er kommet hjem",
"config": [
{
"name": "Victoria Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.victoria_haase_pedersen",
"device_id": null
}
},
{
"name": "Trine iPhone 14 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_trine_iphone_14_pro",
"device_id": null
}
}
]
},
{
"id": "'4697148849615'",
"automation": "- id: '4697148849615'\n alias: Victoria er kommet hjem - Sophie\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.victoria_haase_pedersen\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_sophie_iphone\n data:\n message: Victoria er kommet hjem",
"config": [
{
"name": "Victoria Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.victoria_haase_pedersen",
"device_id": null
}
},
{
"name": "Sophie iPhone",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_sophie_iphone",
"device_id": null
}
}
]
},
{
"id": "'4697148849715'",
"automation": "- id: '4697148849715'\n alias: Victoria er kommet hjem - Tristan\n description: ''\n triggers:\n - entity_id:\n - person.victoria_haase_pedersen\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_tristan_iphone_13_ny\n data:\n message: Victoria er kommet hjem",
"config": [
{
"name": "Victoria Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.victoria_haase_pedersen",
"device_id": null
}
},
{
"name": "Tristan iPhone 13",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_tristan_iphone_13_ny",
"device_id": null
}
}
]
},
{
"id": "'5697148849415'",
"automation": "- id: '5697148849415'\n alias: Tristan er kommet hjem - Frederik\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.tristan\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_frederik_iphone_15_pro\n data:\n message: Tristan er kommet hjem",
"config": [
{
"name": "Tristan",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tristan",
"device_id": null
}
},
{
"name": "Frederik iPhone 15 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_frederik_iphone_15_pro",
"device_id": null
}
}
]
},
{
"id": "'5697148849515'",
"automation": "- id: '5697148849515'\n alias: Tristan er kommet hjem - Trine\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.tristan\n from: not_home\n to: home\n action:\n - action: notify.mobile_app_trine_iphone_14_pro\n data:\n message: Tristan er kommet hjem",
"config": [
{
"name": "Tristan",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tristan",
"device_id": null
}
},
{
"name": "Trine iPhone 14 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_trine_iphone_14_pro",
"device_id": null
}
}
]
},
{
"id": "'5697148849615'",
"automation": "- id: '5697148849615'\n alias: Tristan er kommet hjem - Sophie\n description: ''\n trigger:\n - platform: state\n entity_id:\n - person.tristan\n from: not_home\n to: home\n action:\n - service: notify.mobile_app_sophie_iphone\n data:\n message: Tristan er kommet hjem",
"config": [
{
"name": "Tristan",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tristan",
"device_id": null
}
},
{
"name": "Sophie iPhone",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_sophie_iphone",
"device_id": null
}
}
]
},
{
"id": "'5697148849715'",
"automation": "- id: '5697148849715'\n alias: Tristan er kommet hjem - Victoria\n description: ''\n triggers:\n - entity_id:\n - person.tristan\n from: not_home\n to: home\n trigger: state\n actions:\n - action: notify.mobile_app_victoria_telefon\n data:\n message: Tristan er kommet hjem",
"config": [
{
"name": "Tristan",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tristan",
"device_id": null
}
},
{
"name": "Victoria Telefon",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_victoria_telefon",
"device_id": null
}
}
]
},
{
"id": "'1721776282506'",
"automation": "- id: '1721776282506'\n alias: Sophie er kommet hjem TTS\n description: ''\n trigger:\n - platform: zone\n entity_id: device_tracker.sophie_iphone\n zone: zone.home\n event: enter\n condition: []\n action:\n - service: tts.cloud_say\n data:\n entity_id: media_player.aben_lukke\n message: Sophie er kommet hjem\n language: da-DK\n mode: single",
"config": [
{
"name": "Sophie iPhone Tracker",
"room": "home",
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.sophie_iphone",
"device_id": null
}
},
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
}
]
},
{
"id": "'1721777352759'",
"automation": "- id: '1721777352759'\n alias: Trine er kommet hjem TTS\n description: ''\n trigger:\n - platform: zone\n entity_id: person.trine_haase_pedersen\n zone: zone.home\n event: enter\n condition: []\n action:\n - service: tts.cloud_say\n data:\n entity_id: media_player.aben_lukke\n message: Mor er kommet hjem\n language: da-DK\n mode: single",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
}
]
},
{
"id": "'1721778388939'",
"automation": "- id: '1721778388939'\n alias: Victoria er kommet hjem TTS\n description: resume playing after TTS\n trigger:\n - platform: zone\n entity_id: person.victoria_haase_pedersen\n zone: zone.home\n event: enter\n condition: []\n action:\n - service: tts.cloud_say\n data:\n entity_id: media_player.aben_lukke\n message: Victoria er kommet hjem\n language: da-DK\n mode: single",
"config": [
{
"name": "Victoria Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.victoria_haase_pedersen",
"device_id": null
}
},
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
}
]
},
{
"id": "'1721778520182'",
"automation": "- id: '1721778520182'\n alias: Tristan er kommet hjem TTS\n description: Resume playing after TTS\n trigger:\n - platform: zone\n entity_id: person.tristan\n zone: zone.home\n event: enter\n condition: []\n action:\n - service: tts.cloud_say\n data:\n entity_id: media_player.aben_lukke\n message: Tristan er kommet hjem\n language: da-DK\n mode: single",
"config": [
{
"name": "Tristan",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tristan",
"device_id": null
}
},
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
}
]
},
{
"id": "'1721778585916'",
"automation": "- id: '1721778585916'\n alias: Frederik er kommet hjem TTS\n description: Resume playing after TTS\n trigger:\n - platform: zone\n entity_id: person.frederik_kristian_pedersen\n zone: zone.home\n event: enter\n condition: []\n action:\n - service: tts.cloud_say\n data:\n entity_id: media_player.aben_lukke\n message: Far er kommet hjem\n language: da-DK\n mode: single",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
}
]
},
{
"id": "'1721779415086'",
"automation": "- id: '1721779415086'\n alias: 'Bryggers døren er blevet åbnet '\n description: resume playing after TTS\n triggers:\n - type: opened\n device_id: bd8ab77921a34425041ae4cef5632ec4\n entity_id: 3f44441253de2330a9ee51f89655ff06\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - metadata: {}\n data:\n cache: true\n entity_id: media_player.aben_lukke\n message: Bryggersdøren er blevet åbnet\n language: da-DK\n action: tts.cloud_say\n mode: single",
"config": [
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Bryggers Door Sensor",
"room": "utility_room",
"type": "binary_sensor",
"id": {
"entity_id": "3f44441253de2330a9ee51f89655ff06",
"device_id": "bd8ab77921a34425041ae4cef5632ec4"
}
}
]
},
{
"id": "'1722303039761'",
"automation": "- id: '1722303039761'\n alias: Frederik Husk at købe\n description: ''\n trigger:\n - platform: zone\n entity_id: person.frederik_kristian_pedersen\n zone: zone.rema1000\n event: enter\n - platform: zone\n entity_id: person.frederik_kristian_pedersen\n zone: zone.fotex\n event: enter\n - platform: zone\n entity_id: person.frederik_kristian_pedersen\n zone: zone.coop_365_hasseris\n event: enter\n - platform: zone\n entity_id: person.frederik_kristian_pedersen\n zone: zone.handel_netto_hasseris\n event: enter\n condition: []\n action:\n - service: notify.mobile_app_frederik_iphone_15_pro\n metadata: {}\n data:\n message: Husk og købe disse vare\n title: Tryk her\n data:\n clickAction: /Huskelister\n url: /todo?entity_id=todo.indkobsliste\n mode: single",
"config": [
{
"name": "Frederik Kristian Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.frederik_kristian_pedersen",
"device_id": null
}
},
{
"name": "Frederik iPhone 15 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_frederik_iphone_15_pro",
"device_id": null
}
},
{
"name": "Rema 1000 Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.rema1000",
"device_id": null
}
},
{
"name": "Fotex Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.fotex",
"device_id": null
}
},
{
"name": "Coop 365 Hasseris Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.coop_365_hasseris",
"device_id": null
}
},
{
"name": "Netto Hasseris Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.handel_netto_hasseris",
"device_id": null
}
},
{
"name": "Indkøbsliste Todo",
"room": "home",
"type": "todo",
"id": {
"entity_id": "todo.indkobsliste",
"device_id": null
}
}
]
},
{
"id": "'1722303277292'",
"automation": "- id: '1722303277292'\n alias: Trine Husk at købe\n description: ''\n trigger:\n - platform: zone\n entity_id: person.trine_haase_pedersen\n zone: zone.rema1000\n event: enter\n condition: []\n action:\n - action: notify.mobile_app_trine_iphone_14_pro\n data:\n data:\n clickAction: /Huskelister\n url: /todo?entity_id=todo.indkobsliste\n title: Tryk her\n message: Husk og købe disse vare\n mode: single",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Trine iPhone 14 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_trine_iphone_14_pro",
"device_id": null
}
},
{
"name": "Rema 1000 Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.rema1000",
"device_id": null
}
},
{
"name": "Indkøbsliste Todo",
"room": "home",
"type": "todo",
"id": {
"entity_id": "todo.indkobsliste",
"device_id": null
}
}
]
},
{
"id": "'1722349301296'",
"automation": "- id: '1722349301296'\n alias: 'Trine - Husk at købe '\n description: ''\n trigger:\n - platform: zone\n entity_id: person.trine_haase_pedersen\n zone: zone.rema1000\n event: enter\n - platform: zone\n entity_id: person.trine_haase_pedersen\n zone: zone.fotex\n event: enter\n - platform: zone\n entity_id: person.trine_haase_pedersen\n zone: zone.coop_365_hasseris\n event: enter\n - platform: zone\n entity_id: person.trine_haase_pedersen\n zone: zone.handel_netto_hasseris\n event: enter\n condition: []\n action:\n - action: notify.mobile_app_trine_iphone_14_pro\n data:\n data:\n clickAction: /Huskelister\n url: /todo?entity_id=todo.indkobsliste\n message: Husk og købe disse vare\n title: Tryk her\n mode: single",
"config": [
{
"name": "Trine Haase Pedersen",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.trine_haase_pedersen",
"device_id": null
}
},
{
"name": "Trine iPhone 14 Pro",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_trine_iphone_14_pro",
"device_id": null
}
},
{
"name": "Rema 1000 Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.rema1000",
"device_id": null
}
},
{
"name": "Fotex Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.fotex",
"device_id": null
}
},
{
"name": "Coop 365 Hasseris Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.coop_365_hasseris",
"device_id": null
}
},
{
"name": "Netto Hasseris Zone",
"room": "outside",
"type": "zone",
"id": {
"entity_id": "zone.handel_netto_hasseris",
"device_id": null
}
},
{
"name": "Indkøbsliste Todo",
"room": "home",
"type": "todo",
"id": {
"entity_id": "todo.indkobsliste",
"device_id": null
}
}
]
},
{
"id": "'1727648335717'",
"automation": "- id: '1727648335717'\n alias: Legestue - sluk TV efter kl 2200\n description: ''\n trigger:\n - platform: time\n at: '22:00:00'\n condition: []\n action:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n device_id: c9e17d5fef2b455565f01cf5cb1c3a72\n mode: single",
"config": [
{
"name": "Legestue TV Switch",
"room": "playroom",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "c9e17d5fef2b455565f01cf5cb1c3a72"
}
}
]
},
{
"id": "'1727648397425'",
"automation": "- id: '1727648397425'\n alias: Legestue - tænd TV efter kl 0600\n description: ''\n trigger:\n - platform: time\n at: 06:00:00\n condition: []\n action:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n device_id: c9e17d5fef2b455565f01cf5cb1c3a72\n mode: single",
"config": [
{
"name": "Legestue TV Switch",
"room": "playroom",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "c9e17d5fef2b455565f01cf5cb1c3a72"
}
}
]
},
{
"id": "'1734593887463'",
"automation": "- id: '1734593887463'\n alias: Kontor - vindue åben\n description: Luk Radiator når vinduet åbnes\n triggers:\n - type: opened\n device_id: 6685d2781c1b97e3227e8ddb4f0a9387\n entity_id: 723e8118874603457d5746b52aa633f1\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: 'off'\n target:\n device_id: 70031b73bebd812285d08297d6d4cd38\n mode: single",
"config": [
{
"name": "Kontor Window Sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "723e8118874603457d5746b52aa633f1",
"device_id": "6685d2781c1b97e3227e8ddb4f0a9387"
}
},
{
"name": "Kontor Radiator",
"room": "office",
"type": "climate",
"id": {
"entity_id": null,
"device_id": "70031b73bebd812285d08297d6d4cd38"
}
}
]
},
{
"id": "'1734593961335'",
"automation": "- id: '1734593961335'\n alias: Kontor - vindue lukket\n description: Sæt Radiator til auto når vinduet Lukkes\n triggers:\n - type: not_opened\n device_id: 6685d2781c1b97e3227e8ddb4f0a9387\n entity_id: 723e8118874603457d5746b52aa633f1\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: auto\n target:\n device_id: 70031b73bebd812285d08297d6d4cd38\n mode: single",
"config": [
{
"name": "Kontor Window Sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "723e8118874603457d5746b52aa633f1",
"device_id": "6685d2781c1b97e3227e8ddb4f0a9387"
}
},
{
"name": "Kontor Radiator",
"room": "office",
"type": "climate",
"id": {
"entity_id": null,
"device_id": "70031b73bebd812285d08297d6d4cd38"
}
}
]
},
{
"id": "'1734680525144'",
"automation": "- id: '1734680525144'\n alias: Kontor - remoteTest - sluk lys\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9d40a6d3b1d108acd0092f707f339bf0\n type: action\n subtype: arrow_right_click\n trigger: device\n conditions: []\n actions:\n - type: turn_off\n device_id: 6e65da499107f5e51b96b478fad69e86\n entity_id: 2cc18da8fb81e31ca785b2a140f2ea36\n domain: light\n - type: turn_off\n device_id: 56b3b560b189448e5adb7876b5ba6988\n entity_id: 9a6783159b65f0db65209a0b725a8280\n domain: light\n mode: single",
"config": [
{
"name": "Kontor Remote",
"room": "office",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "9d40a6d3b1d108acd0092f707f339bf0"
}
},
{
"name": "Kontor Light 1",
"room": "office",
"type": "light",
"id": {
"entity_id": "2cc18da8fb81e31ca785b2a140f2ea36",
"device_id": "6e65da499107f5e51b96b478fad69e86"
}
},
{
"name": "Kontor Light 2",
"room": "office",
"type": "light",
"id": {
"entity_id": "9a6783159b65f0db65209a0b725a8280",
"device_id": "56b3b560b189448e5adb7876b5ba6988"
}
}
]
},
{
"id": "'1734680554585'",
"automation": "- id: '1734680554585'\n alias: Kontor - remoteTest - Tænd lys\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9d40a6d3b1d108acd0092f707f339bf0\n type: action\n subtype: arrow_left_click\n trigger: device\n conditions: []\n actions:\n - type: turn_on\n device_id: 6e65da499107f5e51b96b478fad69e86\n entity_id: 2cc18da8fb81e31ca785b2a140f2ea36\n domain: light\n brightness_pct: 60\n - type: turn_on\n device_id: 56b3b560b189448e5adb7876b5ba6988\n entity_id: 9a6783159b65f0db65209a0b725a8280\n domain: light\n brightness_pct: 60\n mode: single",
"config": [
{
"name": "Kontor Remote",
"room": "office",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "9d40a6d3b1d108acd0092f707f339bf0"
}
},
{
"name": "Kontor Light 1",
"room": "office",
"type": "light",
"id": {
"entity_id": "2cc18da8fb81e31ca785b2a140f2ea36",
"device_id": "6e65da499107f5e51b96b478fad69e86"
}
},
{
"name": "Kontor Light 2",
"room": "office",
"type": "light",
"id": {
"entity_id": "9a6783159b65f0db65209a0b725a8280",
"device_id": "56b3b560b189448e5adb7876b5ba6988"
}
}
]
},
{
"id": "'1734680599895'",
"automation": "- id: '1734680599895'\n alias: Baghave - Tænd/sluk\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9d40a6d3b1d108acd0092f707f339bf0\n type: action\n subtype: brightness_up_click\n trigger: device\n conditions: []\n actions:\n - type: toggle\n device_id: b15e53728be37e4ae307509b4bbed905\n entity_id: ed48ca70f647f9eac01ebbefb009c1cd\n domain: switch\n mode: single",
"config": [
{
"name": "Kontor Remote",
"room": "office",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "9d40a6d3b1d108acd0092f707f339bf0"
}
},
{
"name": "Baghave Switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "ed48ca70f647f9eac01ebbefb009c1cd",
"device_id": "b15e53728be37e4ae307509b4bbed905"
}
}
]
},
{
"id": "'1734690378274'",
"automation": "- id: '1734690378274'\n alias: Legestue - Tænd lys hvis der er nogen i lokalet\n description: ''\n triggers:\n - type: occupied\n device_id: ba17a19135747d5845be2b562754905b\n entity_id: 322a2c0112b2f673c85db15150579961\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: light.turn_on\n metadata: {}\n data:\n brightness_pct: 60\n rgb_color:\n - 240\n - 178\n - 112\n target:\n entity_id:\n - light.legestue_light_legestue1\n - light.legestue_light_legestue2\n - light.legestue_light_legestue3\n mode: single",
"config": [
{
"name": "Legestue Occupancy Sensor",
"room": "playroom",
"type": "binary_sensor",
"id": {
"entity_id": "322a2c0112b2f673c85db15150579961",
"device_id": "ba17a19135747d5845be2b562754905b"
}
},
{
"name": "Legestue Light 1",
"room": "playroom",
"type": "light",
"id": {
"entity_id": "light.legestue_light_legestue1",
"device_id": null
}
},
{
"name": "Legestue Light 2",
"room": "playroom",
"type": "light",
"id": {
"entity_id": "light.legestue_light_legestue2",
"device_id": null
}
},
{
"name": "Legestue Light 3",
"room": "playroom",
"type": "light",
"id": {
"entity_id": "light.legestue_light_legestue3",
"device_id": null
}
}
]
},
{
"id": "'1734690419544'",
"automation": "- id: '1734690419544'\n alias: Legestue - Sluk lys hvis der ikke er nogen i lokalet\n description: ''\n triggers:\n - type: not_occupied\n device_id: ba17a19135747d5845be2b562754905b\n entity_id: 322a2c0112b2f673c85db15150579961\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.legestue_light_legestue1\n - light.legestue_light_legestue2\n - light.legestue_light_legestue3\n mode: single",
"config": [
{
"name": "Legestue Occupancy Sensor",
"room": "playroom",
"type": "binary_sensor",
"id": {
"entity_id": "322a2c0112b2f673c85db15150579961",
"device_id": "ba17a19135747d5845be2b562754905b"
}
},
{
"name": "Legestue Light 1",
"room": "playroom",
"type": "light",
"id": {
"entity_id": "light.legestue_light_legestue1",
"device_id": null
}
},
{
"name": "Legestue Light 2",
"room": "playroom",
"type": "light",
"id": {
"entity_id": "light.legestue_light_legestue2",
"device_id": null
}
},
{
"name": "Legestue Light 3",
"room": "playroom",
"type": "light",
"id": {
"entity_id": "light.legestue_light_legestue3",
"device_id": null
}
}
]
},
{
"id": "'1734786548210'",
"automation": "- id: '1734786548210'\n alias: 'Sophie - sophie2 - tænd/sluk/skru op og ned '\n description: ''\n use_blueprint:\n path: FloppyGit/tradfri_e1743_switch_to_light.yaml\n input:\n source_switch_e1743_action: sensor.sophie_remote_sophie2_action\n target_light:\n device_id: cac765242ce4b1a532fbc438cfa79097",
"config": [
{
"name": "Sophie Remote 2 Action",
"room": "sophie_room",
"type": "sensor",
"id": {
"entity_id": "sensor.sophie_remote_sophie2_action",
"device_id": null
}
},
{
"name": "Sophie Light",
"room": "sophie_room",
"type": "light",
"id": {
"entity_id": null,
"device_id": "cac765242ce4b1a532fbc438cfa79097"
}
}
]
},
{
"id": "'1734786980649'",
"automation": "- id: '1734786980649'\n alias: Sophie - sophie1 - tænd/sluk/skru op og ned\n description: ''\n use_blueprint:\n path: FloppyGit/tradfri_e1743_switch_to_light.yaml\n input:\n source_switch_e1743_action: sensor.sophie_remote_sophie1_action\n target_light:\n device_id: ba38ff9b156656877c62124304072f59",
"config": [
{
"name": "Sophie Remote 1 Action",
"room": "sophie_room",
"type": "sensor",
"id": {
"entity_id": "sensor.sophie_remote_sophie1_action",
"device_id": null
}
},
{
"name": "Sophie Light 2",
"room": "sophie_room",
"type": "light",
"id": {
"entity_id": null,
"device_id": "ba38ff9b156656877c62124304072f59"
}
}
]
},
{
"id": "'1734877370629'",
"automation": "- id: '1734877370629'\n alias: Kontor - Pressent - tænd lys\n description: Tænd lys når der er nogen\n triggers:\n - type: occupied\n device_id: d7d3bc79c625ac6be784158965c5efd7\n entity_id: 2716cd871347a641e9e3816c0a9e7867\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - choose:\n - conditions:\n - type: is_occupied\n condition: device\n device_id: d7d3bc79c625ac6be784158965c5efd7\n entity_id: 2716cd871347a641e9e3816c0a9e7867\n domain: binary_sensor\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n brightness: 178\n color_temp_kelvin: 330\n target:\n entity_id: light.kontor_group\n - conditions:\n - type: is_not_occupied\n condition: device\n device_id: d7d3bc79c625ac6be784158965c5efd7\n entity_id: 2716cd871347a641e9e3816c0a9e7867\n domain: binary_sensor\n for:\n hours: 0\n minutes: 0\n seconds: 0\n sequence:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.kontor_group\n mode: restart",
"config": [
{
"name": "Kontor Pressent Occupancy",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "2716cd871347a641e9e3816c0a9e7867",
"device_id": "d7d3bc79c625ac6be784158965c5efd7"
}
},
{
"name": "Kontor Group Light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.kontor_group",
"device_id": null
}
}
]
},
{
"id": "'1734879019552'",
"automation": "- id: '1734879019552'\n alias: Stue - Tænd lille lampe sammen med sofa lys\n description: ''\n triggers:\n - type: turned_on\n device_id: 30f2b71db2fe6de49f43c9b48e67b429\n entity_id: 7861d4d4869e92f5bc28e46e9f2a5ef1\n domain: light\n trigger: device\n conditions: []\n actions:\n - type: turn_on\n device_id: 97fa7024552e0b30df6473be1129dadd\n entity_id: 62a0859166b131d5a113460522ec7cf4\n domain: switch\n mode: single",
"config": [
{
"name": "Stue Sofa Light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "7861d4d4869e92f5bc28e46e9f2a5ef1",
"device_id": "30f2b71db2fe6de49f43c9b48e67b429"
}
},
{
"name": "Stue Lille Lampe Switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "62a0859166b131d5a113460522ec7cf4",
"device_id": "97fa7024552e0b30df6473be1129dadd"
}
}
]
},
{
"id": "'1734879050796'",
"automation": "- id: '1734879050796'\n alias: Stue - Sluk lille lampe sammen med sofa lys\n description: ''\n triggers:\n - type: turned_off\n device_id: 30f2b71db2fe6de49f43c9b48e67b429\n entity_id: 7861d4d4869e92f5bc28e46e9f2a5ef1\n domain: light\n trigger: device\n conditions: []\n actions:\n - type: turn_off\n device_id: 97fa7024552e0b30df6473be1129dadd\n entity_id: 62a0859166b131d5a113460522ec7cf4\n domain: switch\n mode: single",
"config": [
{
"name": "Stue Sofa Light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "7861d4d4869e92f5bc28e46e9f2a5ef1",
"device_id": "30f2b71db2fe6de49f43c9b48e67b429"
}
},
{
"name": "Stue Lille Lampe Switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "62a0859166b131d5a113460522ec7cf4",
"device_id": "97fa7024552e0b30df6473be1129dadd"
}
}
]
},
{
"id": "'1735041774519'",
"automation": "- id: '1735041774519'\n alias: Køkken - spisebord - Tænd/Sluk\n description: ''\n triggers:\n - domain: mqtt\n device_id: cca2de2ff5712542389ae97e7981890f\n type: action\n subtype: toggle\n trigger: device\n conditions: []\n actions:\n - type: toggle\n device_id: 243903f9e038dfd0ab9f4ec61e625371\n entity_id: 234477e1b5a8be1a9723a99896d7dbb9\n domain: light\n mode: single",
"config": [
{
"name": "Køkken Spisebord Remote",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "cca2de2ff5712542389ae97e7981890f"
}
},
{
"name": "Køkken Spisebord Light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "234477e1b5a8be1a9723a99896d7dbb9",
"device_id": "243903f9e038dfd0ab9f4ec61e625371"
}
}
]
},
{
"id": "'1735175315574'",
"automation": "- id: '1735175315574'\n alias: Kontor - remoteTest -Skru op\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9d40a6d3b1d108acd0092f707f339bf0\n type: action\n subtype: arrow_left_hold\n trigger: device\n conditions: []\n actions:\n - device_id: 6e65da499107f5e51b96b478fad69e86\n domain: light\n entity_id: 2cc18da8fb81e31ca785b2a140f2ea36\n type: brightness_increase\n - device_id: 56b3b560b189448e5adb7876b5ba6988\n domain: light\n entity_id: 9a6783159b65f0db65209a0b725a8280\n type: brightness_increase\n mode: single",
"config": [
{
"name": "Kontor Remote",
"room": "office",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "9d40a6d3b1d108acd0092f707f339bf0"
}
},
{
"name": "Kontor Light 1",
"room": "office",
"type": "light",
"id": {
"entity_id": "2cc18da8fb81e31ca785b2a140f2ea36",
"device_id": "6e65da499107f5e51b96b478fad69e86"
}
},
{
"name": "Kontor Light 2",
"room": "office",
"type": "light",
"id": {
"entity_id": "9a6783159b65f0db65209a0b725a8280",
"device_id": "56b3b560b189448e5adb7876b5ba6988"
}
}
]
},
{
"id": "'1735175377719'",
"automation": "- id: '1735175377719'\n alias: Kontor - remoteTest - Skru ned\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9d40a6d3b1d108acd0092f707f339bf0\n type: action\n subtype: arrow_right_hold\n trigger: device\n conditions: []\n actions:\n - device_id: 6e65da499107f5e51b96b478fad69e86\n domain: light\n entity_id: 2cc18da8fb81e31ca785b2a140f2ea36\n type: brightness_decrease\n - device_id: 56b3b560b189448e5adb7876b5ba6988\n domain: light\n entity_id: 9a6783159b65f0db65209a0b725a8280\n type: brightness_decrease\n mode: single",
"config": [
{
"name": "Kontor Remote",
"room": "office",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "9d40a6d3b1d108acd0092f707f339bf0"
}
},
{
"name": "Kontor Light 1",
"room": "office",
"type": "light",
"id": {
"entity_id": "2cc18da8fb81e31ca785b2a140f2ea36",
"device_id": "6e65da499107f5e51b96b478fad69e86"
}
},
{
"name": "Kontor Light 2",
"room": "office",
"type": "light",
"id": {
"entity_id": "9a6783159b65f0db65209a0b725a8280",
"device_id": "56b3b560b189448e5adb7876b5ba6988"
}
}
]
},
{
"id": "'1735176310831'",
"automation": "- id: '1735176310831'\n alias: Stue - Stor terrassedør åbnet TTS\n description: ''\n triggers:\n - type: opened\n device_id: ff9ef66b6ff1a955792a0ba960b28004\n entity_id: 6094e2542e284055babcfca715c253b4\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: tts.cloud_say\n metadata: {}\n data:\n cache: false\n entity_id: media_player.aben_lukke\n message: Terrassedøren i stuen er blevet åbnet\n language: da-DK\n mode: single",
"config": [
{
"name": "Aben Lukke Media Player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.aben_lukke",
"device_id": null
}
},
{
"name": "Stue Terrassedør Sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "6094e2542e284055babcfca715c253b4",
"device_id": "ff9ef66b6ff1a955792a0ba960b28004"
}
}
]
},
{
"id": "'1735876650796'",
"automation": "- id: '1735876650796'\n alias: Soveværelse - luk vindue\n description: Sæt Radiator til auto når vinduet Lukkes\n triggers:\n - type: not_opened\n device_id: 68272f2d2bd9c290a6ea9d41e706d4c9\n entity_id: e47308fd3f35b9d3291a8bd8a0bfd504\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: auto\n target:\n device_id:\n - 547da8a34695f82651d4b68935710d1d\n mode: single",
"config": [
{
"name": "Soveværelse Window Sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "e47308fd3f35b9d3291a8bd8a0bfd504",
"device_id": "68272f2d2bd9c290a6ea9d41e706d4c9"
}
},
{
"name": "Soveværelse Radiator",
"room": "bedroom",
"type": "climate",
"id": {
"entity_id": null,
"device_id": "547da8a34695f82651d4b68935710d1d"
}
}
]
},
{
"id": "'1735876690141'",
"automation": "- id: '1735876690141'\n alias: Soveværelse - åben vindue\n description: Luk Radiator når vinduet åbnes\n triggers:\n - type: opened\n device_id: 68272f2d2bd9c290a6ea9d41e706d4c9\n entity_id: e47308fd3f35b9d3291a8bd8a0bfd504\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - action: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: 'off'\n target:\n device_id:\n - 547da8a34695f82651d4b68935710d1d\n mode: single",
"config": [
{
"name": "Soveværelse Window Sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "e47308fd3f35b9d3291a8bd8a0bfd504",
"device_id": "68272f2d2bd9c290a6ea9d41e706d4c9"
}
},
{
"name": "Soveværelse Radiator",
"room": "bedroom",
"type": "climate",
"id": {
"entity_id": null,
"device_id": "547da8a34695f82651d4b68935710d1d"
}
}
]
},
{
"id": "'1740491821573'",
"automation": "- id: '1740491821573'\n alias: 'victoria turn off heating in victorias room '\n description: 'turn off heating in victorias room if window opens '\n triggers:\n - type: opened\n device_id: dc284837aff71d8b81a288d17962d9a5\n entity_id: 922b17a39254b79f7e7773e61c86e3f1\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - data: {}\n action: climate.turn_off\n target:\n device_id: f3fbaf154948921904985aa4c21f2a6b\n mode: single",
"config": [
{
"name": "Victoria Window Sensor",
"room": "victoria_room",
"type": "binary_sensor",
"id": {
"entity_id": "922b17a39254b79f7e7773e61c86e3f1",
"device_id": "dc284837aff71d8b81a288d17962d9a5"
}
},
{
"name": "Victoria Radiator",
"room": "victoria_room",
"type": "climate",
"id": {
"entity_id": null,
"device_id": "f3fbaf154948921904985aa4c21f2a6b"
}
}
]
},
{
"id": "'1740491914825'",
"automation": "- id: '1740491914825'\n alias: victoria turn on heating in victorias room\n description: turn off heating in victorias room when window closes\n triggers:\n - type: not_opened\n device_id: dc284837aff71d8b81a288d17962d9a5\n entity_id: 922b17a39254b79f7e7773e61c86e3f1\n domain: binary_sensor\n trigger: device\n conditions: []\n actions:\n - data:\n hvac_mode: auto\n action: climate.set_hvac_mode\n target:\n device_id: f3fbaf154948921904985aa4c21f2a6b\n mode: single",
"config": [
{
"name": "Victoria Window Sensor",
"room": "victoria_room",
"type": "binary_sensor",
"id": {
"entity_id": "922b17a39254b79f7e7773e61c86e3f1",
"device_id": "dc284837aff71d8b81a288d17962d9a5"
}
},
{
"name": "Victoria Radiator",
"room": "victoria_room",
"type": "climate",
"id": {
"entity_id": null,
"device_id": "f3fbaf154948921904985aa4c21f2a6b"
}
}
]
},
{
"id": "'1742283043468'",
"automation": "- id: '1742283043468'\n alias: Kontor - Pressent - sluk lys\n description: ''\n triggers:\n - type: not_occupied\n device_id: d7d3bc79c625ac6be784158965c5efd7\n entity_id: 2716cd871347a641e9e3816c0a9e7867\n domain: binary_sensor\n trigger: device\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions: []\n actions:\n - type: turn_off\n device_id: f847031db1854dfff2c4dec16259a6ad\n entity_id: 9a7ccb3f347f15e3d7b956a8daeaae77\n domain: switch\n mode: single",
"config": [
{
"name": "Kontor Pressent Occupancy",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "2716cd871347a641e9e3816c0a9e7867",
"device_id": "d7d3bc79c625ac6be784158965c5efd7"
}
},
{
"name": "Kontor Pressent Switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "9a7ccb3f347f15e3d7b956a8daeaae77",
"device_id": "f847031db1854dfff2c4dec16259a6ad"
}
}
]
},
{
"id": "garage_sluk",
"automation": "- alias: Garage sluk\n id: garage_sluk\n trigger:\n platform: sun\n event: sunrise\n offset: +00:30:00\n action:\n service: light.turn_off\n entity_id:\n - light.garage_light_garage1\n - light.garage_light_garage2",
"config": [
{
"name": "Garage Light 1",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light_garage1",
"device_id": null
}
},
{
"name": "Garage Light 2",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light_garage2",
"device_id": null
}
}
]
},
{
"id": "garage_tænd",
"automation": "- alias: Garage tænd\n id: garage_tænd\n trigger:\n platform: sun\n event: sunset\n offset: -00:30:00\n action:\n service: scene.turn_on\n entity_id: scene.GarageNat",
"config": [
{
"name": "Garage Nat Scene",
"room": "garage",
"type": "scene",
"id": {
"entity_id": "scene.GarageNat",
"device_id": null
}
}
]
},
{
"id": "Garage_when_closing_door",
"automation": "- alias: Garage when closing door\n id: Garage_when_closing_door\n trigger:\n - platform: state\n entity_id: binary_sensor.bryggers_sensor_bryggersdor_contact\n to: 'off'\n for:\n minutes: 3\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n action:\n service: scene.turn_on\n entity_id: scene.garage_when_door_closes",
"config": [
{
"name": "Bryggers Door Contact",
"room": "utility_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bryggers_sensor_bryggersdor_contact",
"device_id": null
}
},
{
"name": "Garage Door Close Scene",
"room": "garage",
"type": "scene",
"id": {
"entity_id": "scene.garage_when_door_closes",
"device_id": null
}
},
{
"name": "Sun",
"room": "outside",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "Garage_when_opening_door",
"automation": "- alias: Garage when opening door\n id: Garage_when_opening_door\n trigger:\n - platform: state\n entity_id: binary_sensor.bryggers_sensor_bryggersdor_contact\n to: 'on'\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n action:\n service: scene.turn_on\n entity_id: scene.garage_opening_the_door",
"config": [
{
"name": "Bryggers Door Contact",
"room": "utility_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bryggers_sensor_bryggersdor_contact",
"device_id": null
}
},
{
"name": "Garage Opening Door Scene",
"room": "garage",
"type": "scene",
"id": {
"entity_id": "scene.garage_opening_the_door",
"device_id": null
}
},
{
"name": "Sun",
"room": "outside",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "417395bc-bd64-40a3-b20a-9062d426a01f",
"automation": "- alias: 00 - Google Home Automatic Resume\n id: 417395bc-bd64-40a3-b20a-9062d426a01f\n mode: parallel\n max_exceeded: silent\n trigger:\n - platform: event\n enabled: true\n event_type: call_service\n event_data:\n domain: media_player\n service: play_media\n variables:\n announce_volume: '{{ state_attr(''script.google_home_resume'', ''settings'').get(''announce_volume_automation'')\n }}'\n id: play\n - platform: event\n enabled: true\n event_type: call_service\n event_data:\n domain: cast\n service: show_lovelace_view\n id: cast\n variables:\n version: 2023.8.0\n settings:\n primary_spotcast: pepijn\n radio_data:\n NPO Radio 2:\n picture: http://192.168.2.3:8123/local/pictures/radio/npo_radio_2.png\n title: Er is maar één NPO Radio 2\n Radio Veronica:\n picture: http://192.168.2.3:8123/local/pictures/radio/radio_veronica.png\n title: WE. LOVE. MUSIC.\n Willy:\n picture: http://192.168.2.3:8123/local/pictures/radio/willy.png\n title: MUSIC MATTERS\n KINK:\n picture: http://192.168.2.3:8123/local/pictures/radio/kink.jpg\n title: NO ALTERNATIVE\n speaker_groups:\n media_player.huis_groep:\n - media_player.keuken_hub\n - media_player.slaapkamer_hub\n - media_player.pepijn_mini\n - media_player.woonkamer_home\n - media_player.werkamer_marleen_minini\n - media_player.zolder_werkkamer_stereo\n - media_player.floris_mini\n media_player.boven_groep:\n - media_player.pepijn_mini\n - media_player.slaapkamer_hub\n - media_player.werkamer_marleen_mini\n - media_player.zolder_werkkamer_stereo\n - media_player.floris_mini\n media_player.beneden_groep:\n - media_player.keuken_hub\n - media_player.woonkamer_home\n media_player.zolder_groep:\n - media_player.slaapkamer_hub\n - media_player.zolder_werkkamer_stereo\n default_volume_level: 0.5\n dummy_player: media_player.vlc_telnet\n default_resume_delay:\n seconds: 20\n max_runtime:\n minutes: 10\n enable_automation: true\n dashboard_cast: true\n announce_volume_automation: 0.4\n entities: '{%- set e = trigger.event.data.service_data.entity_id %} {%- set e\n = (e | replace('' '', '''')).split('','') if e is string else e %} {%- set e\n = expand(e) | map(attribute=''entity_id'') | list %} {%- set speaker_groups\n = settings.get(''speaker_groups'') | default({}, true) %} {%- set members =\n speaker_groups.items() | selectattr(''0'', ''in'', e) | map(attribute=''1'')\n | sum(start=[]) %} {{ e + members }}\n\n '\n condition:\n - alias: Check if automation in enabled in script settings\n condition: template\n value_template: '{{ settings.enable_automation | default(true) }}'\n - alias: Check if announce was set on the service call\n condition: template\n value_template: '{{ trigger.id == ''cast'' or trigger.event.data.service_data.get(''announce'',\n false) }}'\n - alias: Check if dashboard resume is enabled in case of dashboard cast trigger\n condition: template\n value_template: '{{ trigger.id == ''play'' or settings.get(''dashboard_cast'')\n | default(true) or settings.get(''dashboard_cast'') is none }}'\n action:\n - alias: Set variables to be used in the automation\n variables:\n start_time: '{{ start_time if start_time is defined else now() }}'\n speaker_groups: '{{ settings.get(''speaker_groups'') | default({}, true) }}'\n speaker_group_list: '{{ speaker_groups.keys() | list }}'\n cast_entities: '{{ integration_entities(''cast'') }}'\n spotify_entities: '{{ integration_entities(''spotify'') }}'\n primary_spotcast_check: '{%- set accounts = spotify_entities | map(''replace'',\n ''media_player.spotify_'', '''') | list %} {{ spotify_entities | count <=\n 1 or settings.get(''primary_spotcast'') in accounts }}\n\n '\n ytube_music_entities: '{{ integration_entities(''ytube_music_player'') | select(''match'',\n ''^media_player.'') | list }}\n\n '\n resume_active: \"{{ expand(integration_entities('group'))\\n | selectattr('entity_id',\\\n \\ 'search', 'group.resume_active_ghresume')\\n | map(attribute='attributes.entity_id')\\n\\\n \\ | map('list')\\n | sum(start=[])\\n}}\\n\"\n resume_action_false: \"{{ expand(integration_entities('group'))\\n | selectattr('entity_id',\\\n \\ 'search', 'group.resume_action_false_ghresume')\\n | map(attribute='attributes.entity_id')\\n\\\n \\ | map('list')\\n | sum(start=[])\\n}}\\n\"\n - alias: Failsafe to remove all groups if no resume scripts are not running\n if: \"{{ \\n is_state_attr('script.google_home_resume', 'current', 0)\\n and integration_entities('group')\\n\\\n \\ | select('search', 'ghresume')\\n | list | count > 0\\n}}\\n\"\n then:\n - alias: Which groups to remove\n variables:\n groups_existing: '{{ integration_entities(''group'') | select(''search'',\n ''ghresume'') | list }}\n\n '\n - alias: Loop to remove groups\n repeat:\n for_each: '{{ groups_existing }}'\n sequence:\n - alias: Remove one group\n service: group.remove\n data:\n object_id: '{{ states[repeat.item].object_id }}'\n - alias: Check if target is already being resumed on in a group which is already\n being resumed\n condition: template\n value_template: \"{%- set groups = states.group\\n | selectattr('entity_id',\\\n \\ 'search', 'resume_script_active_ghresume_')\\n | map(attribute='entity_id')\\n\\\n \\ | list\\n%} {%- set active = expand(groups)\\n | rejectattr('state',\\\n \\ 'in', ['unknown', 'unavailable'])\\n | map(attribute='entity_id')\\n\\\n \\ | unique\\n | list\\n%} {%- set members =\\\n \\ speaker_groups.items() | selectattr('0', 'in', active) | map(attribute='1')\\\n \\ | sum(start=[]) %} {%- set active = active + members %} {%- set target_members\\\n \\ = speaker_groups.items() | selectattr('0', 'in', entities) | map(attribute='1')\\\n \\ | sum(start=[]) %} {%- set entities = (entities + target_members) | reject('in',\\\n \\ speaker_group_list) | unique | list %} {{ entities | reject('in', active)\\\n \\ | list | count > 0 }}\\n\"\n - alias: Are there Spotify entities?\n if: '{{ integration_entities(''spotify'') | count > 0 }}'\n then:\n - alias: Update Spotify entities\n service: homeassistant.update_entity\n target:\n entity_id: '{{ integration_entities(''spotify'') }}'\n - alias: Set data_source and determine target list\n variables:\n data_source: automation\n target_list: \"{{\\n integration_entities('cast')\\n | select('in', entities)\\n\\\n \\ | list\\n}}\\n\"\n - variables:\n player_data: \"{%- if player_data is undefined %}\\n {# general information for\\\n \\ all entities #}\\n {%- set ns = namespace(info=[], groups_playing=[]) %}\\n\\\n \\ {%- for entity in expand(cast_entities) %}\\n {%- set members = speaker_groups[entity.entity_id]\\n\\\n \\ if speaker_groups is defined\\n and\\\n \\ iif(speaker_groups)\\n and entity.entity_id in speaker_group_list\\n\\\n \\ else []\\n %}\\n {%- set screen = entity.attributes.device_class\\\n \\ is not defined %}\\n {%- set type = iif(members,'group',iif(screen,'screen','speaker'))\\\n \\ %}\\n {%- for group in speaker_group_list %}\\n {%- set members\\\n \\ = speaker_groups.items() | selectattr('0', 'eq', group) | map(attribute='1')\\\n \\ | list | first %}\\n {%- set members_playing = expand(members) | selectattr('state',\\\n \\ 'eq', 'playing') | list | count == members | count %}\\n {%- set content_list\\\n \\ = expand(members) | selectattr('attributes.media_content_id', 'defined')\\\n \\ | map(attribute='attributes.media_content_id') | list %}\\n {%- set\\\n \\ group_playing = members_playing and content_list | select('eq', content_list[0])\\\n \\ | list | count == content_list | count %}\\n {%- set ns.groups_playing\\\n \\ = ns.groups_playing + [ group ] if group_playing else ns.groups_playing\\\n \\ %}\\n {%- endfor %}\\n {%- set groups_playing = ns.groups_playing\\\n \\ %}\\n {%- if type == 'speaker' %}\\n {% set groups = speaker_groups.items()\\\n \\ | selectattr('1', 'search', entity.entity_id) | map(attribute='0') | list\\\n \\ %}\\n {% set playing = groups | select('in', groups_playing) | list\\\n \\ | count > 0 %}\\n {% set type = 'playing_member' if playing else type\\\n \\ %}\\n {%- endif %}\\n {%- set state = 'off' if type == 'group' and\\\n \\ not entity.entity_id in groups_playing else entity.state %}\\n {%- set\\\n \\ general = dict(\\n data_source = data_source,\\n\\\n \\ entity_id = entity.entity_id,\\n \\\n \\ state = state,\\n type = type,\\n\\\n \\ members = members\\n \\\n \\ )\\n if type != 'playing_member'\\n \\\n \\ else dict(entity_id = entity.entity_id, type = type, members=[])\\n\\\n \\ %}\\n {# check if there is a Spotify account playing on this entity\\\n \\ #}\\n {%- set list_check = expand([ entity.entity_id ] + members) |\\\n \\ map(attribute='name') | list %}\\n {%- set spotify_entity = expand(spotify_entities)\\n\\\n \\ | selectattr('state', 'eq', 'playing')\\n\\\n \\ | selectattr('attributes.source', 'in',\\\n \\ list_check)\\n | map(attribute='object_id')\\n\\\n \\ | join\\n \\\n \\ | replace('spotify_', '')\\n %}\\n {# add volume level #}\\n \\\n \\ {%- if not state in ['off', 'unavailable', 'unknown'] or type == 'playing_member'\\\n \\ %}\\n {%- set additional = dict(volume_level = entity.attributes.get('volume_level',\\\n \\ settings.get('default_volume_level')) | round(2, default=0.25)) %}\\n \\\n \\ {%- else %}\\n {%- set additional = {} %}\\n {%- endif %}\\n\\\n \\ {# add metadata for playing entities #}\\n {%- if type == 'playing_member'%}\\n\\\n \\ {%- elif (spotify_entity or\\n (\\n entity.state\\\n \\ == 'playing'\\n and expand(speaker_groups.items()\\n \\\n \\ | selectattr('0', 'eq', entity.entity_id)\\n \\\n \\ | list) \\n | rejectattr('state',\\\n \\ 'eq', 'playing')\\n | list\\n \\\n \\ | count == 0\\n )) and (type != 'group' or entity.entity_id\\\n \\ in groups_playing)\\n %}\\n {%- set additional = dict(additional,\\\n \\ **dict(\\n state = 'playing',\\n \\\n \\ app_name = entity.attributes.get('app_name', 'no\\\n \\ app'),\\n media_content_id = (entity.attributes.get('media_content_id',\\\n \\ {}) | from_json).get('contentId', 'no media_content')\\n \\\n \\ if entity.attributes.get('app_name')\\\n \\ == 'Google Podcasts'\\n \\\n \\ else entity.attributes.get('media_content_id', 'no media_content'),\\n\\\n \\ media_position = (as_timestamp(now()) |\\\n \\ round(2)\\n - as_timestamp(entity.attributes.get('media_position_updated_at',\\\n \\ now())) | round(2)\\n \\\n \\ + entity.attributes.get('media_position', 0)) | round(2)\\n \\\n \\ ))\\n %}\\n {# add Spotify account #}\\n\\\n \\ {%- if entity.attributes.get('app_name') == 'Spotify' %}\\n \\\n \\ {%- set spotcast = spotify_entity if spotify_entity\\n \\\n \\ and settings.primary_spotcast is defined\\n \\\n \\ and spotify_entity != settings.primary_spotcast\\n\\\n \\ and spotify_entities | count > 1\\n \\\n \\ and primary_spotcast_check\\n \\\n \\ else 'primary_account' %}\\n {%- set additional\\\n \\ = dict(additional,\\n **dict(state='playing',\\n\\\n \\ spotcast = spotcast\\n \\\n \\ )\\n )\\\n \\ \\n %}\\n {# add information for ytube_music_player integration\\\n \\ #}\\n {%- elif entity.entity_id in expand(ytube_music_entities)\\n\\\n \\ | selectattr('state', 'eq', 'playing')\\n\\\n \\ | selectattr('attributes.remote_player_id',\\\n \\ 'defined')\\n | map(attribute='attributes.remote_player_id')\\n\\\n \\ | list\\n %}\\n {%- set\\\n \\ additional = dict(additional,\\n **dict(app_name='Ytube\\\n \\ Music Player',\\n yt_player=expand(ytube_music_entities)\\\n \\ | selectattr('attributes.remote_player_id', 'defined') | selectattr('attributes.remote_player_id',\\\n \\ 'eq', entity.entity_id) | map(attribute='entity_id') | join,\\n \\\n \\ media_content_id = 'ytube_music'\\n \\\n \\ )\\n \\\n \\ ) \\n %}\\n {# add information for web streams (including\\\n \\ TuneIn) #}\\n {%- elif entity.attributes.get('app_name') not in ['Spotify',\\\n \\ 'YouTube', 'YouTube Music'] %}\\n {%- if entity.attributes.get('media_artist')\\\n \\ in (settings.get('radio_data') | default({}, true)).keys() | list %}\\n \\\n \\ {%- set data = settings.radio_data[entity.attributes.media_artist]\\\n \\ %}\\n {%- set picture, title = data.get('picture'), data.get('title')\\\n \\ %}\\n {%- endif %}\\n {%- set additional = dict(additional,\\\n \\ **dict(\\n media_artist = 'Google\\\n \\ Podcasts' if entity.attributes.get('app_name') == 'Google Podcasts'\\n \\\n \\ else entity.attributes.get('media_artist',\\\n \\ 'no artist'),\\n media_title = title\\\n \\ if title is defined else entity.attributes.get('media_title', 'no title'),\\n\\\n \\ media_content_type = '' ~ entity.attributes.get('media_content_type',\\\n \\ 'no type'),\\n entity_picture = picture\\\n \\ if picture is defined else entity.attributes.get('entity_picture', 'no pic')\\n\\\n \\ ))\\n %}\\n {%- endif\\\n \\ %}\\n {%- endif %}\\n {# cobmine all data #}\\n {%- set ns.info\\\n \\ = ns.info + [ dict(general, **additional) if additional is defined else\\\n \\ general ] %}\\n {%- endfor %}\\n {% set player_data = ns.info %}\\n{%- endif\\\n \\ %} {{ player_data }}\\n\"\n - alias: Interrupt YouTube music if needed\n if: '{{ player_data | selectattr(''entity_id'', ''in'', target_list) | selectattr(''yt_player'',\n ''defined'') | list | count > 0 }}\n\n '\n then:\n - service: ytube_music_player.call_method\n data:\n entity_id: '{{ player_data | selectattr(''entity_id'', ''in'', target_list)\n | selectattr(''yt_player'', ''defined'') | map(attribute=''yt_player'')\n | list }}\n\n '\n command: interrupt_start\n - if: '{{ trigger.id == ''play'' and announce_volume is defined and iif(announce_volume)\n }}'\n then:\n - wait_template: '{{ is_state(entities|first, ''idle'') }}'\n - alias: Set volume for announcement\n service: media_player.volume_set\n target:\n entity_id: '{{ entities }}'\n data:\n volume_level: '{{ announce_volume }}'\n - alias: Short delay\n delay: 0.5\n - alias: Check again if target is already being resumed\n condition: template\n value_template: \"{%- set groups = states.group\\n | selectattr('entity_id',\\\n \\ 'search', 'resume_script_active_ghresume_')\\n | map(attribute='entity_id')\\n\\\n \\ | list\\n%} {%- set active = expand(groups)\\n | rejectattr('state',\\\n \\ 'in', ['unknown', 'unavailable'])\\n | map(attribute='entity_id')\\n\\\n \\ | unique\\n | list\\n%} {%- set members =\\\n \\ speaker_groups.items() | selectattr('0', 'in', active) | map(attribute='1')\\\n \\ | sum(start=[]) %} {%- set active = active + members %} {%- set target_members\\\n \\ = speaker_groups.items() | selectattr('0', 'in', entities) | map(attribute='1')\\\n \\ | sum(start=[]) %} {%- set entities = (entities + target_members) | reject('in',\\\n \\ speaker_group_list) | unique | list %} {{ entities | reject('in', active)\\\n \\ | list | count > 0 }}\\n\"\n - alias: Send actions using Google Home Resume script\n service: script.turn_on\n target:\n entity_id: script.google_home_resume\n data:\n variables:\n start_time: '{{ start_time }}'\n automation: true\n target_list: '{{ target_list }}'\n player_data: '{{ player_data }}'",
"config": [
{
"name": "Google Home Resume Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.google_home_resume",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "'16355416316486'",
"automation": "- alias: ingen_er_hjemme\n id: '16355416316486'\n trigger:\n - platform: numeric_state\n entity_id: zone.home\n below: 1\n action:\n - service: scene.turn_on\n target:\n entity_id: scene.SlukAltLysUntagetUdelysOgUnderKoekkenbordet",
"config": [
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
},
{
"name": "Sluk Alt Lys Scene",
"room": "home",
"type": "scene",
"id": {
"entity_id": "scene.SlukAltLysUntagetUdelysOgUnderKoekkenbordet",
"device_id": null
}
}
]
},
{
"id": "AI Suggestions - New Entity Detection",
"automation": "- alias: AI Suggestions - New Entity Detection\n description: Generates automation suggestions whenever new entities are registered\n in Home Assistant\n trigger:\n - platform: event\n event_type: entity_registry_updated\n event_data:\n action: create\n - platform: event\n event_type: entity_registry_updated\n event_data:\n action: update\n condition:\n - condition: template\n value_template: \"{% set last_triggered = states('automation.ai_suggestions_new_entity_detection').attributes.last_triggered\\\n \\ %} {% if last_triggered is not none %}\\n {% set hours_since = ((now() - as_datetime(last_triggered)).total_seconds()\\\n \\ / 3600) | float %}\\n {{ hours_since > 1.0 }}\\n{% else %}\\n true\\n{% endif\\\n \\ %}\"\n action:\n - service: ai_automation_suggester.generate_suggestions\n target: {}\n data: {}",
"config": [
{
"name": "AI Suggestions New Entity Detection Automation",
"room": null,
"type": "automation",
"id": {
"entity_id": "automation.ai_suggestions_new_entity_detection",
"device_id": null
}
}
]
},
{
"id": "'16355416358686'",
"automation": "- alias: nogen_er_hjemme\n id: '16355416358686'\n trigger:\n - platform: numeric_state\n entity_id: zone.home\n above: 0\n action:\n - condition: or\n conditions:\n - condition: sun\n before: sunrise\n - condition: sun\n after: sunset\n - service: scene.turn_on\n target:\n entity_id: scene.TaendLysNaaAlarmFrakolbles",
"config": [
{
"name": "Home Zone",
"room": "home",
"type": "zone",
"id": {
"entity_id": "zone.home",
"device_id": null
}
},
{
"name": "Tænd Lys Når Alarm Fra kobles Scene",
"room": "home",
"type": "scene",
"id": {
"entity_id": "scene.TaendLysNaaAlarmFrakolbles",
"device_id": null
}
}
]
},
{
"id": "climate_control_for_two_windows_in_Sophies_room",
"automation": "- id: climate_control_for_two_windows_in_Sophies_room\n alias: sophie turn on heating in sophies room in Sophie's room\n description: Turn off heating when either window is open and turn it back on when\n both windows are closed\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.sophie_sensor_sophievindue1_contact\n - binary_sensor.sophie_sensor_sophievindue2_contact\n condition: []\n action:\n - choose:\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.sophie_sensor_sophievindue1_contact\n state: 'on'\n - condition: state\n entity_id: binary_sensor.sophie_sensor_sophievindue2_contact\n state: 'on'\n sequence:\n - service: climate.turn_off\n target:\n entity_id: climate.sophies_vaerelse\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: binary_sensor.sophie_sensor_sophievindue1_contact\n state: 'off'\n - condition: state\n entity_id: binary_sensor.sophie_sensor_sophievindue2_contact\n state: 'off'\n sequence:\n - service: climate.set_hvac_mode\n target:\n entity_id: climate.sophies_vaerelse\n data:\n hvac_mode: auto\n mode: single",
"config": [
{
"name": "Sophie Window 1 Contact",
"room": "sophie_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.sophie_sensor_sophievindue1_contact",
"device_id": null
}
},
{
"name": "Sophie Window 2 Contact",
"room": "sophie_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.sophie_sensor_sophievindue2_contact",
"device_id": null
}
},
{
"name": "Sophies Værelse Climate",
"room": "sophie_room",
"type": "climate",
"id": {
"entity_id": "climate.sophies_vaerelse",
"device_id": null
}
}
]
},
{
"id": "sovevaerelseDag",
"automation": "- alias: Sovevaerelse Dag\n id: sovevaerelseDag\n trigger:\n - platform: state\n entity_id: light.sovevaerelse\n to: 'on'\n from: 'off'\n condition:\n - condition: time\n after: 06:00:01\n before: '18:59:59'\n action:\n service: scene.turn_on\n entity_id: scene.SovevaerelseDag",
"config": [
{
"name": "Soveværelse Light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.sovevaerelse",
"device_id": null
}
},
{
"name": "Soveværelse Dag Scene",
"room": "bedroom",
"type": "scene",
"id": {
"entity_id": "scene.SovevaerelseDag",
"device_id": null
}
}
]
},
{
"id": "sovevaerelseNat",
"automation": "- alias: Sovevaerelse Nat\n id: sovevaerelseNat\n trigger:\n - platform: state\n entity_id: light.sovevaerelse\n to: 'on'\n from: 'off'\n condition:\n - condition: time\n after: '19:00:00'\n before: 06:00:00\n action:\n service: scene.turn_on\n entity_id: scene.SovevaerelseNat",
"config": [
{
"name": "Soveværelse Light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.sovevaerelse",
"device_id": null
}
},
{
"name": "Soveværelse Nat Scene",
"room": "bedroom",
"type": "scene",
"id": {
"entity_id": "scene.SovevaerelseNat",
"device_id": null
}
}
]
},
{
"id": "terrasseBaghave_tænd",
"automation": "- alias: Terrasse Baghave tænd\n id: terrasseBaghave_tænd\n trigger:\n platform: sun\n event: sunset\n offset: -00:30:00\n action:\n service: scene.turn_on\n entity_id: scene.terrasseBaghaveNat",
"config": [
{
"name": "Terrasse Baghave Nat Scene",
"room": "backyard",
"type": "scene",
"id": {
"entity_id": "scene.terrasseBaghaveNat",
"device_id": null
}
}
]
},
{
"id": "terrasseForhave_tænd",
"automation": "- alias: Terrasse Forhave tænd\n id: terrasseForhave_tænd\n trigger:\n platform: sun\n event: sunset\n offset: -00:30:00\n action:\n service: scene.turn_on\n entity_id: scene.terrasseForhaveNat",
"config": [
{
"name": "Terrasse Forhave Nat Scene",
"room": "front_yard",
"type": "scene",
"id": {
"entity_id": "scene.terrasseForhaveNat",
"device_id": null
}
}
]
},
{
"id": "terrasse_sluk",
"automation": "- alias: Terrasse sluk\n id: terrasse_sluk\n trigger:\n platform: sun\n event: sunrise\n offset: +00:30:00\n action:\n service: light.turn_off\n entity_id:\n - light.terrasse_light_terrasseforhave\n - light.terrasse_light_terrassebaghave",
"config": [
{
"name": "Terrasse Forhave Light",
"room": "front_yard",
"type": "light",
"id": {
"entity_id": "light.terrasse_light_terrasseforhave",
"device_id": null
}
},
{
"name": "Terrasse Baghave Light",
"room": "backyard",
"type": "light",
"id": {
"entity_id": "light.terrasse_light_terrassebaghave",
"device_id": null
}
}
]
},
{
"id": "under_koekkenbordet_Off",
"automation": "- alias: Koekken under_koekkenbordet Off\n id: under_koekkenbordet_Off\n trigger:\n platform: sun\n event: sunrise\n offset: +00:30:00\n action:\n service: light.turn_off\n entity_id: light.controller_rgb_ir_b788e5",
"config": [
{
"name": "Køkken Under Bordet Light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.controller_rgb_ir_b788e5",
"device_id": null
}
}
]
},
{
"id": "under_koekkenbordet-On",
"automation": "- alias: Koekken under_koekkenbordet On\n id: under_koekkenbordet-On\n trigger:\n platform: sun\n event: sunset\n offset: -00:30:00\n action:\n service: light.turn_on\n entity_id: light.controller_rgb_ir_b788e5",
"config": [
{
"name": "Køkken Under Bordet Light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.controller_rgb_ir_b788e5",
"device_id": null
}
}
]
},
{
"id": "AI Suggestions - Weekly Review",
"automation": "- alias: AI Suggestions - Weekly Review\n description: Performs a weekly scan of all entities to suggest new automation opportunities\n trigger:\n - platform: time\n at: 03:00:00\n condition:\n - condition: time\n weekday:\n - sun\n action:\n - service: ai_automation_suggester.generate_suggestions\n data:\n all_entities: true\n - service: persistent_notification.create\n data:\n title: Weekly Automation Review\n message: The AI Automation Suggester has completed its weekly review. Check\n the suggestions sensor for new automation ideas!\n notification_id: weekly_automation_review",
"config": []
}
]