4404 lines
206 KiB
JSON
4404 lines
206 KiB
JSON
[
|
||
{
|
||
"id": "f9432fc2-3051-4325-b8d6-1ba50259050b",
|
||
"automation": "- alias: Abfallbenachrichtigung\n id: f9432fc2-3051-4325-b8d6-1ba50259050b\n description: Benachrichtigt wenn Abfall abgeholt wird.\n trigger:\n - platform: state\n entity_id:\n - sensor.restmull\n - sensor.papier\n - sensor.schadstoffe\n attribute: daysTo\n to: 0\n id: heute\n - platform: state\n entity_id:\n - sensor.restmull\n - sensor.papier\n - sensor.schadstoffe\n attribute: daysTo\n to: 1\n id: morgen\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - service: script.notify_engine\n data:\n title: '🗑️ Abfall 🗑️\n\n '\n value1: '{{ trigger.to_state.attributes.friendly_name }} wird {{ trigger.id\n }} abgeholt.\n\n '\n who: home\n tag_id: information\n group: Abfall\n mode: parallel",
|
||
"config": [
|
||
{
|
||
"name": "restmüll sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.restmull",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "papier sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.papier",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "schadstoffe sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.schadstoffe",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "90cf54e2-7646-4a0d-b810-75d8e2360b4e",
|
||
"automation": "- alias: AbstellkammerLicht\n id: 90cf54e2-7646-4a0d-b810-75d8e2360b4e\n description: Schaltet das Licht nach an und aus.\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.abstellkammertursensor_contact\n action:\n - if:\n - condition: state\n entity_id: binary_sensor.abstellkammertursensor_contact\n state: 'on'\n then:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.abstellkammerlicht\n else:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.abstellkammerlicht",
|
||
"config": [
|
||
{
|
||
"name": "abstellkammer door sensor contact",
|
||
"room": "storage",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.abstellkammertursensor_contact",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "abstellkammer light",
|
||
"room": "storage",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.abstellkammerlicht",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "7e2fd668-0ff5-4a40-859e-23a804c5c855",
|
||
"automation": "- alias: AfterHaUpgrade\n id: 7e2fd668-0ff5-4a40-859e-23a804c5c855\n description: change version after HA upgrade\n trigger:\n - trigger: time\n at: '23:55:00'\n condition: []\n action:\n - service: shell_command.after_ha_upgrade\n mode: single",
|
||
"config": []
|
||
},
|
||
{
|
||
"id": "8b97520c-c437-4b1d-afd5-192fc2413e7f",
|
||
"automation": "- id: 8b97520c-c437-4b1d-afd5-192fc2413e7f\n alias: armResidentsAway\n description: Alarm automatisch anschalten wenn keiner daheim ist\n trigger:\n - platform: state\n entity_id: group.residents\n to: not_home\n condition: []\n action:\n - service: alarm_control_panel.alarm_arm_away\n data:\n code: secret alarm_code\n target:\n entity_id: alarm_control_panel.alarmo",
|
||
"config": [
|
||
{
|
||
"name": "residents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.residents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "alarmo alarm control panel",
|
||
"room": "unknown",
|
||
"type": "alarm_control_panel",
|
||
"id": {
|
||
"entity_id": "alarm_control_panel.alarmo",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "'1690789658458'",
|
||
"automation": "- id: '1690789658458'\n alias: Android Auto Miguel\n description: ''\n trigger:\n - trigger: state\n entity_id:\n - binary_sensor.pixel_9_pro_android_auto\n to: 'on'\n condition: []\n action:\n - action: notify.mobile_app_pixel_9_pro\n data:\n title: Connected 2 car\n message: This device is connected to android auto.\n data:\n car_ui: true\n notification_icon: mdi:car\n channel: Auto\n importance: high\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "pixel 9 pro android auto binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.pixel_9_pro_android_auto",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "'1691433091247'",
|
||
"automation": "- id: '1691433091247'\n alias: 'Roomba Behälter '\n description: 'Roomba Behälter '\n trigger:\n - trigger: state\n entity_id:\n - binary_sensor.roomba_bin_full\n to: 'on'\n condition: []\n action:\n - action: notify.telegram_home_group\n data:\n title: 'Roomba '\n message: Behälter ist voll. Bitte leeren l.\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "roomba bin full binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.roomba_bin_full",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "'1708473160035'",
|
||
"automation": "- id: '1708473160035'\n alias: 'Battery replacement '\n description: ''\n use_blueprint:\n path: andrew-codechimp/battery_notes_battery_replaced.yaml",
|
||
"config": []
|
||
},
|
||
{
|
||
"id": "'1728850959105'",
|
||
"automation": "- id: '1728850959105'\n alias: Reset Internet\n description: Steckdose an und ausschalten damit die Verbindung neu aufgebaut wird.\n triggers:\n - trigger: state\n entity_id:\n - sensor.fritz_repeater_1200_ax_letzter_neustart\n to: unavailable\n conditions: []\n actions:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.tabletsteckdose\n - delay:\n hours: 0\n minutes: 0\n seconds: 15\n milliseconds: 0\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.tabletsteckdose\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "fritz repeater restart sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.fritz_repeater_1200_ax_letzter_neustart",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "tabletsteckdose switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.tabletsteckdose",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "'1736551020218'",
|
||
"automation": "- id: '1736551020218'\n alias: SZ zu warm\n description: ''\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.schlafzimmertemperatur\n above: 18\n conditions:\n - condition: sun\n after: sunset\n before: sunrise\n before_offset: 01:00:00\n actions:\n - action: cover.open_cover\n metadata: {}\n data: {}\n target:\n area_id: schlafzimmer\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "schlafzimmer temperature sensor",
|
||
"room": "bedroom",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.schlafzimmertemperatur",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "'1736807752549'",
|
||
"automation": "- id: '1736807752549'\n alias: SZ zu kalt\n description: ''\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.schlafzimmertemperatur\n below: 15\n conditions:\n - condition: sun\n before: sunrise\n before_offset: 01:00:00\n after: sunset\n actions:\n - action: cover.set_cover_position\n metadata: {}\n data:\n position: 50\n target:\n entity_id: cover.rollladen_schlafzimmer\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "schlafzimmer temperature sensor",
|
||
"room": "bedroom",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.schlafzimmertemperatur",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "schlafzimmer roller shutter",
|
||
"room": "bedroom",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.rollladen_schlafzimmer",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "146acdcd-843c-41d5-b727-b171a446a4d0",
|
||
"automation": "- description: Scheduled vacuum cleaner run\n alias: Scheduled vacuum cleaner run\n id: 146acdcd-843c-41d5-b727-b171a446a4d0\n mode: single\n trigger:\n - platform: state\n entity_id:\n - schedule.staubsaug_zeiten\n to: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.automatic_cleaning\n state: 'on'\n action:\n - service: script.cleaning\n data: {}",
|
||
"config": [
|
||
{
|
||
"name": "automatic cleaning input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.automatic_cleaning",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "vacuum schedule",
|
||
"room": "unknown",
|
||
"type": "schedule",
|
||
"id": {
|
||
"entity_id": "schedule.staubsaug_zeiten",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Cleaning",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.cleaning",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9693cbfe-1590-403b-b110-10b6d5fa174b",
|
||
"automation": "- alias: miloStatus\n id: 9693cbfe-1590-403b-b110-10b6d5fa174b\n description: Sync Milo State with silke state\n trigger:\n - platform: state\n entity_id:\n - person.silke\n - person.miguel\n condition:\n - condition: template\n value_template: '{% set personName = \"person.\" ~ states(\"input_select.milo_person_sync\")\n %}\n\n {{ trigger.entity_id == personName }}'\n action:\n - if:\n - condition: template\n value_template: '{% set personName = \"person.\" ~ states(\"input_select.milo_person_sync\")\n %}\n\n {{ states(personName) == \"home\" }}'\n then:\n - service: input_boolean.turn_on\n entity_id: input_boolean.milo_home\n else:\n - service: input_boolean.turn_off\n entity_id: input_boolean.milo_home\n - service: device_tracker.see\n data:\n location_name: '{% set personName = \"person.\" ~ states(\"input_select.milo_person_sync\")\n %}\n\n {{ states(personName) }}'\n dev_id: milo_dummy_tracker\n gps:\n - '{{ state_attr(''person.'' ~ states(''input_select.milo_person_sync''), ''latitude'')\n }}'\n - '{{ state_attr(''person.'' ~ states(''input_select.milo_person_sync''), ''longitude'')\n }}'\n gps_accuracy: '{% set personName = \"person.\" ~ states(\"input_select.milo_person_sync\")\n %}\n\n {{ state_attr(personName, \"gps_accuracy\") }}'\n mode: queued\n max: 10",
|
||
"config": [
|
||
{
|
||
"name": "silke person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.silke",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "miguel person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "milo person sync input select",
|
||
"room": "unknown",
|
||
"type": "input_select",
|
||
"id": {
|
||
"entity_id": "input_select.milo_person_sync",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "milo home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.milo_home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5678264c-c308-4c30-865f-a9e6e64d4965",
|
||
"automation": "- alias: weatherData\n id: 5678264c-c308-4c30-865f-a9e6e64d4965\n description: Antwortet auf den /wetter Befehl\n trigger:\n - platform: event\n event_type: telegram_command\n event_data:\n command: /wetter\n condition: []\n action:\n - service: script.notify_engine\n data:\n value1: Wetter Bild\n photo: '{{ states(''input_text.serverurl'') }}{{ state_attr(''image.ai_generated_weather_image'',\n ''entity_picture'') }}'\n who: home\n tag_id: information\n group: Outdoor\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Server URL",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.serverurl",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "46d1add5-ee1d-4dbe-888a-a3054a247eaa",
|
||
"automation": "- alias: autoHeaterOff\n id: 46d1add5-ee1d-4dbe-888a-a3054a247eaa\n description: Heizung automatisch ausschalten, falls sie ausversehn angeschaltet\n wird.\n trigger:\n - platform: state\n entity_id:\n - climate.room_climate_wohnzimmer\n from: 'off'\n condition:\n - condition: numeric_state\n entity_id: sensor.daikinap90134_outside_temperature\n above: 18\n action:\n - service: climate.turn_off\n target:\n entity_id: climate.room_climate_wohnzimmer\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "daikin climate outside temperature sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.daikinap90134_outside_temperature",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "wohnzimmer climate",
|
||
"room": "living_room",
|
||
"type": "climate",
|
||
"id": {
|
||
"entity_id": "climate.room_climate_wohnzimmer",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "03a20f50-86fa-4a6f-915d-325ae9f3b36f",
|
||
"automation": "- alias: parentsAway\n id: 03a20f50-86fa-4a6f-915d-325ae9f3b36f\n description: Automation when parents are away\n trigger:\n - platform: state\n entity_id: group.parents\n to: not_home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n condition: []\n action:\n - action: switch.turn_on\n target:\n entity_id: switch.kamera_steckdose_wz\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "parents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.parents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "kamera steckdose wz switch",
|
||
"room": "living_room",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.kamera_steckdose_wz",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "0a55979a-ca8c-4eef-8cb0-aade40ac6c1f",
|
||
"automation": "- alias: Show state of bed\n id: 0a55979a-ca8c-4eef-8cb0-aade40ac6c1f\n description: Show bed state on clock\n trigger:\n - platform: state\n entity_id: binary_sensor.withings_in_bed_miguel\n - platform: state\n entity_id: binary_sensor.withings_in_bed_silke\n condition: []\n action:\n - if:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.withings_in_bed_miguel\n state: 'on'\n - condition: state\n entity_id: binary_sensor.withings_in_bed_silke\n state: 'on'\n then:\n - action: script.awtrix3customapp\n data:\n app_id: bed\n text: Zz Zz Zz Zz Zz Zz\n icon: '19723'\n else:\n - action: script.awtrix3delapp\n data:\n app_id: bed\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "withings in bed miguel binary sensor",
|
||
"room": "bedroom",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.withings_in_bed_miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "withings in bed silke binary sensor",
|
||
"room": "bedroom",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.withings_in_bed_silke",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "6bb1782f-56aa-4ebc-b5ab-64e9f185f93f",
|
||
"automation": "- alias: BedAutomation\n id: 6bb1782f-56aa-4ebc-b5ab-64e9f185f93f\n description: Automatisierung, wenn jemand im Bett erkannt wurde oder alle aufgestanden\n sind\n trigger:\n - platform: state\n entity_id: binary_sensor.bett_tracker\n for:\n hours: 0\n minutes: 5\n seconds: 0\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.bett_tracker\n state: 'on'\n - condition: state\n entity_id: binary_sensor.bett_tracker\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: binary_sensor.schlafenszeit\n state: 'on'\n alias: Prüfen ob gerade Schlafenszeit ist\n then:\n - if:\n - condition: state\n entity_id: binary_sensor.bett_tracker\n state: 'on'\n then:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.night_mode\n data: {}\n else:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.night_mode\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "bed tracker binary sensor",
|
||
"room": "bedroom",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.bett_tracker",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "sleep time binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.schlafenszeit",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "night mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.night_mode",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "1f17b5a2-16bd-4b6c-aab0-fce9174702d8",
|
||
"automation": "- alias: benzinCommand\n id: 1f17b5a2-16bd-4b6c-aab0-fce9174702d8\n description: Antwortet auf den /benzin Befehl\n trigger:\n - platform: event\n event_type: telegram_command\n event_data:\n command: /benzin\n condition: []\n action:\n - service: script.notify_engine\n data:\n title: '⛽ Benzinpreise ⛽\n\n '\n value1: '{% for fuel_station in statessensor.alle_benzinpreise.attributes.entity_id\n %}\n\n {{ state_attr(fuel_station, ''friendly_name'') }}: {{ states(fuel_station)\n }}{{ state_attr(fuel_station, ''unit_of_measurement'') }} {% endfor %}'\n who: home\n tag_id: information\n group: Outdoor\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "18139b1d-4666-4261-b024-e737cf1e9159",
|
||
"automation": "- alias: Show birthdays on clock\n id: 18139b1d-4666-4261-b024-e737cf1e9159\n description: Show birthdays on clock\n trigger:\n - platform: time\n at: 00:01:00\n condition: []\n action:\n - variables:\n triggered_entity: '{{ states | selectattr(''entity_id'', ''match'', ''sensor.anniversary_birthday_'')\n | selectattr(''state'', ''eq'', ''0'') | map(attribute=''entity_id'') | list\n | first }}'\n - if:\n - condition: template\n value_template: '{{ triggered_entity != '''' }}'\n then:\n - action: script.awtrix3customapp\n data:\n app_id: birthday\n text: '{{ state_attr(triggered_entity, ''friendly_name'') }}'\n icon: '102'\n else:\n - action: script.awtrix3delapp\n data:\n app_id: birthday\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a7e72c63-bbb1-4960-ac00-982d820e0853",
|
||
"automation": "- alias: CalHotBev\n id: a7e72c63-bbb1-4960-ac00-982d820e0853\n description: Calculate amount of hot beverages made\n trigger:\n - platform: numeric_state\n entity_id: sensor.kaffemaschine_power\n above: 600\n for: 00:00:10\n condition:\n - condition: state\n entity_id: input_boolean.coffee_machine_is_washing\n state: 'off'\n - condition: state\n entity_id: timer.kaffeemaschine_auto_aus\n state: active\n action:\n - service: input_number.increment\n target:\n entity_id: input_number.heissgetranke_zahler\n data:\n amount: 1\n - action: timer.cancel\n data: {}\n target:\n entity_id: timer.kaffeemaschine_auto_aus\n - action: timer.start\n data: {}\n target:\n entity_id: timer.kaffeemaschine_auto_aus\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "coffee machine power sensor",
|
||
"room": "kitchen",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.kaffemaschine_power",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "coffee machine is washing input boolean",
|
||
"room": "kitchen",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.coffee_machine_is_washing",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "coffee machine auto off timer",
|
||
"room": "kitchen",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.kaffeemaschine_auto_aus",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "hot drinks counter input number",
|
||
"room": "unknown",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.heissgetranke_zahler",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "70e62f73-2464-477a-9525-d12e171c3cdd",
|
||
"automation": "- alias: Calculate picnic price\n id: 70e62f73-2464-477a-9525-d12e171c3cdd\n description: Calc picnic price\n trigger:\n - platform: state\n entity_id: sensor.picnic_status_der_letzten_bestellung\n to: COMPLETED\n condition: []\n action:\n - action: counter.set_value\n target:\n entity_id: counter.picnic_monats_kosten\n data:\n value: '{{ ( states(''counter.picnic_monats_kosten'') | float + states(''sensor.picnic_gesamtpreis_der_letzten_bestellung'')\n | float ) | round(0) }}'\n - action: counter.set_value\n target:\n entity_id: counter.picnic_jahres_kosten\n data:\n value: '{{ ( states(''counter.picnic_jahres_kosten'') | float + states(''sensor.picnic_gesamtpreis_der_letzten_bestellung'')\n | float ) | round(0) }}'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "picnic status sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.picnic_status_der_letzten_bestellung",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "picnic total price sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.picnic_gesamtpreis_der_letzten_bestellung",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "picnic monthly costs counter",
|
||
"room": "unknown",
|
||
"type": "counter",
|
||
"id": {
|
||
"entity_id": "counter.picnic_monats_kosten",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "picnic yearly costs counter",
|
||
"room": "unknown",
|
||
"type": "counter",
|
||
"id": {
|
||
"entity_id": "counter.picnic_jahres_kosten",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ccbc1585-d243-44f4-bdf0-ede4445fefb5",
|
||
"automation": "- alias: Terminerinnerung mit Fahrzeit\n id: ccbc1585-d243-44f4-bdf0-ede4445fefb5\n trigger:\n - trigger: calendar\n entity_id: calendar.familie\n event: start\n offset: -0:30:0\n condition:\n - condition: template\n value_template: '{{ trigger.calendar_event.location != '''' }}'\n action:\n - variables:\n start_time: '{{ trigger.calendar_event.start_time | as_timestamp | timestamp_custom(''%H:%M'',\n True) }}'\n - service: script.notify_engine\n data:\n title: '🗓️ Terminerinnerung - {{ trigger.calendar_event.summary }} 🗓️\n\n '\n value1: \"Du hast einen Termin um {{ start_time }} Uhr\\n \\U0001F5FA️ Ort: {{\\\n \\ trigger.calendar_event.location }}.\"\n who: home\n tag_id: information\n group: Calendar",
|
||
"config": [
|
||
{
|
||
"name": "family calendar",
|
||
"room": "unknown",
|
||
"type": "calendar",
|
||
"id": {
|
||
"entity_id": "calendar.familie",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9369a9dc-88fb-4ee8-a724-94559678db81",
|
||
"automation": "- alias: UhrFestnetz\n id: 9369a9dc-88fb-4ee8-a724-94559678db81\n description: Uhr Festnetz\n trigger:\n - platform: state\n entity_id: sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch\n condition: []\n action:\n - variables:\n from_state: \"{% if trigger.from_state.attributes.from_name %}\\n {{ trigger.from_state.attributes.from_name\\\n \\ }}\\n{% else %}\\n {{ trigger.from_state.attributes.from }}\\n{% endif %}\"\n to_state: \"{% if trigger.to_state.attributes.from_name %}\\n {{ trigger.to_state.attributes.from_name\\\n \\ }}\\n{% else %}\\n {{ trigger.to_state.attributes.from }}\\n{% endif %}\"\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''ringing'' }}'\n then:\n - action: script.awtrix3notif\n data:\n text: '{{ to_state }}'\n icon: '1232'\n repeat: 2\n - if:\n - condition: or\n conditions:\n - condition: and\n alias: Verpasst\n conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''idle'' }}'\n - condition: template\n value_template: '{{ trigger.from_state.state == ''ringing'' }}'\n - condition: and\n alias: AB Weiterleitung\n conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''talking'' }}'\n - condition: template\n value_template: '{{ trigger.to_state.attributes.device == ''40'' }}'\n then:\n - action: script.awtrix3customapp\n data:\n app_id: phone\n text: '{{ from_state }}'\n icon: '21482'\n duration: 15\n else:\n - action: script.awtrix3delapp\n data:\n app_id: phone\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "fritz box call monitor sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "12afe90b-fefc-44f6-b46c-391fdde58f43",
|
||
"automation": "- alias: Call mon var befüllen\n id: 12afe90b-fefc-44f6-b46c-391fdde58f43\n description: Set callmon var\n trigger:\n - platform: state\n entity_id: sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch\n to: ringing\n condition: []\n action:\n - service: var.update\n data:\n entity_id:\n - var.callmon_name\n - var.callmon_number\n - var.callmon_time\n - var.callmon_date\n - service: input_text.set_value\n target:\n entity_id: input_text.callmon_lastcaller\n data:\n value: '{{ state_attr(\"sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch\", \"from\")}}\n ({{ state_attr(\"sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch\", \"from_name\")\n }})'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "fritz box call monitor sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Lastcaller",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.callmon_lastcaller",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Date",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_date",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Name",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_name",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Number",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_number",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Time",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_time",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "2779b29f-8710-4a7b-adc8-03ec212b4ffb",
|
||
"automation": "- alias: Festnetzbenachrichtigung\n id: 2779b29f-8710-4a7b-adc8-03ec212b4ffb\n description: Benachrichtigen bei verpassten anrufen\n trigger:\n - platform: state\n entity_id: sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch\n from: ringing\n condition: []\n action:\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''idle'' }}'\n then:\n - service: script.notify_engine\n data:\n title: '📞 Verpasster Anruf 📞\n\n '\n value1: '{{ states.var.callmon_name.state }} ({{\n\n states.var.callmon_number.state }}) hat am {{\n\n states.var.callmon_date.state }} um {{ states.var.callmon_time.state\n\n }} Uhr angerufen.\n\n '\n who: home\n tag_id: information\n group: Telephone\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''talking'' }}'\n - condition: template\n value_template: '{{ trigger.to_state.attributes.device == ''40'' }}'\n then:\n - service: script.notify_engine\n data:\n title: '📞 Verpasster Anruf - Weiterleitung AB 📞\n\n '\n value1: '{{ states.var.callmon_name.state }} ({{\n\n states.var.callmon_number.state }}) hat am {{\n\n states.var.callmon_date.state }} um {{ states.var.callmon_time.state\n\n }} Uhr angerufen und wird jetzt auf den AB umgeleitet.\n\n '\n who: home\n tag_id: information\n group: Telephone\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "fritz box call monitor sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.fritz_box_7590_ax_anrufmonitor_telefonbuch",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Date",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_date",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Name",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_name",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Number",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_number",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Callmon Time",
|
||
"room": null,
|
||
"type": "var",
|
||
"id": {
|
||
"entity_id": "var.callmon_time",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "74cbcca6-c48d-4def-b2fe-7b5664a94701",
|
||
"automation": "- alias: camActiveLight\n description: Light sync to webcam\n id: 74cbcca6-c48d-4def-b2fe-7b5664a94701\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.bcwmc5cg4100cy0_kameraaktiv\n condition:\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n - condition: state\n entity_id: schedule.buro_tage\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: binary_sensor.bcwmc5cg4100cy0_kameraaktiv\n state: 'on'\n then:\n - service: light.turn_on\n metadata: {}\n data:\n rgb_color:\n - 255\n - 0\n - 0\n brightness_pct: 100\n target:\n entity_id: light.schreibtischlicht\n else:\n - service: light.turn_on\n metadata: {}\n data:\n rgb_color:\n - 30\n - 255\n - 0\n flash: long\n target:\n entity_id: light.schreibtischlicht\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.schreibtischlicht",
|
||
"config": [
|
||
{
|
||
"name": "workday sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.workday_sensor",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "office days schedule",
|
||
"room": "office",
|
||
"type": "schedule",
|
||
"id": {
|
||
"entity_id": "schedule.buro_tage",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "webcam active binary sensor",
|
||
"room": "office",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.bcwmc5cg4100cy0_kameraaktiv",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "desk light",
|
||
"room": "office",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.schreibtischlicht",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "797ec8b1-3e74-4128-b62f-68070ec64749",
|
||
"automation": "- alias: camCommand\n id: 797ec8b1-3e74-4128-b62f-68070ec64749\n description: Antwortet auf den /cam Befehl\n trigger:\n - platform: event\n event_type: telegram_command\n event_data:\n command: /cam\n condition: []\n action:\n - service: script.send_cam_snaps\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Send Cam Snaps",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.send_cam_snaps",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "814a77e9-f008-44df-ac4d-60a4068f2ce8",
|
||
"automation": "- alias: Check for flights\n id: 814a77e9-f008-44df-ac4d-60a4068f2ce8\n description: ''\n trigger:\n - platform: time_pattern\n hours: /2\n condition: []\n action:\n - action: script.check_cal4flights\n data:\n lookahead_hours: 3\n mode: single",
|
||
"config": []
|
||
},
|
||
{
|
||
"id": "abc1c369-36b2-4084-9fc4-ce72e133ce5e",
|
||
"automation": "- alias: majaCheckHome\n id: abc1c369-36b2-4084-9fc4-ce72e133ce5e\n description: Check on maja when she's alone\n trigger:\n - platform: state\n entity_id:\n - person.silke\n - person.miguel\n condition:\n - condition: state\n entity_id: input_boolean.maja_home\n state: 'on'\n action:\n - if:\n - condition: state\n entity_id: group.parents\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: timer.maja_check\n state: idle\n then:\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.maja_check\n - if:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.parents\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: group.guests\n state: home\n - condition: state\n entity_id: timer.maja_check\n state: idle\n then:\n - service: timer.start\n data: {}\n target:\n entity_id: timer.maja_check\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "silke person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.silke",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "miguel person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "parents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.parents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.maja_home",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "guests group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.guests",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja check timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.maja_check",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "0c239eff-b9be-4e90-a936-2e0144783bc9",
|
||
"automation": "- alias: Check if machine is washing\n id: 0c239eff-b9be-4e90-a936-2e0144783bc9\n description: Check if machine is washing\n trigger:\n - platform: numeric_state\n entity_id: sensor.kaffemaschine_power\n above: 600\n for: 00:00:10\n condition:\n - condition: state\n entity_id: timer.kaffeemaschine_auto_aus\n state: idle\n action:\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.coffee_machine_is_washing\n - action: timer.start\n data: {}\n target:\n entity_id: timer.kaffeemaschine_auto_aus\n - delay:\n hours: 0\n minutes: 0\n seconds: 10\n milliseconds: 0\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.coffee_machine_is_washing\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "coffee machine power sensor",
|
||
"room": "kitchen",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.kaffemaschine_power",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "coffee machine is washing input boolean",
|
||
"room": "kitchen",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.coffee_machine_is_washing",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "coffee machine auto off timer",
|
||
"room": "kitchen",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.kaffeemaschine_auto_aus",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "770ba890-cb06-4463-9447-161abd6e6195",
|
||
"automation": "- alias: ChoresNotif\n id: 770ba890-cb06-4463-9447-161abd6e6195\n description: Benachrichtigt, wenn Hausarbeiten anstehen.\n trigger:\n - platform: time\n at: input_datetime.chores_notif_time\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - condition: state\n entity_id: binary_sensor.grocy_overdue_chores\n state: 'on'\n action:\n - service: script.notify_engine\n data:\n title: '🏠 Hausarbeiten fällig 🏠\n\n '\n value1: \"{% set chores = state_attr(\\\"binary_sensor.grocy_overdue_chores\\\",\\\n \\ \\\"overdue_chores\\\") %} Folgende Hausarbeiten stehen heute an oder sind überfällig:\\\n \\ {{- '\\\\n' -}} {% for i in chores %} - {{ i.name }}\\n \\U0001F4DD {{ i.description\\\n \\ }}\\n \\U0001F464 {{ i.next_execution_assigned_user.display_name }}\\n \\U0001F5D3\\\n ️ {{ as_timestamp(i.next_estimated_execution_time) | timestamp_custom('%d.%m.%Y\\\n \\ %H:%M') }}\\n{% endfor %}\"\n who: home\n tag_id: information\n group: Hausarbeiten\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Grocy Overdue Chores",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.grocy_overdue_chores",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a0db69d9-ec22-4abb-ab82-01ff9a12f95b",
|
||
"automation": "- alias: climateAutoOffTimer\n id: a0db69d9-ec22-4abb-ab82-01ff9a12f95b\n description: ''\n trigger:\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.climate_auto_off\n - platform: event\n event_type: timer.cancelled\n event_data:\n entity_id: timer.climate_auto_off\n condition: []\n action:\n - service: climate.turn_off\n target:\n entity_id: climate.daikinap90134\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "daikin climate",
|
||
"room": "unknown",
|
||
"type": "climate",
|
||
"id": {
|
||
"entity_id": "climate.daikinap90134",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "climate auto off timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.climate_auto_off",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "dac8ab87-b5ab-4795-9be4-b93df9aee932",
|
||
"automation": "- alias: climateAutoOnTimer\n id: dac8ab87-b5ab-4795-9be4-b93df9aee932\n description: ''\n trigger:\n - platform: event\n event_type: timer.started\n event_data:\n entity_id: timer.climate_auto_off\n condition: []\n action:\n - service: climate.turn_on\n target:\n entity_id:\n - climate.daikinap90134\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "daikin climate",
|
||
"room": "unknown",
|
||
"type": "climate",
|
||
"id": {
|
||
"entity_id": "climate.daikinap90134",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "climate auto off timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.climate_auto_off",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "fa040eca-2d48-4243-a8c6-28b78d5b3f7c",
|
||
"automation": "- alias: MedisConsume\n id: fa040eca-2d48-4243-a8c6-28b78d5b3f7c\n description: Medi consume in Grocy\n trigger:\n - platform: state\n entity_id: input_boolean.medis_miguel_heuschnupfen_graeser\n to: 'on'\n id: heuschnupfen\n - platform: state\n entity_id:\n - input_boolean.medis_miguel_vitamind\n - input_boolean.medis_silke_vitamind\n to: 'on'\n id: vitamin_d\n action:\n - variables:\n product_id: ''\n - alias: Typ von medi rausfinden\n choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''heuschnupfen'' }}'\n sequence:\n - variables:\n product_id: '66'\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''vitamin_d'' }}'\n sequence:\n - variables:\n product_id: '68'\n - if:\n - condition: template\n value_template: '{{ product_id != '''' }}'\n then:\n - action: grocy.consume_product_from_stock\n data:\n allow_subproduct_substitution: true\n transaction_type: CONSUME\n product_id: '{{ product_id }}'\n amount: 1\n spoiled: false\n mode: queued\n max: 5",
|
||
"config": [
|
||
{
|
||
"name": "Medis Miguel Heuschnupfen Graeser",
|
||
"room": null,
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.medis_miguel_heuschnupfen_graeser",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Medis Miguel Vitamin D",
|
||
"room": null,
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.medis_miguel_vitamind",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Medis Silke Vitamin D",
|
||
"room": null,
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.medis_silke_vitamind",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "0be8fbce-80d5-4288-8531-b384258445d6",
|
||
"automation": "- alias: CommitCustomComponents\n id: 0be8fbce-80d5-4288-8531-b384258445d6\n description: Automatischer commit der neusten HACS updates\n trigger:\n - trigger: time\n at: '23:55:00'\n condition: []\n action:\n - service: shell_command.auto_commit_cc\n mode: single",
|
||
"config": []
|
||
},
|
||
{
|
||
"id": "041e11a9-6487-4743-b846-3c340834a87f",
|
||
"automation": "- alias: DailyResets\n id: 041e11a9-6487-4743-b846-3c340834a87f\n description: Daily reset\n trigger:\n platform: time\n at: 00:00:00\n action:\n - action: input_number.set_value\n target:\n entity_id: input_number.heissgetranke_zahler\n data:\n value: 0",
|
||
"config": [
|
||
{
|
||
"name": "hot drinks counter input number",
|
||
"room": "unknown",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.heissgetranke_zahler",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "0fc692c0-c6e5-4bef-8370-fabb12dcdf5d",
|
||
"automation": "- alias: SleepModeDeactivate\n id: 0fc692c0-c6e5-4bef-8370-fabb12dcdf5d\n description: Schaltet den Schlafmodus automatisch aus, wenn keine Schlafenszeit\n ist\n trigger:\n - platform: state\n entity_id: binary_sensor.schlafenszeit\n to: 'off'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.night_mode\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "sleep time binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.schlafenszeit",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "night mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.night_mode",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "58eb700c-0b2b-4a8b-9cfe-80a1a224f32a",
|
||
"automation": "- alias: DishwasherNotif\n id: 58eb700c-0b2b-4a8b-9cfe-80a1a224f32a\n description: Benachrichtigt wenn die Spülmaschine fertig ist\n trigger:\n - platform: state\n entity_id:\n - input_boolean.spulmaschine_aktiv\n to: 'off'\n action:\n - service: script.notify_engine\n data:\n title: '🍴🫧 Spülmaschine 🍴🫧\n\n '\n value1: Spülmaschine ist fertig und kann ausgeräumt werden.\n who: home\n tag_id: information\n group: Dishes\n - service: input_boolean.turn_off\n entity_id: input_boolean.dishwasher_ready\n - action: grocy.execute_chore\n data:\n chore_id: '7'\n done_by: '1'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "dishwasher active input boolean",
|
||
"room": "kitchen",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.spulmaschine_aktiv",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dishwasher ready input boolean",
|
||
"room": "kitchen",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.dishwasher_ready",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "abde5a7b-b2a6-49e5-9a90-9ed21c9978b1",
|
||
"automation": "- alias: Show doors open\n id: abde5a7b-b2a6-49e5-9a90-9ed21c9978b1\n description: Show doors open\n trigger:\n - platform: state\n entity_id: number.count_doors_open\n action:\n - if:\n - condition: numeric_state\n entity_id: number.count_doors_open\n below: 1\n then:\n - action: script.awtrix3delapp\n data:\n app_id: doors\n else:\n - action: script.awtrix3customapp\n data:\n app_id: doors\n text: '{{ states(''number.count_doors_open'') | int }}'\n icon: '9766'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "doors open count number",
|
||
"room": "unknown",
|
||
"type": "number",
|
||
"id": {
|
||
"entity_id": "number.count_doors_open",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ee292445-9310-491a-bfde-075737bd1b8e",
|
||
"automation": "- alias: DryerActive\n id: ee292445-9310-491a-bfde-075737bd1b8e\n description: Setzt den Helfer, wenn der Trockner läuft.\n trigger:\n - platform: numeric_state\n entity_id: sensor.trockner_steckdose_power\n above: '15'\n for: 00:01:00\n condition:\n - condition: state\n entity_id: input_boolean.dryer_active\n state: 'off'\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.dryer_active\n - service: input_number.set_value\n data_template:\n value: '{{ states(''sensor.trockner_steckdose_energy'') }}'\n entity_id: input_number.dryer_cycle_consumption\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "dryer socket power sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.trockner_steckdose_power",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dryer socket energy sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.trockner_steckdose_energy",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dryer active input boolean",
|
||
"room": "laundry",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.dryer_active",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dryer cycle consumption input number",
|
||
"room": "laundry",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.dryer_cycle_consumption",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "45b44c95-9e9f-42d9-bc0e-369ab3a74bb9",
|
||
"automation": "- alias: DryerNotif\n id: 45b44c95-9e9f-42d9-bc0e-369ab3a74bb9\n description: Benachrichtigt wenn der Trockner fertig ist\n trigger:\n - platform: numeric_state\n entity_id: sensor.trockner_steckdose_power\n below: '1.0'\n for: 00:01:00\n condition:\n - condition: state\n entity_id: input_boolean.dryer_active\n state: 'on'\n action:\n - service: script.notify_engine\n data:\n title: '♨️ Trockner ♨️\n\n '\n value1: '{% set cycleConsumption = ( states(\"sensor.trockner_steckdose_energy\")\n | float - states(\"input_number.dryer_cycle_consumption\") | float ) %} {%\n set costs = cycleConsumption * states(\"input_number.strompreis\") | float(2)\n %} Trockner ist fertig. Verbrauch {{ cycleConsumption | float|round(2) }}\n kWh. Das macht ca. {{ costs | float|round(2) }} €'\n who: home\n tag_id: information\n group: Laundry\n - service: input_boolean.turn_off\n entity_id: input_boolean.dryer_active\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "dryer socket power sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.trockner_steckdose_power",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dryer socket energy sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.trockner_steckdose_energy",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dryer active input boolean",
|
||
"room": "laundry",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.dryer_active",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "dryer cycle consumption input number",
|
||
"room": "laundry",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.dryer_cycle_consumption",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "electricity price input number",
|
||
"room": "unknown",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.strompreis",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ed8f19ea-d76e-4212-b760-0893e929d23a",
|
||
"automation": "- alias: DummyHomeStates\n id: ed8f19ea-d76e-4212-b760-0893e929d23a\n description: Dummy Home state trackers\n trigger:\n - platform: state\n entity_id:\n - input_boolean.maja_home\n - input_boolean.milo_home\n action:\n - service: script.dummy_tracker_states\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "milo home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.milo_home",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.maja_home",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Dummy Tracker States",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.dummy_tracker_states",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "36b28e7a-7fdf-4e04-b275-09f577a36913",
|
||
"automation": "- alias: Dusk\n id: 36b28e7a-7fdf-4e04-b275-09f577a36913\n description: Abenddämmerungsautomation\n trigger:\n - platform: time\n at: sensor.sun_next_dusk\n condition: []\n action:\n - if:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: autumn\n - condition: state\n entity_id: sensor.season\n state: winter\n then:\n - action: switch.turn_on\n target:\n entity_id: switch.lichterkette\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "light chain switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.lichterkette",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Season",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.season",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "6ce30133-5f41-456c-a80f-111fbe92bd0c",
|
||
"automation": "- alias: Show dwd warning on clock\n id: 6ce30133-5f41-456c-a80f-111fbe92bd0c\n description: Show dwd warning on clock\n trigger:\n - platform: state\n entity_id: sensor.home_aktuelle_warnstufe\n condition: []\n action:\n - variables:\n warn_count: '{{ state_attr(''sensor.home_aktuelle_warnstufe'', ''warning_count'')\n | int(0) }}'\n - repeat:\n for_each: '{{ range(1, warn_count + 1) | list }}'\n sequence:\n - service: script.awtrix3customapp\n data:\n app_id: dwd_{{ repeat.item }}\n text: '{{ state_attr(''sensor.home_aktuelle_warnstufe'', ''warning_'' ~\n repeat.item ~ ''_name'') }}'\n icon: '6874'\n - variables:\n max_possible: 3\n - repeat:\n for_each: '{{ range(warn_count + 1, max_possible + 1) | list }}'\n sequence:\n - service: script.awtrix3delapp\n data:\n app_id: dwd_{{ repeat.item }}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "home current warning level sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.home_aktuelle_warnstufe",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "00c0aae8-8fa7-44bc-9611-676dbe4869b7",
|
||
"automation": "- alias: Wetterwarnung start/change\n id: 00c0aae8-8fa7-44bc-9611-676dbe4869b7\n description: DWD Wetterwarnungen\n trigger:\n - platform: state\n entity_id:\n - sensor.home_aktuelle_warnstufe\n - sensor.home_vorwarnstufe\n attribute: warning_count\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - '{{ trigger.from_state.state != unavailable }}'\n - '{{ trigger.to_state.attributes.warning_count != trigger.from_state.attributes.warning_count\n }}'\n action:\n - variables:\n current: sensor.home_aktuelle_warnstufe\n advance: sensor.home_vorwarnstufe\n current_count: '{{ state_attr(current, ''warning_count'') }}'\n advance_count: '{{ state_attr(advance, ''warning_count'') }}'\n region_name: '{{ state_attr(current, ''region_name'') if ''current'' in trigger.entity_id\n else state_attr(advance, ''region_name'') }}'\n title: \"{% if current_count in [0, none] and advance_count in [0, none] %}\\n\\\n \\ Entwarnung für {{ trigger.to_state.attributes.friendly_name }}\\n{% else\\\n \\ %}\\n {{ region_name }}: WETTERWARNUNG ({{ current_count + advance_count\\\n \\ }})\\n{% endif %}\"\n weekdays:\n - Montag\n - Dienstag\n - Mittwoch\n - Donnerstag\n - Freitag\n - Samstag\n - Sonntag\n format_warning: \"{% macro format_warning(warning_source, index) %}\\n {% set\\\n \\ headline = state_attr(warning_source, 'warning_' ~ index ~ '_headline')\\\n \\ %}\\n {% set description = state_attr(warning_source, 'warning_' ~ index\\\n \\ ~ '_description') %}\\n {% set instruction = state_attr(warning_source,\\\n \\ 'warning_' ~ index ~ '_instruction') %}\\n {% set time_start = (state_attr(warning_source,\\\n \\ 'warning_' ~ index ~ '_start')|as_timestamp(now()) )|timestamp_custom('%d.%m.%Y,\\\n \\ %R', true, 'N/A') %}\\n {% set time_end = (state_attr(warning_source, 'warning_'\\\n \\ ~ index ~ '_end')|as_timestamp(now()) )|timestamp_custom('%d.%m.%Y, %R',\\\n \\ true, 'N/A') %}\\n {% set weekday_start = (state_attr(warning_source, 'warning_'\\\n \\ ~ index ~ '_start')|as_timestamp(now().timestamp()) )|timestamp_custom('%w',\\\n \\ true, now().weekday() )|int %}\\n {% set weekday_end = (state_attr(warning_source,\\\n \\ 'warning_' ~ index ~ '_end')|as_timestamp(now().timestamp()) )|timestamp_custom('%w',\\\n \\ true, now().weekday() )|int %}\\n {% set last_update = (state_attr(warning_source,\\\n \\ 'last_update')|as_timestamp(now()) )|timestamp_custom('%d.%m.%Y, %R', true,\\\n \\ 'N/A') %}\\n *{{ headline }}*\\n ⏰ _{{ weekdays[weekday_start-1] ~ ', '\\\n \\ ~ time_start ~ ' - ' ~ weekdays[weekday_end-1] ~ ', ' ~ time_end }}_\\n\\n\\\n \\ {{ description|trim }}\\n {% if instruction != none %}\\n *Handlungsempfehlung:*\\n\\\n \\ {{ instruction|trim }}\\n {% endif %}\\n Letzte Aktualisierung: {{ last_update\\\n \\ }}\\n{% endmacro %}\"\n message: \"{% if current_count in [0, none] and advance_count in [0, none] %}\\n\\\n \\ Die Wetterlage hat sich wieder normalisiert.\\n{% else %}\\n {% for i in\\\n \\ range(current_count) %}\\n {{ format_warning(current, loop.index) }}\\n\\\n \\ {% if not loop.last %}*** ***{% endif %}\\n {% endfor %}\\n {% if current_count\\\n \\ not in [0, none] and advance_count not in [0, none] %}*** ***{% endif %}\\n\\\n \\ {% for i in range(advance_count) %}\\n {{ format_warning(advance, loop.index)\\\n \\ }}\\n {% if not loop.last %}*** ***{% endif %}\\n {% endfor %}\\n{% endif\\\n \\ %}\"\n - service: script.notify_engine\n data:\n title: '{{ title }}'\n value1: '{{ message }}'\n tag_id: information\n group: Wetter\n photo: https://www.dwd.de/DWD/warnungen/warnstatus/SchilderSU.jpg\n mode: parallel",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "home current warning level sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.home_aktuelle_warnstufe",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "home advance warning sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.home_vorwarnstufe",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ba321099-add9-41a4-bc53-0699f29977e6",
|
||
"automation": "- alias: GrocyNotifExpired\n id: ba321099-add9-41a4-bc53-0699f29977e6\n description: Benachrichtigt, wenn Produkte ablaufen sind\n trigger:\n - platform: state\n entity_id: binary_sensor.grocy_expired_products\n attribute: count\n condition:\n - condition: state\n entity_id: binary_sensor.grocy_expired_products\n state: 'on'\n action:\n - service: script.notify_engine\n data:\n title: '🥫☠️ Produkte sind abgelaufen 🍲☠️\n\n '\n value1: '{% set expiredProducts = state_attr(\"binary_sensor.grocy_expired_products\",\n \"expired_products\")%} {% set expiredCount = state_attr(\"binary_sensor.grocy_expired_products\",\n \"count\")%}\n\n Folgende {{ expiredCount }} Produkte sind abgelaufen: {{- ''\\n'' -}} {% for\n i in expiredProducts %} - {{ i.name }} {{ as_timestamp(i.best_before_date)\n | timestamp_custom(''%d.%m.%Y'') }} {{- ''\\n'' -}} {% endfor %}'\n who: home\n tag_id: information\n group: Food\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Grocy Expired Products",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.grocy_expired_products",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "eb62c777-22eb-4bd7-bffe-8f705cd7f4c8",
|
||
"automation": "- alias: GrocyNotifExpiring\n id: eb62c777-22eb-4bd7-bffe-8f705cd7f4c8\n description: Benachrichtigt, wenn Produkte bald ablaufen\n trigger:\n - platform: state\n entity_id: binary_sensor.grocy_expiring_products\n attribute: count\n condition:\n - condition: state\n entity_id: binary_sensor.grocy_expiring_products\n state: 'on'\n action:\n - service: script.notify_engine\n data:\n title: '🥫 Produkte laufen bald ab 🍲\n\n '\n value1: '{% set expiringProducts = state_attr(\"binary_sensor.grocy_expiring_products\",\n \"expiring_products\")%} {% set expiringCount = state_attr(\"binary_sensor.grocy_expiring_products\",\n \"count\")%}\n\n Es laufen folgende {{expiringCount}} Produkte bald ab: {{- ''\\n'' -}} {% for\n i in expiringProducts %} - {{ i.name }} {{ as_timestamp(i.best_before_date)\n | timestamp_custom(''%d.%m.%Y'') }} {{- ''\\n'' -}} {% endfor %}'\n who: home\n tag_id: information\n group: Food\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Grocy Expiring Products",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.grocy_expiring_products",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "0d54b339-fb39-44f2-8675-cd24ccf2f17c",
|
||
"automation": "- alias: Flights above home\n id: 0d54b339-fb39-44f2-8675-cd24ccf2f17c\n description: Flights above home\n trigger:\n - platform: event\n event_type: flightradar24_entry\n condition:\n - condition: state\n entity_id: group.parents\n state: home\n action:\n - action: script.awtrix3notif\n data:\n text: '{{ trigger.event.data.airport_origin_city }} -> {{ trigger.event.data.airport_destination_city\n }}'\n icon: '8879'\n repeat: 2\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "parents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.parents",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "8767ef86-9e59-4813-bd4d-9a293a9738a3",
|
||
"automation": "- alias: majaGassiTimes\n id: 8767ef86-9e59-4813-bd4d-9a293a9738a3\n description: Maja Gassi times\n trigger:\n - platform: state\n entity_id: schedule.maja_gassi_zeiten\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: schedule.maja_gassi_zeiten\n state: 'on'\n then:\n - if:\n - condition: state\n entity_id: person.miguel\n state: home\n then:\n - service: input_select.select_option\n target:\n entity_id: input_select.maja_person_sync\n data:\n option: miguel\n else:\n - service: input_select.select_option\n target:\n entity_id: input_select.maja_person_sync\n data:\n option: silke\n else:\n - service: input_select.select_option\n target:\n entity_id: input_select.maja_person_sync\n data:\n option: alleine\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "miguel person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja person sync input select",
|
||
"room": "unknown",
|
||
"type": "input_select",
|
||
"id": {
|
||
"entity_id": "input_select.maja_person_sync",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Maja Gassi Zeiten",
|
||
"room": null,
|
||
"type": "schedule",
|
||
"id": {
|
||
"entity_id": "schedule.maja_gassi_zeiten",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9eceacec-30fe-415a-81c0-50e54b00b6e4",
|
||
"automation": "- alias: TVProgEvening\n id: 9eceacec-30fe-415a-81c0-50e54b00b6e4\n description: Benachrichtigt über das TV Programm um 20:15\n trigger:\n - platform: time\n at: '20:05:00'\n condition:\n - condition: state\n entity_id: group.residents\n state: home\n action:\n - service: button.press\n data: {}\n target:\n entity_id: button.tv_prog_2015_refresh_button\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - service: script.notify_engine\n data:\n title: '📺 TV Programm heut abend 📺\n\n '\n value1: \"{% set tvProg = states.sensor.tv_prog_2015.attributes %} {% for i in\\\n \\ tvProg %} {% if not((i == \\\"icon\\\" or i == \\\"friendly_name\\\"))%}\\n - {{\\\n \\ state_attr('sensor.tv_prog_2015',i) }} ({{ i }})\\n{% endif %} {% endfor\\\n \\ %}\"\n who: home\n tag_id: information\n group: TV\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "residents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.residents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "TV Prog 2015 Refresh Button",
|
||
"room": null,
|
||
"type": "button",
|
||
"id": {
|
||
"entity_id": "button.tv_prog_2015_refresh_button",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "91949311-550e-466b-abf0-996d26e324f9",
|
||
"automation": "- alias: getWorkRestHTML\n id: 91949311-550e-466b-abf0-996d26e324f9\n description: Get work restaurant html page\n trigger:\n - trigger: time\n at: '20:00:00'\n condition:\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n action:\n - action: shell_command.browserless_scraper\n data:\n function: work_restaurant.js\n output: work_restaurant.html\n - delay: 0:00:45\n - action: multiscrape.trigger_work_meals\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "workday sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.workday_sensor",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "this_is_halloween",
|
||
"automation": "- id: this_is_halloween\n alias: This is Halloween\n initial_state: true\n trigger:\n - platform: time\n at: input_datetime.halloween_show\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.this_is_halloween\n - delay: 01:00:00\n - service: input_boolean.turn_off\n entity_id: input_boolean.this_is_halloween",
|
||
"config": [
|
||
{
|
||
"name": "This Is Halloween",
|
||
"room": null,
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.this_is_halloween",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "operation haunted house",
|
||
"automation": "- id: operation haunted house\n alias: Operation Haunted House\n trigger:\n - platform: state\n entity_id: input_boolean.this_is_halloween\n to: 'on'\n from: 'off'\n id: start\n - platform: state\n entity_id: input_boolean.this_is_halloween\n id: stop\n from: 'on'\n to: 'off'\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: start\n sequence:\n - service: script.turn_on\n target:\n entity_id: script.haunted_house\n - conditions:\n - condition: trigger\n id: stop\n sequence:\n - service: script.turn_off\n target:\n entity_id: script.haunted_house\n - service: scene.turn_on\n target:\n entity_id: scene.before_haunting\n default: []\n initial_state: true\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "This Is Halloween",
|
||
"room": null,
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.this_is_halloween",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Before Haunting",
|
||
"room": null,
|
||
"type": "scene",
|
||
"id": {
|
||
"entity_id": "scene.before_haunting",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Haunted House",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.haunted_house",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Turn Off",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.turn_off",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Turn On",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.turn_on",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9f575814-8f98-411a-93a9-1b51bcd4cded",
|
||
"automation": "- id: 9f575814-8f98-411a-93a9-1b51bcd4cded\n alias: Home-Assistant Neugestartet\n initial_state: true\n trigger:\n - platform: homeassistant\n event: start\n action:\n - service: script.dummy_tracker_states\n data: {}\n - service: script.notify_engine\n data:\n title: Home Assistant\n value1: Server wurde neugestartet\n who: miguel\n tag_id: information\n group: System",
|
||
"config": [
|
||
{
|
||
"name": "Dummy Tracker States",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.dummy_tracker_states",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "82d9f15e-5dae-4708-997f-6bae2bc337ee",
|
||
"automation": "- alias: Show holiday countdown on clock\n id: 82d9f15e-5dae-4708-997f-6bae2bc337ee\n description: Show holiday countdown on clock\n trigger:\n - platform: time\n at: 00:01:00\n condition: []\n action:\n - variables:\n triggered_entity: \"{{ states\\n | selectattr('entity_id', 'match', 'sensor.anniversary_urlaub_')\\n\\\n \\ | selectattr('state', 'is_number')\\n | selectattr('state', 'defined')\\n\\\n \\ | selectattr('state', 'gt', '0')\\n | map(attribute='entity_id')\\n | list\\n\\\n \\ | first\\n}}\"\n entity_name: '{{ state_attr(triggered_entity, ''friendly_name'') }}'\n - if:\n - condition: template\n value_template: '{{ triggered_entity != '''' }}'\n then:\n - action: script.awtrix3customapp\n data:\n app_id: holiday_{{ entity_name }}\n text: '{{ states(triggered_entity) }} {{ state_attr(triggered_entity, ''unit_of_measurement'')}}\n - {{ entity_name }}'\n icon: '15644'\n else:\n - action: script.awtrix3delapp\n data:\n app_id: holiday_{{ entity_name }}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "7c88607a-9f86-45aa-852c-601e2c76385e",
|
||
"automation": "- alias: UrlaubsmodusAutom\n id: 7c88607a-9f86-45aa-852c-601e2c76385e\n description: Schaltet das Smart Home System in den Urlaubsmodus.\n trigger:\n - platform: state\n entity_id: input_boolean.holiday_mode\n condition: []\n action:\n - if:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'on'\n then:\n - service: script.notify_engine\n data:\n title: 'Urlaubsmodus eingeschaltet\n\n '\n value1: 🌴\n who: home\n tag_id: information\n group: Urlaub\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.kameralichter\n else:\n - service: script.notify_engine\n data:\n title: 'Urlaubsmodus ausgeschaltet\n\n '\n value1: 🌴\n who: home\n tag_id: information\n group: Urlaub\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.kameralichter\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "camera lights",
|
||
"room": "unknown",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.kameralichter",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5899d18e-e2f3-4575-be82-4d81effc7293",
|
||
"automation": "- alias: UrlaubsModus\n id: 5899d18e-e2f3-4575-be82-4d81effc7293\n description: Schaltet das Smart Home System in den Urlaubsmodus.\n trigger:\n - platform: state\n entity_id: input_boolean.holiday_mode\n condition: []\n action:\n - if:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'on'\n then:\n - action: script.notify_engine\n data:\n title: 'Urlaubsmodus eingeschaltet\n\n '\n value1: 🌴\n who: home\n tag_id: information\n group: Urlaub\n - action: light.turn_off\n data: {}\n target:\n entity_id: light.kameralichter\n - action: script.awtrix3delapp\n data:\n app_id: mini\n - action: script.awtrix3delapp\n data:\n app_id: miguel\n - action: script.awtrix3delapp\n data:\n app_id: silke\n - action: script.awtrix3delapp\n data:\n app_id: milo\n else:\n - action: script.notify_engine\n data:\n title: 'Urlaubsmodus ausgeschaltet\n\n '\n value1: 🌴\n who: home\n tag_id: information\n group: Urlaub\n - action: light.turn_on\n data: {}\n target:\n entity_id: light.kameralichter\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "camera lights",
|
||
"room": "unknown",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.kameralichter",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9fad1c85-4e6d-4864-91ee-54b0fc12c725",
|
||
"automation": "- alias: parentsHome\n id: 9fad1c85-4e6d-4864-91ee-54b0fc12c725\n description: Parents are at home again\n trigger:\n - platform: state\n entity_id: group.parents\n to: home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n condition: []\n action:\n - action: alarm_control_panel.alarm_disarm\n data:\n code: secret alarm_code\n target:\n entity_id: alarm_control_panel.alarmo\n - action: switch.turn_off\n target:\n entity_id: switch.kamera_steckdose_wz\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "alarmo alarm control panel",
|
||
"room": "unknown",
|
||
"type": "alarm_control_panel",
|
||
"id": {
|
||
"entity_id": "alarm_control_panel.alarmo",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "parents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.parents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "kamera steckdose wz switch",
|
||
"room": "living_room",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.kamera_steckdose_wz",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "daecbf74-77b8-4a46-b70c-0b4e38ee73c6",
|
||
"automation": "- alias: HospitalNotif\n id: daecbf74-77b8-4a46-b70c-0b4e38ee73c6\n description: Benachrichtigt wenn jemand im Krankenhaus ist.\n trigger:\n - platform: state\n entity_id: zone.slk_klinik\n from: '0'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - platform: state\n entity_id: zone.grk_klinik_sinsheim\n from: '0'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n condition: []\n action:\n - service: script.notify_engine\n data:\n title: '🚑🏥 Krankenhaus 🏥🚑\n\n '\n value1: '{% set persons = state_attr(trigger.entity_id, ''persons'') %} Achtung!\n {% for i in persons %} - {{ state_attr(i,''friendly_name'') }} {% endfor %}\n ist/sind seit 5min in folgendem Krankenhaus: {{ trigger.to_state.attributes.friendly_name\n }}.'\n who: home\n tag_id: alert\n group: Notfall\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "GRK Klinik Sinsheim",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.grk_klinik_sinsheim",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "SLK Klinik",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.slk_klinik",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "c8718743-1084-41e6-a047-3483fe692c8b",
|
||
"automation": "- alias: Show daily hot beverages\n id: c8718743-1084-41e6-a047-3483fe692c8b\n description: Show daily hot beverages\n trigger:\n - platform: state\n entity_id: input_number.heissgetranke_zahler\n condition: []\n action:\n - if:\n - condition: template\n value_template: '{{ states(''input_number.heissgetranke_zahler'') | int == 0\n }}'\n then:\n - action: script.awtrix3delapp\n data:\n app_id: coffee\n else:\n - action: script.awtrix3customapp\n data:\n app_id: coffee\n text: '{{ states(''input_number.heissgetranke_zahler'') | int }}'\n icon: '14060'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "hot drinks counter input number",
|
||
"room": "unknown",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.heissgetranke_zahler",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "e90f58ed-9d21-499f-aa84-81a9e2523643",
|
||
"automation": "- alias: Show humidity on clock\n id: e90f58ed-9d21-499f-aa84-81a9e2523643\n description: ' Show humidity on clock'\n trigger:\n - platform: state\n entity_id: sensor.wohnungsfeuchtigkeit\n condition: []\n action:\n - action: script.awtrix3customapp\n data:\n app_id: humidity\n text: '{{ states(''sensor.wohnungsfeuchtigkeit'') }} {{ state_attr(''sensor.wohnungsfeuchtigkeit'',\n ''unit_of_measurement'') }}'\n icon: '2423'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Wohnungsfeuchtigkeit",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.wohnungsfeuchtigkeit",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "aa5b46dc-164e-4d52-9d53-4f078c7dd107",
|
||
"automation": "- alias: Kinderzimmerlicht Auto an\n id: aa5b46dc-164e-4d52-9d53-4f078c7dd107\n description: ''\n trigger:\n - platform: event\n event_type: timer.started\n event_data:\n entity_id: timer.children_light_on\n condition:\n - condition: state\n entity_id: input_boolean.automatic_lights\n state: 'on'\n action:\n - service: light.turn_on\n target:\n entity_id: light.kinderzimmerlicht\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "children room light",
|
||
"room": "children_room",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.kinderzimmerlicht",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "children light on timer",
|
||
"room": "children_room",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.children_light_on",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "automatic lights input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.automatic_lights",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ab25af73-cf63-4538-9b78-a7f01e100066",
|
||
"automation": "- alias: 'Kinderzimmerlicht ohne Bewegung '\n id: ab25af73-cf63-4538-9b78-a7f01e100066\n description: Kinderzimmer aus wenn keine Bewegung\n trigger:\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.children_light_on\n condition: []\n action:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.kinderzimmerlicht\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "children room light",
|
||
"room": "children_room",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.kinderzimmerlicht",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "children light on timer",
|
||
"room": "children_room",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.children_light_on",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "b3ad247c-d77b-437c-8cba-8c3fdb7b99d9",
|
||
"automation": "- alias: Kinderzimmer bewegung erkannt\n id: b3ad247c-d77b-437c-8cba-8c3fdb7b99d9\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.kinderzimmerbewegungssensor_occupancy\n to: 'on'\n condition:\n - condition: time\n after: '17:00:00'\n before: 09:00:00\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.rolladen_kinderzimmer\n state: closed\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n action:\n - if:\n - condition: state\n entity_id: timer.children_light_on\n state: idle\n then:\n - service: timer.start\n target:\n entity_id: timer.children_light_on\n else:\n - service: timer.change\n data:\n duration: 00:05:00\n target:\n entity_id: timer.children_light_on\n alias: Add 5min to timer\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "children room roller shutter",
|
||
"room": "children_room",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.rolladen_kinderzimmer",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "children light on timer",
|
||
"room": "children_room",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.children_light_on",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "children room motion sensor occupancy",
|
||
"room": "children_room",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.kinderzimmerbewegungssensor_occupancy",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Sun",
|
||
"room": null,
|
||
"type": "sun",
|
||
"id": {
|
||
"entity_id": "sun.sun",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "8cf24a78-fe6c-452c-8845-eb16ddad0b10",
|
||
"automation": "- alias: LeavingWork\n id: 8cf24a78-fe6c-452c-8845-eb16ddad0b10\n description: Benachrichtigt wenn ich die Arbeit verlasse.\n trigger:\n - platform: state\n entity_id:\n - zone.work_miguel\n to: '0'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition:\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n action:\n - service: script.notify_engine\n data:\n title: '🚗 Miguel ist unterwegs heim 🚗\n\n '\n value1: 'Miguel hat gerade das Geschäft verlassen und kommt vermutlich bald\n heim.\n\n Geschätzte Zeit: {{ states(''sensor.miguel_eta_home'') }} {{ state_attr(''sensor.miguel_eta_home'',\n ''unit_of_measurement'') }}.\n\n '\n who: home\n tag_id: information\n group: Moving\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "workday sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.workday_sensor",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "miguel eta home sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.miguel_eta_home",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Miguel",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.work_miguel",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5f7b6ea8-5d4b-4bf8-80d0-cd976f9ea7d5",
|
||
"automation": "- alias: Show lightstrip time\n id: 5f7b6ea8-5d4b-4bf8-80d0-cd976f9ea7d5\n description: Show lightstrip time\n trigger:\n - platform: time_pattern\n minutes: /5\n condition: []\n action:\n - if:\n - condition: state\n entity_id: timer.lichterkette\n state: idle\n then:\n - action: script.awtrix3delapp\n data:\n app_id: lightstrip\n else:\n - action: script.awtrix3customapp\n data:\n app_id: lightstrip\n text: Lichterkette\n icon: '66625'\n progress: '{{ ( 100 - max(0, ((state_attr(''timer.lichterkette'', ''finishes_at'')\n | as_datetime - now().replace(microsecond=0)).total_seconds() / 25200) *\n 100) ) | round(2) }}'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "light chain timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.lichterkette",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "c63598d6-82f5-4be9-b300-1ddfa28ef650",
|
||
"automation": "- alias: LichterkettenTimer\n id: c63598d6-82f5-4be9-b300-1ddfa28ef650\n description: Lichterketten timer\n mode: single\n trigger:\n - platform: state\n entity_id:\n - switch.lichterkette\n action:\n - if:\n - condition: state\n entity_id: switch.lichterkette\n state: 'on'\n then:\n - service: timer.start\n data: {}\n target:\n entity_id: timer.lichterkette\n else:\n - service: timer.finish\n data: {}\n target:\n entity_id: timer.lichterkette",
|
||
"config": [
|
||
{
|
||
"name": "light chain switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.lichterkette",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "light chain timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.lichterkette",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "20b69e8d-fc7f-4cbc-a49c-c750b72e8983",
|
||
"automation": "- alias: Lichterkette\n id: 20b69e8d-fc7f-4cbc-a49c-c750b72e8983\n description: Schaltet die Lichterkette aus\n mode: single\n trigger:\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.lichterkette\n action:\n - service: switch.turn_off\n data: {}\n target:\n entity_id: switch.lichterkette",
|
||
"config": [
|
||
{
|
||
"name": "light chain switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.lichterkette",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "light chain timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.lichterkette",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "e26e4603-0144-4492-abac-7a15f9355c40",
|
||
"automation": "- alias: LightningTVCounter\n id: e26e4603-0144-4492-abac-7a15f9355c40\n trigger:\n - platform: state\n entity_id:\n - sensor.kohgeb_family_home_lightning_counter\n condition:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.kohgeb_family_home_lightning_counter\n state: '0'\n action:\n - service: notify.tvoverlaynotifyfixed\n data:\n data:\n id: fixed_lightning\n icon: mdi:weather-lightning-rainy\n expiration: 15m\n shape: rounded\n message: '{{ states(''sensor.kohgeb_family_home_lightning_counter'') | round\n }} {{ state_attr(''sensor.kohgeb_family_home_lightning_counter'', ''unit_of_measurement'')\n }}'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "lightning counter sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.kohgeb_family_home_lightning_counter",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "6640ee8e-ea3d-4b86-be28-ab8702d5f96c",
|
||
"automation": "- alias: Show lightning strikes on clock\n id: 6640ee8e-ea3d-4b86-be28-ab8702d5f96c\n description: Show lightning strikes on clock\n trigger:\n - platform: state\n entity_id: sensor.kohgeb_family_home_lightning_counter\n condition: []\n action:\n - variables:\n lightning_counter: '{{ states(''sensor.kohgeb_family_home_lightning_counter'')\n | int(0) }}'\n lightning_distance: '{{ states(''sensor.kohgeb_family_home_lightning_distance'')\n | int(0) }}'\n - if:\n - condition: state\n entity_id: sensor.kohgeb_family_home_lightning_counter\n state: '0'\n then:\n - service: script.awtrix3delapp\n data:\n app_id: lightning\n else:\n - service: script.awtrix3customapp\n data:\n app_id: lightning\n text: '{{ lightning_counter }} - {{ lightning_distance }} km'\n icon: '33475'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "lightning counter sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.kohgeb_family_home_lightning_counter",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "lightning distance sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.kohgeb_family_home_lightning_distance",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "05cac6cf-e6a1-45b4-88f0-28374ae45913",
|
||
"automation": "- alias: Show lights on\n id: 05cac6cf-e6a1-45b4-88f0-28374ae45913\n description: Show lights on\n trigger:\n - platform: state\n entity_id: number.count_lights_on\n condition: []\n action:\n - if:\n - condition: numeric_state\n entity_id: number.count_lights_on\n below: 1\n then:\n - action: script.awtrix3delapp\n data:\n app_id: lights\n else:\n - action: script.awtrix3customapp\n data:\n app_id: lights\n text: '{{ states(''number.count_lights_on'') | int }}'\n icon: '1762'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "lights on count number",
|
||
"room": "unknown",
|
||
"type": "number",
|
||
"id": {
|
||
"entity_id": "number.count_lights_on",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "7301525b-8f3b-411e-a473-da8c5a4afc57",
|
||
"automation": "- alias: LLMVisionCameraHN\n description: ''\n id: 7301525b-8f3b-411e-a473-da8c5a4afc57\n triggers:\n - trigger: time_pattern\n minutes: /5\n conditions: []\n actions:\n - action: script.stream_analyzer\n data:\n camera:\n - camera.rathaus\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "rathaus camera",
|
||
"room": "unknown",
|
||
"type": "camera",
|
||
"id": {
|
||
"entity_id": "camera.rathaus",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "decf9977-3103-406d-8a04-65334807751c",
|
||
"automation": "- alias: LongShowering\n id: decf9977-3103-406d-8a04-65334807751c\n description: Notify if someone is showering too long\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.dusche\n from: 'on'\n for:\n hours: 0\n minutes: 13\n seconds: 0\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - service: notify.alexa_media_echo_gross\n data:\n message: Genug geduscht! Es sind jetzt immerhin schon 13 Minuten!!!\n data:\n type: tts\n - service: script.notify_engine\n data:\n title: Dusche\n value1: Genug geduscht! Es sind jetzt immerhin schon 13 Minuten!!!\n who: home\n tag_id: information\n group: Cleaning\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "shower binary sensor",
|
||
"room": "bathroom",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.dusche",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "bf7beb70-eb04-4272-80b7-1e032acbea61",
|
||
"automation": "- alias: majaFotoCheck\n id: bf7beb70-eb04-4272-80b7-1e032acbea61\n description: ''\n trigger:\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.maja_check\n condition: []\n action:\n - service: script.send_cam_snaps\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "maja check timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.maja_check",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Send Cam Snaps",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.send_cam_snaps",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9af053f5-0dfb-4adf-8b36-a2747f2caaae",
|
||
"automation": "- alias: majaTelegramStatus\n id: 9af053f5-0dfb-4adf-8b36-a2747f2caaae\n description: Maja state from telegram\n trigger:\n - platform: event\n id: home\n event_type: telegram_callback\n event_data:\n data: /maja_home\n - platform: event\n id: gone\n event_type: telegram_callback\n event_data:\n data: /maja_gone\n condition: []\n action:\n - if:\n - condition: trigger\n id: home\n then:\n - service: input_boolean.turn_on\n entity_id: input_boolean.maja_home\n else:\n - service: input_boolean.turn_off\n entity_id: input_boolean.maja_home\n - service: telegram_bot.answer_callback_query\n data_template:\n callback_query_id: '{{ trigger.event.data.id }}'\n message: Alles klar danke!\n - service: telegram_bot.edit_replymarkup\n data_template:\n message_id: '{{ trigger.event.data.message.message_id }}'\n chat_id: '{{ trigger.event.data.chat_id }}'\n inline_keyboard: []\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "maja home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.maja_home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a601d3fe-17d3-4cff-9eb1-ea4bbca2c549",
|
||
"automation": "- alias: workMeals\n id: a601d3fe-17d3-4cff-9eb1-ea4bbca2c549\n description: Notify about the work meals\n trigger:\n - trigger: time\n at: '11:00:00'\n condition:\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n - condition: state\n entity_id: schedule.buro_tage\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.miguel\n state: home\n action:\n - action: script.notify_engine\n data:\n title: '🍴 Heutiges Essen im Geschäft 🍽️\n\n '\n value1: 'Heute im Geschäft gibt es folgende Gerichte:\n\n '\n who: home\n tag_id: information\n group: Work\n photos:\n - file: /config/www/downloaded/work_meals/one.png\n caption: '{{ states(''sensor.work_meal_one'') }}'\n - file: /config/www/downloaded/work_meals/one_two.png\n caption: '{{ states(''sensor.work_meal_one_two'') }}'\n - file: /config/www/downloaded/work_meals/three.png\n caption: '{{ states(''sensor.work_meal_three'') }}'\n - file: /config/www/downloaded/work_meals/four.png\n caption: '{{ states(''sensor.work_meal_four'') }}'\n - file: /config/www/downloaded/work_meals/five.png\n caption: '{{ states(''sensor.work_meal_five'') }}'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "miguel person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "workday sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.workday_sensor",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "office days schedule",
|
||
"room": "office",
|
||
"type": "schedule",
|
||
"id": {
|
||
"entity_id": "schedule.buro_tage",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal Five",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_five",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal Four",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_four",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal One",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_one",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal One Two",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_one_two",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal Three",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_three",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ffe67e29-366b-4661-a0b0-bfea95d4468e",
|
||
"automation": "- alias: MealImg\n description: ''\n id: ffe67e29-366b-4661-a0b0-bfea95d4468e\n triggers:\n - trigger: state\n entity_id: sensor.work_meal_one\n id: one\n - trigger: state\n entity_id: sensor.work_meal_one_two\n id: one_two\n - trigger: state\n entity_id: sensor.work_meal_three\n id: three\n - trigger: state\n entity_id: sensor.work_meal_four\n id: four\n - trigger: state\n entity_id: sensor.work_meal_five\n id: five\n - trigger: state\n entity_id: input_text.milo_kita_essen_mittwoch\n id: mittwoch\n - trigger: state\n entity_id: input_text.milo_kita_essen_donnerstag\n id: donnerstag\n - trigger: state\n entity_id: input_text.milo_kita_essen_freitag\n id: freitag\n conditions:\n - condition: template\n value_template: '{{ states(trigger.entity_id) != ''unavailable'' }}'\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.id in [''one'', ''one_two'', ''three'', ''four'',\n ''five''] }}'\n sequence:\n - variables:\n directory: work_meals\n - conditions:\n - condition: template\n value_template: '{{ trigger.id in [''mittwoch'', ''donnerstag'', ''freitag'']\n }}'\n sequence:\n - variables:\n directory: kita_meals\n default:\n - variables:\n directory: meals\n - action: openai_conversation.generate_image\n data:\n size: 1024x1024\n quality: standard\n style: vivid\n config_entry: 01JAE4ZR2CG7T0XTAV08YDB7SS\n prompt: 'Generiere ein realistisches Bild von folgendem Essen: {{ states(trigger.entity_id)\n }} Der Fokus sollte auf dem Essen sein.'\n response_variable: meal\n - action: downloader.download_file\n data:\n overwrite: true\n url: '{{ meal.url }}'\n filename: '{{ trigger.id }}.png'\n subdir: '{{ directory }}'\n mode: parallel",
|
||
"config": [
|
||
{
|
||
"name": "Milo Kita Essen Donnerstag",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.milo_kita_essen_donnerstag",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Milo Kita Essen Freitag",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.milo_kita_essen_freitag",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Milo Kita Essen Mittwoch",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.milo_kita_essen_mittwoch",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal Five",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_five",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal Four",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_four",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal One",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_one",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal One Two",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_one_two",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Work Meal Three",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.work_meal_three",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "40db0999-dd04-4b40-b5d3-58684fc9895f",
|
||
"automation": "- alias: MeteoAlarm\n id: 40db0999-dd04-4b40-b5d3-58684fc9895f\n description: Meteo Alarm\n trigger:\n - platform: state\n entity_id: binary_sensor.meteoalarm\n to: 'on'\n condition:\n - condition: state\n entity_id: binary_sensor.jemand_in_spanien\n state: 'on'\n action:\n - action: script.notify_engine\n data:\n title: 🌩️ {{state_attr('binary_sensor.meteoalarm', 'headline')}} 🌩️\n value1: \"\\U0001F570️ {{ state_attr('binary_sensor.meteoalarm', 'effective')|as_timestamp|timestamp_custom('%d.%m.%Y\\\n \\ %H:%M:%S %Z') }} - {{ state_attr('binary_sensor.meteoalarm', 'expires')|as_timestamp|timestamp_custom('%d.%m.%Y\\\n \\ %H:%M:%S %Z') }}\\n{{state_attr('binary_sensor.meteoalarm', 'description')}}\\n\\\n **Handlungsempfehlung:**\\n {{state_attr('binary_sensor.meteoalarm', 'instruction')}}\\n\\\n \\n**Gesendet von:**\\n {{state_attr('binary_sensor.meteoalarm', 'senderName')}}\"\n who: family\n tag_id: information",
|
||
"config": [
|
||
{
|
||
"name": "Jemand in Spanien",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.jemand_in_spanien",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Meteoalarm",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.meteoalarm",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "b2aeeef6-6e1f-441d-a1b4-1b678cd97467",
|
||
"automation": "- alias: MiloKita\n id: b2aeeef6-6e1f-441d-a1b4-1b678cd97467\n description: Status aktualisieren, wenn Milo in der Kita ist.\n trigger:\n - platform: state\n entity_id: schedule.milo_kita_zeiten\n condition:\n - condition: state\n entity_id: binary_sensor.milo_kita\n state: 'on'\n action:\n - if:\n - condition: state\n entity_id: schedule.milo_kita_zeiten\n state: 'on'\n then:\n - action: input_select.select_option\n target:\n entity_id: input_select.milo_person_sync\n data:\n option: alleine\n - action: device_tracker.see\n data:\n dev_id: milo_dummy_tracker\n gps:\n - secret milo_kita_lat\n - secret milo_kita_long\n else:\n - action: input_select.select_option\n target:\n entity_id: input_select.milo_person_sync\n data:\n option: silke\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "milo person sync input select",
|
||
"room": "unknown",
|
||
"type": "input_select",
|
||
"id": {
|
||
"entity_id": "input_select.milo_person_sync",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "milo kita binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.milo_kita",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "milo kita times schedule",
|
||
"room": "unknown",
|
||
"type": "schedule",
|
||
"id": {
|
||
"entity_id": "schedule.milo_kita_zeiten",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5ce560a2-c147-40f0-b02f-46ba328c5b84",
|
||
"automation": "- alias: Show mini countdown on clock\n id: 5ce560a2-c147-40f0-b02f-46ba328c5b84\n description: Show mini countdown on clock\n trigger:\n - platform: time\n at: 00:01:00\n condition:\n - condition: state\n entity_id: group.parents\n state: home\n action:\n - variables:\n triggered_entity: sensor.anniversary_special_b_mini\n entity_name: '{{ state_attr(triggered_entity, ''friendly_name'') }}'\n - if:\n - condition: template\n value_template: '{{ triggered_entity != '''' }}'\n then:\n - action: script.awtrix3customapp\n data:\n app_id: mini\n text: '{{ states(triggered_entity) }} {{ state_attr(triggered_entity, ''unit_of_measurement'')}}'\n icon: '365'\n else:\n - action: script.awtrix3delapp\n data:\n app_id: mini\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "parents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.parents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "18dc0537-cfe1-49c3-badc-0526216e7909",
|
||
"automation": "- alias: GrocyMissingProds\n id: 18dc0537-cfe1-49c3-badc-0526216e7909\n description: Benachrichtigt, wenn Produkte fehlen\n trigger:\n - platform: state\n entity_id: binary_sensor.grocy_missing_products\n attribute: count\n condition:\n - condition: state\n entity_id: binary_sensor.grocy_missing_products\n state: 'on'\n action:\n - service: script.notify_engine\n data:\n title: '🥫 Produkte fehlen 🍲\n\n '\n value1: '{% set expiringProducts = state_attr(\"binary_sensor.grocy_missing_products\",\n \"missing_products\")%} {% set expiringCount = state_attr(\"binary_sensor.grocy_missing_products\",\n \"count\")%}\n\n Folgende {{expiringCount}} Produkte müssen gekauft werden: {{- ''\\n'' -}}\n {% for i in expiringProducts %} - {{ i.name }} {{- ''\\n'' -}} {% endfor %}'\n who: home\n tag_id: information\n group: Food\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Grocy Missing Products",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.grocy_missing_products",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "ca2ea9b9-5ef6-4867-af35-4ce299c817ae",
|
||
"automation": "- alias: MorningBriefing\n description: ''\n id: ca2ea9b9-5ef6-4867-af35-4ce299c817ae\n triggers:\n - platform: time\n at: 08:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.ai_morning_briefing\n state: 'on'\n actions:\n - action: ai_task.generate_data\n data:\n entity_id: ai_task.openai_ai_task\n task_name: morning briefing\n instructions: \"Generate a morning briefing.\\n\\nCan you maybe add a information\\\n \\ what happend today in the history? If yes please search for it.\\nI only\\\n \\ want correct information about the history.\\nPlease check online for sources\\\n \\ that prove that the response is correct.\\nYou can tell me details about\\\n \\ it.\\n\\nWith these information:\\n - current date: {{ as_timestamp(states('sensor.date_time_iso'))\\\n \\ | timestamp_custom('%A %B %-d, %I:%M %p') }}\\n - Outdoor temperature: {{\\\n \\ states('sensor.daikinap90134_outside_temperature') }}°C\\n - Weather condition:\\\n \\ {{ states('weather.home') }}\\n - Indoor temperature: {{ states('sensor.wohnungstemperatur')\\\n \\ }}°C\\n - Indoor humidity: {{ states('sensor.wohnungsfeuchtigkeit') }}%\\n\\\n \\ - Is today a work day?: {{ states('binary_sensor.workday_sensor') }}\\n\\n\\\n Answer in german. Make the answer a little bit funny.\\nKeep the response to\\\n \\ a maximum of 150 characters, can't be any longer.\\n\"\n response_variable: response\n - action: input_text.set_value\n target:\n entity_id: input_text.ai_morning_briefing\n data:\n value: '{{ response.data }}'\n mode: parallel",
|
||
"config": [
|
||
{
|
||
"name": "daikin climate outside temperature sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.daikinap90134_outside_temperature",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "workday sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.workday_sensor",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "OpenAI AI Task",
|
||
"room": null,
|
||
"type": "ai_task",
|
||
"id": {
|
||
"entity_id": "ai_task.openai_ai_task",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "AI Morning Briefing",
|
||
"room": null,
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.ai_morning_briefing",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "AI Morning Briefing Text",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.ai_morning_briefing",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Date Time ISO",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.date_time_iso",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Wohnungsfeuchtigkeit",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.wohnungsfeuchtigkeit",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Wohnungstemperatur",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.wohnungstemperatur",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9baffe35-daa2-43fa-bdd6-985240281706",
|
||
"automation": "- alias: NightMode\n id: 9baffe35-daa2-43fa-bdd6-985240281706\n description: Nachtmodus Automation\n trigger:\n - platform: state\n entity_id: input_boolean.night_mode\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'on'\n then:\n - service: script.night_mode_on\n data: {}\n else:\n - service: script.night_mode_off\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "night mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.night_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Night Mode Off",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.night_mode_off",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Night Mode On",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.night_mode_on",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a708dd34-6dd1-4745-a971-debf244734a5",
|
||
"automation": "- alias: NINA Warnungen\n id: a708dd34-6dd1-4745-a971-debf244734a5\n description: NINA Warnungen\n trigger:\n - platform: state\n entity_id: binary_sensor.warning_home_1\n to: 'on'\n - platform: state\n entity_id: binary_sensor.warning_home_2\n to: 'on'\n - platform: state\n entity_id: binary_sensor.warning_home_3\n to: 'on'\n - platform: state\n entity_id: binary_sensor.warning_home_4\n to: 'on'\n - platform: state\n entity_id: binary_sensor.warning_home_5\n to: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - service: script.notify_engine\n data:\n title: 🌩️ {{ trigger.to_state.attributes.headline }} (NINA) 🌩️\n value1: \"{% set attributes = trigger.to_state.attributes %} {{ attributes.description\\\n \\ }}\\n*Zeitraum* ⏰ _{{ as_datetime(attributes.start) ~ \\\" - \\\" ~ as_datetime(attributes.expires)\\\n \\ }}_\\n*Handlungsempfehlung*\\n {{ attributes.recommended_actions }}\\n\\n*Warnung\\\n \\ von:*\\n {{ attributes.sender }}\\n\\n*Betroffene Bereiche*\\n {{ attributes.affected_areas\\\n \\ }}\"\n who: home\n tag_id: information\n group: Wetter",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Warning Home 1",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.warning_home_1",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Warning Home 2",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.warning_home_2",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Warning Home 3",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.warning_home_3",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Warning Home 4",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.warning_home_4",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Warning Home 5",
|
||
"room": null,
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.warning_home_5",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "98553e4d-5625-488b-8a7d-01c315807b24",
|
||
"automation": "- alias: MedisNotification\n id: 98553e4d-5625-488b-8a7d-01c315807b24\n description: Medi Notif\n trigger:\n - platform: time\n at: input_datetime.medis_reminder_time_morning\n - platform: time\n at: input_datetime.medis_reminder_time_evening\n - platform: time\n at: input_datetime.medis_reminder_time_night\n action:\n - variables:\n persons:\n - key: miguel\n device: miguel\n name: Miguel\n - key: silke\n device: silke\n name: Silke\n - key: milo\n device: miguel, silke\n name: Milo\n - key: maja\n device: miguel, silke\n name: Maja\n medis_hourly: \"{% set result = namespace(items=[]) %} {% for medi in label_entities('MedisHourly')\\\n \\ %}\\n {% if states(medi) in ['on', 'off'] and states(medi) == 'off' %}\\n\\\n \\ {% set result.items = result.items + [medi] %}\\n {% endif %}\\n{% endfor\\\n \\ %} {{ result.items }}\\n\"\n medis_daily: \"{% set result = namespace(items=[]) %} {% for medi in label_entities('MedisDaily')\\\n \\ %}\\n {% if states(medi) in ['on', 'off'] and states(medi) == 'off' %}\\n\\\n \\ {% set result.items = result.items + [medi] %}\\n {% endif %}\\n{% endfor\\\n \\ %} {{ result.items }}\\n\"\n medis_weekly: \"{% set result = namespace(items=[]) %} {% for medi in label_entities('MedisWeekly')\\\n \\ %}\\n {% if states(medi) in ['on', 'off'] and states(medi) == 'off' %}\\n\\\n \\ {% set result.items = result.items + [medi] %}\\n {% endif %}\\n{% endfor\\\n \\ %} {{ result.items }}\\n\"\n - variables:\n all_medis: \"{% set result = namespace(items=[]) %} {% for hourly in medis_hourly\\\n \\ %}\\n {% set result.items = result.items + [hourly] %}\\n{% endfor %} {%\\\n \\ for daily in medis_daily %}\\n {% set result.items = result.items + [daily]\\\n \\ %}\\n{% endfor %} {% for weekly in medis_weekly %}\\n {% set result.items\\\n \\ = result.items + [weekly] %}\\n{% endfor %} {{ result.items }}\\n\"\n - variables:\n medis_by_person: \"{% set result = namespace(data={}) %} {% for person in persons\\\n \\ %}\\n {% set medi_list = namespace(items=[]) %}\\n {% for entity_id in all_medis\\\n \\ %}\\n {% if person.key in entity_id %}\\n {% set raw_name = state_attr(entity_id,\\\n \\ 'friendly_name') or entity_id %}\\n {% set name = raw_name | replace(person.name,\\\n \\ '') | trim %}\\n {% set medi_list.items = medi_list.items + [name] %}\\n\\\n \\ {% endif %}\\n {% endfor %}\\n {% set result.data = result.data | combine({\\\n \\ person.key: medi_list.items | join(', ') }) %}\\n{% endfor %} {{ result.data\\\n \\ }}\\n\"\n - repeat:\n for_each: '{{ persons }}'\n sequence:\n - variables:\n person_key: '{{ repeat.item.key }}'\n person_info: '{{ repeat.item.name }}'\n person_device: '{{ repeat.item.device }}'\n medi_message: '{{ medis_by_person[person_key] }}'\n - choose:\n - conditions: '{{ medi_message != '''' }}'\n sequence:\n - service: script.notify_engine\n data:\n title: Zeit für {{ person_info }}s Medikamente!\n who: '{{ person_device }}'\n value1: '{{ medi_message }}'\n group: Health\n tag_id: information\n icon: mdi:pill\n actions:\n - action: URI\n title: Öffnen\n uri: /lovelace-mobile/medication",
|
||
"config": [
|
||
{
|
||
"name": "Medis Reminder Time Evening",
|
||
"room": null,
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.medis_reminder_time_evening",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Medis Reminder Time Morning",
|
||
"room": null,
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.medis_reminder_time_morning",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Medis Reminder Time Night",
|
||
"room": null,
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.medis_reminder_time_night",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "1bd70167-a552-4a7e-93de-2cfd0a823bc6",
|
||
"automation": "- alias: RollladenOeffnet\n id: 1bd70167-a552-4a7e-93de-2cfd0a823bc6\n description: Wenn morgens der Rollladen hochgeht\n trigger:\n - platform: device\n device_id: 2fc7242cfe1baeaaef8e393c8890e2cf\n domain: cover\n entity_id: cb2c427bea07f6795aa22d8414ed7dd4\n type: opening\n condition:\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'on'\n - condition: time\n after: 06:00:00\n before: '12:00:00'\n action:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.night_mode\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "night mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.night_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Device 2fc7242c",
|
||
"room": null,
|
||
"type": null,
|
||
"id": {
|
||
"entity_id": "2fc7242cfe1baeaaef8e393c8890e2cf",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Device cb2c427b",
|
||
"room": null,
|
||
"type": null,
|
||
"id": {
|
||
"entity_id": "cb2c427bea07f6795aa22d8414ed7dd4",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5f93e5ba-c185-48f1-8653-dd8e2271a145",
|
||
"automation": "- alias: PicnicBenachrichtigung\n id: 5f93e5ba-c185-48f1-8653-dd8e2271a145\n description: Benachrichtigt wenn Picnic bald da ist.\n trigger:\n - platform: template\n value_template: '\"{{ as_timestamp(states(''sensor.picnic_voraussichtlicher_beginn_der_nachsten_lieferung''))\n - as_timestamp(now()) <= 600 }}\"\n\n '\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - service: script.notify_engine\n data:\n title: '🛒 Picnic 🛒\n\n '\n value1: 'Picnic kommt in den nächsten 5min.\n\n '\n tag_id: information\n group: Shopping\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Picnic Voraussichtlicher Beginn der naechsten Lieferung",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.picnic_voraussichtlicher_beginn_der_nachsten_lieferung",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5d292a16-db4a-4897-88ce-1cf106efa12b",
|
||
"automation": "- id: 5d292a16-db4a-4897-88ce-1cf106efa12b\n alias: Generate picture\n description: Antwortet auf den /wetter Befehl\n triggers:\n - event_type: telegram_command\n event_data:\n command: /bild\n trigger: event\n conditions: []\n actions:\n - action: openai_conversation.generate_image\n data:\n size: 1024x1024\n quality: standard\n style: natural\n config_entry: 01JAE4ZR2CG7T0XTAV08YDB7SS\n prompt: '{{trigger.event.data[''args'']}}'\n response_variable: generated\n - data:\n value1: '{{ generated.revised_prompt }}'\n photo: '{{ generated.url }}'\n who: home\n tag_id: information\n group: Family\n action: script.notify_engine\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "937b8048-a3a4-4557-9bf1-17e8d1c206bf",
|
||
"automation": "- alias: piholeState\n id: 937b8048-a3a4-4557-9bf1-17e8d1c206bf\n description: Pihole State\n trigger:\n - platform: state\n entity_id:\n - switch.pi_hole\n condition: []\n action:\n - if:\n - condition: state\n entity_id: switch.pi_hole\n state: 'off'\n then:\n - service: timer.start\n target:\n entity_id: timer.pihole_disabled\n else:\n - service: timer.cancel\n target:\n entity_id: timer.pihole_disabled\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "pi hole switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.pi_hole",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "pihole disabled timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.pihole_disabled",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "484d8c6d-7be3-4069-ba2f-1a6a24f7c8fb",
|
||
"automation": "- alias: piholeTimerFinish\n id: 484d8c6d-7be3-4069-ba2f-1a6a24f7c8fb\n description: ''\n trigger:\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.pihole_disabled\n condition: []\n action:\n - service: switch.turn_on\n target:\n entity_id: switch.pi_hole\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "pi hole switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.pi_hole",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "pihole disabled timer",
|
||
"room": "unknown",
|
||
"type": "timer",
|
||
"id": {
|
||
"entity_id": "timer.pihole_disabled",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "72ec3377-7e22-4ba2-b9a3-f3ef82261ade",
|
||
"automation": "- alias: Pollenbenachrichtigung\n id: 72ec3377-7e22-4ba2-b9a3-f3ef82261ade\n description: Benachrichtigt wenn Pollen fliegen auf die einer im Haus allergisch\n ist.\n trigger:\n - platform: state\n entity_id:\n - sensor.pollenflug_graeser_112\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.pollenflug_graeser_112\n above: 0\n action:\n - service: script.notify_engine\n data:\n title: '☠️🌺 Pollenflug 🌺☠️\n\n '\n value1: '{{ trigger.to_state.attributes.friendly_name }} haben heute eine \"{{ trigger.to_state.attributes.state_today_desc }}\"\n\n und morgen eine \"{{ trigger.to_state.attributes.state_tomorrow_desc }}\".\n\n Status heute: {{ trigger.to_state.state }}\n\n Status morgen: {{ trigger.to_state.attributes.state_tomorrow }}\n\n '\n who: home\n tag_id: information\n group: Health\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Pollenflug Graeser 112",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.pollenflug_graeser_112",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "00f0df21-aa56-4fc4-8f8e-56b983c49e6f",
|
||
"automation": "- alias: Rain trigger\n id: 00f0df21-aa56-4fc4-8f8e-56b983c49e6f\n description: Set boolean while raining\n trigger:\n - platform: state\n entity_id: weather.home\n condition: []\n action:\n - if:\n - condition: state\n entity_id: weather.home\n state: rainy\n then:\n - service: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.raining\n else:\n - service: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.raining\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "raining input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.raining",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "7e4dceda-e410-4827-8ae0-776c16ae1511",
|
||
"automation": "- description: Remove old snapshots\n alias: RemoveOldSnapshots\n id: 7e4dceda-e410-4827-8ae0-776c16ae1511\n mode: single\n triggers:\n - trigger: time\n at: 00:15:00\n conditions: []\n actions:\n - action: shell_command.removesnapshots\n metadata: {}\n data: {}",
|
||
"config": []
|
||
},
|
||
{
|
||
"id": "b67001f4-cf8f-414d-a1bb-84fe46b2b37b",
|
||
"automation": "- alias: MedisResetBool\n id: b67001f4-cf8f-414d-a1bb-84fe46b2b37b\n description: Medis reset\n trigger:\n - platform: time\n at: 00:01:00\n id: daily\n - trigger: time\n at:\n entity_id: input_datetime.medis_reminder_time_morning\n offset: -01:00:00\n id: morgens\n - trigger: time\n at:\n entity_id: input_datetime.medis_reminder_time_evening\n offset: -01:00:00\n id: mittags\n - trigger: time\n at:\n entity_id: input_datetime.medis_reminder_time_night\n offset: -01:00:00\n id: abends\n action:\n - if:\n - alias: check if it is the daily Trigger\n condition: template\n value_template: '{{ trigger.id == ''daily'' }}'\n then:\n - action: input_boolean.turn_off\n target:\n label_id: medisdaily\n - variables:\n heuschnupfen: \"{%- for medi in label_entities('MedisDaily') | list if states(medi)\\\n \\ in ('on','off') -%}\\n {%- if \\\"heuschnupfen\\\" in medi -%}\\n {{ medi\\\n \\ }}\\n {%- endif -%}\\n{%- endfor -%}\\n\"\n - choose:\n - conditions: '{{ heuschnupfen != '''' }}'\n sequence:\n - repeat:\n for_each: '{{ heuschnupfen.split('' '') }}'\n sequence:\n - variables:\n pollen_typ: '{{ repeat.item.split(''_'')[4] }}'\n pollen_sensor: sensor.pollenflug_{{ pollen_typ }}_112\n - condition: template\n value_template: '{{ states(repeat.item) != ''on'' and states(pollen_sensor)\n | float == 0 }}\n\n '\n - action: input_boolean.turn_on\n target:\n entity_id: '{{ repeat.item }}'\n alias: Heuschnupfen anschalten, wenn gerade keine Pollen unterwegs sind\n - condition: time\n weekday:\n - sun\n - action: input_boolean.turn_off\n target:\n label_id: medisweekly\n else:\n - action: input_boolean.turn_off\n target:\n label_id:\n - medishourly\n - '{{ trigger.id }}'",
|
||
"config": [
|
||
{
|
||
"name": "Medis Reminder Time Evening",
|
||
"room": null,
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.medis_reminder_time_evening",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Medis Reminder Time Morning",
|
||
"room": null,
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.medis_reminder_time_morning",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Medis Reminder Time Night",
|
||
"room": null,
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.medis_reminder_time_night",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "0adfa03b-b03a-487c-961c-657907bc05d5",
|
||
"automation": "- alias: Reset picnic counter\n id: 0adfa03b-b03a-487c-961c-657907bc05d5\n description: Reset picnic counter every month\n trigger:\n - platform: time_pattern\n hours: 0\n minutes: 0\n condition:\n - condition: template\n value_template: '{{ now().day == 1 }}'\n action:\n - if:\n - condition: template\n value_template: '{{ now().month == 1 }}'\n then:\n - action: counter.reset\n target:\n entity_id:\n - counter.picnic_jahres_kosten\n data: {}\n alias: Check if it january\n - action: counter.reset\n target:\n entity_id:\n - counter.picnic_monats_kosten\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "picnic monthly costs counter",
|
||
"room": "unknown",
|
||
"type": "counter",
|
||
"id": {
|
||
"entity_id": "counter.picnic_monats_kosten",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "picnic yearly costs counter",
|
||
"room": "unknown",
|
||
"type": "counter",
|
||
"id": {
|
||
"entity_id": "counter.picnic_jahres_kosten",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "907a7f7e-836e-4a75-b98c-a793f0da9534",
|
||
"automation": "- alias: RolladenLueften\n id: 907a7f7e-836e-4a75-b98c-a793f0da9534\n description: Öffnet Rolladen zum Lüften\n trigger:\n - platform: template\n value_template: '{{ state_attr( \"weather.home\", \"temperature\" ) < state_attr(\"climate.daikinap90134\",\n \"current_temperature\") }}\n\n '\n condition:\n - condition: state\n entity_id: binary_sensor.nacht\n state: 'off'\n - condition: numeric_state\n entity_id: cover.rollladen_schlafzimmer\n attribute: current_position\n below: '40'\n - condition: state\n entity_id: input_boolean.lueften_aktiv\n state: 'on'\n - condition: or\n conditions:\n - below: '23'\n entity_id: sensor.daikinap90134_outside_temperature\n condition: numeric_state\n - below: '23'\n entity_id: weather.home\n attribute: temperature\n condition: numeric_state\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.home\n state: sunny\n action:\n - service: cover.open_cover\n data: {}\n target:\n entity_id: cover.rollladen_schlafzimmer\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "schlafzimmer roller shutter",
|
||
"room": "bedroom",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.rollladen_schlafzimmer",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "daikin climate outside temperature sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.daikinap90134_outside_temperature",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "daikin climate",
|
||
"room": "unknown",
|
||
"type": "climate",
|
||
"id": {
|
||
"entity_id": "climate.daikinap90134",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "night binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.nacht",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "ventilation active input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.lueften_aktiv",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "24fa0d54-ffb8-43d3-9e55-ebdd262deaf0",
|
||
"automation": "- alias: RolladenSunrise\n id: 24fa0d54-ffb8-43d3-9e55-ebdd262deaf0\n description: Schließt Rolladen vor Sonnenaufgang\n trigger:\n - platform: sun\n event: sunrise\n offset: -01:00:00\n condition:\n - condition: numeric_state\n entity_id: cover.rollladen_schlafzimmer\n attribute: current_position\n above: '40'\n - condition: state\n entity_id: input_boolean.sonnen_wegblenden_schlafen_aktiv\n state: 'on'\n action:\n - service: cover.set_cover_position\n data:\n position: 6\n target:\n entity_id: cover.rollladen_schlafzimmer\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "schlafzimmer roller shutter",
|
||
"room": "bedroom",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.rollladen_schlafzimmer",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "sleep sun protection active input boolean",
|
||
"room": "bedroom",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.sonnen_wegblenden_schlafen_aktiv",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "35a45982-41c2-4a64-b724-aa559b81e9fd",
|
||
"automation": "- alias: Rollladen Sonnenschutz\n id: 35a45982-41c2-4a64-b724-aa559b81e9fd\n description: Schließt Rollladen, wenn es zu warm ist\n trigger:\n - above: '23'\n entity_id: sensor.daikinap90134_outside_temperature\n platform: numeric_state\n - above: '23'\n entity_id: weather.home\n attribute: temperature\n platform: numeric_state\n condition:\n - condition: time\n after: 09:00:00\n before: '19:00:00'\n - condition: state\n entity_id: input_boolean.sonnen_schutz_aktiv\n state: 'on'\n action:\n - if:\n - condition: numeric_state\n entity_id: cover.rollladen_schlafzimmer\n attribute: current_position\n above: '40'\n then:\n - service: cover.set_cover_position\n data:\n position: 23\n target:\n entity_id: cover.rollladen_schlafzimmer\n - if:\n - condition: numeric_state\n entity_id: cover.wohnzimmerrolladen\n attribute: current_position\n above: '40'\n then:\n - service: cover.set_cover_position\n data:\n position: 23\n target:\n entity_id: cover.wohnzimmerrolladen\n - if:\n - condition: numeric_state\n entity_id: cover.rolladen_kinderzimmer\n attribute: current_position\n above: '40'\n then:\n - service: cover.set_cover_position\n data:\n position: 23\n target:\n entity_id: cover.rolladen_kinderzimmer\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "schlafzimmer roller shutter",
|
||
"room": "bedroom",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.rollladen_schlafzimmer",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "daikin climate outside temperature sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.daikinap90134_outside_temperature",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "sun protection active input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.sonnen_schutz_aktiv",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "living room roller shutter",
|
||
"room": "living_room",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.wohnzimmerrolladen",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "children room roller shutter",
|
||
"room": "children_room",
|
||
"type": "cover",
|
||
"id": {
|
||
"entity_id": "cover.rolladen_kinderzimmer",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9c0cb04f-09bc-49f6-a9d8-e5ec3ff73f2b",
|
||
"automation": "- alias: Einkaufsbenachrichtigung\n id: 9c0cb04f-09bc-49f6-a9d8-e5ec3ff73f2b\n description: Einkaufsbenachrichtigung\n trigger:\n - platform: state\n entity_id:\n - zone.rewe\n - zone.kaufland\n from: '0'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n id: picnic_einkaufswagen\n - platform: state\n entity_id:\n - zone.getranke_markt\n from: '0'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n id: getranke\n - platform: state\n entity_id:\n - zone.dm\n from: '0'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n id: dm_einkaufen\n condition: []\n action:\n - variables:\n list_id: todo.{{ trigger.id }}\n - condition: template\n value_template: '{{ states(list_id) | int > 0 }}'\n - action: todo.get_items\n target:\n entity_id: '{{ list_id }}'\n data:\n status: needs_action\n response_variable: incompleteItems\n - action: script.notify_engine\n data:\n title: Einkaufsliste - {{ states(list_id) }} Dinge\n value1: \"{% for i in incompleteItems[list_id]['items'] %}\\n - {{ i.summary\\\n \\ }} {%\\nendfor %}\\n\"\n who: home\n tag_id: information\n group: Einkauf\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "DM",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.dm",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Getraenke Markt",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.getranke_markt",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Kaufland",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.kaufland",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "REWE",
|
||
"room": null,
|
||
"type": "zone",
|
||
"id": {
|
||
"entity_id": "zone.rewe",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "2e10ac5d-5d52-4006-9b95-b46e4d241b99",
|
||
"automation": "- alias: Shower\n id: 2e10ac5d-5d52-4006-9b95-b46e4d241b99\n description: Shower automation\n trigger:\n - platform: state\n entity_id: binary_sensor.dusche\n to: 'on'\n condition: []\n action:\n - service: script.spotify_audio\n data:\n volume: 0.6\n type: playlist\n media_id: https://open.spotify.com/playlist/5r4YRJTzgAObYU4pXbWW9a?si=80e65565a3b24adb&pt=5c44bf58d4ec568bfccbf89cb14e8b3c\n source: Echo_Gross\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "shower binary sensor",
|
||
"room": "bathroom",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.dusche",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Spotify Audio",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.spotify_audio",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "4b8a1925-f831-4168-bdc2-697f63d79f3c",
|
||
"automation": "- alias: SilkeWork\n id: 4b8a1925-f831-4168-bdc2-697f63d79f3c\n description: Wenn Silke arbeiten muss\n trigger:\n - platform: state\n entity_id: schedule.silke_arbeit\n condition: []\n action:\n - if:\n - condition: state\n entity_id: schedule.silke_arbeit\n state: 'on'\n then:\n - action: input_select.select_option\n target:\n entity_id: input_select.milo_person_sync\n data:\n option: miguel\n else:\n - action: input_select.select_option\n target:\n entity_id: input_select.milo_person_sync\n data:\n option: silke\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "milo person sync input select",
|
||
"room": "unknown",
|
||
"type": "input_select",
|
||
"id": {
|
||
"entity_id": "input_select.milo_person_sync",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "silke work schedule",
|
||
"room": "unknown",
|
||
"type": "schedule",
|
||
"id": {
|
||
"entity_id": "schedule.silke_arbeit",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "87a6c36c-7123-4083-bd32-0927d6fa36c4",
|
||
"automation": "- id: 87a6c36c-7123-4083-bd32-0927d6fa36c4\n alias: snapshotOnDoorChange\n description: ''\n trigger:\n - platform: state\n entity_id: binary_sensor.hausture\n to: 'on'\n condition:\n - condition: state\n entity_id: switch.flur_cam_stecker\n state: 'on'\n action:\n - action: browser_mod.popup\n data:\n content:\n type: picture-entity\n entity: camera.flurcam\n show_state: false\n show_name: false\n camera_view: live\n autoclose: true\n timeout: 30000\n title: Haustüre wurde geöffnet\n size: classic\n allow_nested_more_info: false\n - variables:\n timestamp: '{{ state_attr(\"camera.flurcam\", \"friendly_name\") }}_{{ now().strftime(\"%Y%m%d-%H%M%S\")\n }}'\n - variables:\n file_path: /media/{{ timestamp }}.mp4\n pic_path: '{{ timestamp }}.jpg'\n start: '{{ now() }}'\n - action: camera.snapshot\n target:\n entity_id: camera.flurcam\n data:\n filename: /config/www/cams/{{ pic_path }}\n - action: script.notify_engine\n data:\n title: Haustüre\n value1: Haustüre wurde geöffnet!\n tag_id: security\n who: tv_overlay\n group: Alarm\n photo: http://{{states('input_text.server_ip')}}:8123/local/cams/{{ pic_path\n }}\n - variables:\n end: '{{ now() }}'\n - event: cam_event\n event_data:\n event: Haustüre geöffnet\n starts: '{{ start }}'\n ends: '{{ end }}'\n summary: Haustüre wurde geöffnet\n key_frame: /local/cams/{{ pic_path }}\n camera: camera.flurcam\n - action: camera.record\n target:\n entity_id:\n - camera.flurcam\n data:\n duration: 5\n filename: '{{ file_path }}'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "front door binary sensor",
|
||
"room": "entrance",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.hausture",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "hallway cam switch",
|
||
"room": "entrance",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.flur_cam_stecker",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "hallway camera",
|
||
"room": "entrance",
|
||
"type": "camera",
|
||
"id": {
|
||
"entity_id": "camera.flurcam",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Server IP",
|
||
"room": null,
|
||
"type": "input_text",
|
||
"id": {
|
||
"entity_id": "input_text.server_ip",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "65f0caac-6ebc-4025-af11-4ef6bf3b75e1",
|
||
"automation": "- alias: Show spotify on the clock\n id: 65f0caac-6ebc-4025-af11-4ef6bf3b75e1\n description: Show spotify on the clock\n trigger:\n - platform: state\n entity_id: media_player.spotify_miguel\n condition:\n - condition: state\n entity_id: group.parents\n state: home\n action:\n - if:\n - condition: state\n entity_id: media_player.spotify_miguel\n state: playing\n then:\n - action: script.awtrix3customapp\n data:\n app_id: spotify\n text: '{{states.media_player.spotify_miguel.attributes.media_title}}'\n icon: '12676'\n repeat: 1\n else:\n - action: script.awtrix3delapp\n data:\n app_id: spotify\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "parents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.parents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "spotify miguel media player",
|
||
"room": "unknown",
|
||
"type": "media_player",
|
||
"id": {
|
||
"entity_id": "media_player.spotify_miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a444c0eb-c032-4e9c-b923-6244fe1a24b8",
|
||
"automation": "- description: Spülmaschine aktiv\n alias: SpuelmaschineActive\n id: a444c0eb-c032-4e9c-b923-6244fe1a24b8\n mode: single\n triggers:\n - type: power\n device_id: 693f221d9b27a211511a735ae34fc6d0\n entity_id: 63bfc36a2f736572074819f62b69d6ca\n domain: sensor\n trigger: device\n above: 30\n id: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - type: power\n device_id: 693f221d9b27a211511a735ae34fc6d0\n entity_id: 63bfc36a2f736572074819f62b69d6ca\n domain: sensor\n trigger: device\n below: 1\n id: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions: []\n actions:\n - if:\n - condition: trigger\n id:\n - 'on'\n then:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.spulmaschine_aktiv\n else:\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.spulmaschine_aktiv",
|
||
"config": [
|
||
{
|
||
"name": "dishwasher active input boolean",
|
||
"room": "kitchen",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.spulmaschine_aktiv",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Device 63bfc36a",
|
||
"room": null,
|
||
"type": null,
|
||
"id": {
|
||
"entity_id": "63bfc36a2f736572074819f62b69d6ca",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Device 693f221d",
|
||
"room": null,
|
||
"type": null,
|
||
"id": {
|
||
"entity_id": "693f221d9b27a211511a735ae34fc6d0",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "f6d85177-1780-4f92-a00b-db0a583a1bad",
|
||
"automation": "- alias: Show state of miguel\n id: f6d85177-1780-4f92-a00b-db0a583a1bad\n description: Show miguels state on clock\n trigger:\n - platform: state\n entity_id: person.miguel\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: person.miguel\n state: home\n then:\n - action: script.awtrix3delapp\n data:\n app_id: miguel\n else:\n - action: script.awtrix3customapp\n data:\n app_id: miguel\n text: '{{ states(''person.miguel'') }}'\n icon: '28759'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "miguel person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "de7d8756-e929-4001-ade4-1c02b9a2c5c6",
|
||
"automation": "- alias: Show state of milo\n id: de7d8756-e929-4001-ade4-1c02b9a2c5c6\n description: Show milos state on clock\n trigger:\n - platform: state\n entity_id: person.milo_carlos\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: person.milo_carlos\n state: home\n then:\n - action: script.awtrix3delapp\n data:\n app_id: milo\n else:\n - action: script.awtrix3customapp\n data:\n app_id: milo\n text: '{{ states(''person.milo_carlos'') }}'\n icon: '48342'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "milo carlos person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.milo_carlos",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9503b5e7-7f22-4687-afd2-c9aed8be4696",
|
||
"automation": "- alias: Show state of silke\n id: 9503b5e7-7f22-4687-afd2-c9aed8be4696\n description: Show silkes state on clock\n trigger:\n - platform: state\n entity_id: person.silke\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: person.silke\n state: home\n then:\n - action: script.awtrix3delapp\n data:\n app_id: silke\n else:\n - action: script.awtrix3customapp\n data:\n app_id: silke\n text: '{{ states(''person.silke'') }}'\n icon: '19702'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "silke person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.silke",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "af0110f3-a36b-4434-8fde-b867c9d68de1",
|
||
"automation": "- alias: majaStatus\n id: af0110f3-a36b-4434-8fde-b867c9d68de1\n description: Sync Maja State with silke state\n trigger:\n - platform: state\n entity_id:\n - person.silke\n - person.miguel\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - condition: template\n value_template: '{% set personName = \"person.\" ~ states(\"input_select.maja_person_sync\")\n %}\n\n {{ trigger.entity_id == personName }}'\n action:\n - if:\n - condition: template\n value_template: '{% set personName = \"person.\" ~ states(\"input_select.maja_person_sync\")\n %}\n\n {{ states(personName) == \"home\" }}'\n then:\n - service: input_boolean.turn_on\n entity_id: input_boolean.maja_home\n else:\n - service: input_boolean.turn_off\n entity_id: input_boolean.maja_home\n - service: device_tracker.see\n data:\n location_name: '{% set personName = \"person.\" ~ states(\"input_select.maja_person_sync\")\n %}\n\n {{ states(personName) }}'\n dev_id: maja_dummy_tracker\n gps:\n - '{{ state_attr(''person.'' ~ states(''input_select.maja_person_sync''), ''latitude'')\n }}'\n - '{{ state_attr(''person.'' ~ states(''input_select.maja_person_sync''), ''longitude'')\n }}'\n gps_accuracy: '{% set personName = \"person.\" ~ states(\"input_select.maja_person_sync\")\n %}\n\n {{ state_attr(personName, \"gps_accuracy\") }}'\n mode: queued\n max: 10",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "silke person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.silke",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "miguel person",
|
||
"room": "unknown",
|
||
"type": "person",
|
||
"id": {
|
||
"entity_id": "person.miguel",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.maja_home",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja person sync input select",
|
||
"room": "unknown",
|
||
"type": "input_select",
|
||
"id": {
|
||
"entity_id": "input_select.maja_person_sync",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "4ee75af6-8365-4e9f-85a8-4e71b2c9c67a",
|
||
"automation": "- alias: Sunrise\n id: 4ee75af6-8365-4e9f-85a8-4e71b2c9c67a\n description: Sonnenaufgangsautomation\n trigger:\n - platform: sun\n event: sunrise\n offset: -00:30:00\n condition: []\n action:\n - service: script.sunrise_script\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Sunrise Script",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.sunrise_script",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a383092c-b90f-4357-8ca7-931e2b0e58a9",
|
||
"automation": "- alias: Sunset\n id: a383092c-b90f-4357-8ca7-931e2b0e58a9\n description: Sonnenuntergangsautomation\n trigger:\n - platform: sun\n event: sunset\n offset: -00:45:00\n condition: []\n action:\n - service: script.sunset_script\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Sunset Script",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.sunset_script",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "6f228bce-1c81-4807-9c66-59ce30b2a5f9",
|
||
"automation": "- alias: Wecker 3 synchronisieren\n id: 6f228bce-1c81-4807-9c66-59ce30b2a5f9\n trigger:\n - platform: state\n entity_id: sensor.pixel_9_pro_next_alarm\n - platform: state\n entity_id: sensor.silke_handy_next_alarm\n action:\n - service: input_datetime.set_datetime\n entity_id: input_datetime.wecker_family\n data_template:\n datetime: \"{% set wecker1_time = as_timestamp(states('sensor.pixel_9_pro_next_alarm'))\\\n \\ %} {% set wecker2_time = as_timestamp(states('sensor.silke_handy_next_alarm'))\\\n \\ %} {% if wecker1_time >= wecker2_time %}\\n {{ strptime(as_local(wecker1_time).strftime('%Y-%m-%d\\\n \\ %H:%M:%S'), '%Y-%m-%d %H:%M:%S') }}\\n{% else %}\\n {{ strptime(as_local(wecker2_time).strftime('%Y-%m-%d\\\n \\ %H:%M:%S'), '%Y-%m-%d %H:%M:%S') }}\\n{% endif %}\"",
|
||
"config": [
|
||
{
|
||
"name": "family alarm input datetime",
|
||
"room": "unknown",
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.wecker_family",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "pixel 9 pro next alarm sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.pixel_9_pro_next_alarm",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "silke phone next alarm sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.silke_handy_next_alarm",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "d51b6739-a9df-405d-9a8a-903c8082c0eb",
|
||
"automation": "- alias: SyncAlarmFromMobile\n id: d51b6739-a9df-405d-9a8a-903c8082c0eb\n description: Sync Wecker\n trigger:\n - platform: state\n entity_id: sensor.pixel_9_pro_next_alarm\n id: miguel\n - platform: state\n entity_id: sensor.silke_handy_next_alarm\n id: silke\n condition: []\n action:\n - if:\n - condition: trigger\n id: miguel\n then:\n - service: input_datetime.set_datetime\n data:\n timestamp: '{{ ( state_attr(\"sensor.pixel_9_pro_next_alarm\", \"Time in Milliseconds\") |\n int / 1000 ) }}'\n target:\n entity_id: input_datetime.miguel_wecker\n else:\n - service: input_datetime.set_datetime\n data:\n timestamp: '{{ ( state_attr(\"sensor.silke_handy_next_alarm\", \"Time in Milliseconds\") |\n int / 1000 ) }}'\n target:\n entity_id: input_datetime.silke_wecker\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "miguel alarm input datetime",
|
||
"room": "unknown",
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.miguel_wecker",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "silke alarm input datetime",
|
||
"room": "unknown",
|
||
"type": "input_datetime",
|
||
"id": {
|
||
"entity_id": "input_datetime.silke_wecker",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "pixel 9 pro next alarm sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.pixel_9_pro_next_alarm",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "silke phone next alarm sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.silke_handy_next_alarm",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "5b023ec5-2f0a-489d-8f00-efbba8af1a2b",
|
||
"automation": "- alias: Sync electricity price\n id: 5b023ec5-2f0a-489d-8f00-efbba8af1a2b\n description: Sync electricity price\n trigger:\n - platform: state\n entity_id: sensor.epex_spot_data_net_price\n condition: []\n action:\n - action: input_number.set_value\n target:\n entity_id: input_number.strompreis\n data:\n value: '{% set val = states(''sensor.epex_spot_data_net_price'') | float(0)\n %} {{ ((val * 100) | round(0, ''ceil'')) / 100 }}\n\n '\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "electricity price input number",
|
||
"room": "unknown",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.strompreis",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "electricity price sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.epex_spot_data_net_price",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "afa5aa6b-7cf4-43bb-bb47-d37601433dea",
|
||
"automation": "- alias: TasksNotif\n id: afa5aa6b-7cf4-43bb-bb47-d37601433dea\n description: Benachrichtigt, wenn ToDo's anstehen.\n trigger:\n - platform: time\n at: input_datetime.chores_notif_time\n condition:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.grocy_tasks\n state: '0'\n action:\n - variables:\n filtered_tasks: \"{% set todos = state_attr(\\\"sensor.grocy_tasks\\\", \\\"tasks\\\"\\\n ) %} {% set now = now().astimezone() %} {% set upcoming = now + timedelta(days=10)\\\n \\ %}\\n{% set filtered = namespace(tasks=[]) %} {% for task in todos %}\\n \\\n \\ {% if task.due_date is defined and task.due_date %}\\n {% set due = as_datetime(task.due_date)\\\n \\ %}\\n {% if due.tzinfo is none %}\\n {% set due = due.replace(tzinfo=now.tzinfo)\\\n \\ %}\\n {% endif %}\\n {% if due.date() >= now.date() and due.date() <=\\\n \\ upcoming.date() %}\\n {% set filtered.tasks = filtered.tasks + [task]\\\n \\ %}\\n {% endif %}\\n {% endif %}\\n{% endfor %} {% set sorted_tasks = filtered.tasks\\\n \\ | sort(attribute='category.name') %} {{ sorted_tasks }}\\n\"\n - service: script.notify_engine\n data:\n title: 📑 ToDo's in den nächsten Tagen 📑\n value1: \"{% set current_cat = '' %} {% if filtered_tasks %} Folgende ToDo's\\\n \\ stehen in den nächsten 10 Tagen an:\\n{%- for task in filtered_tasks %}\\n\\\n \\ {%- set cat = task.category.name if task.category is defined and task.category.name\\\n \\ is defined else 'Ohne Kategorie' %}\\n {%- if cat != current_cat %}\\n\\U0001F4D1\\\n \\ Kategorie: {{ cat }}\\n {%- set current_cat = cat %}\\n {%- endif %}\\n\\\n - {{ task.name }}\\n \\U0001F4DD {{ task.description or '' }}\\n \\U0001F464\\\n \\ {{ task.assigned_to_user.display_name if task.assigned_to_user is defined\\\n \\ and task.assigned_to_user.display_name is defined else 'Unbekannt' }}\\n\\\n \\ \\U0001F5D3️ {{ as_timestamp(task.due_date) | timestamp_custom('%d.%m.%Y\\\n \\ %H:%M') }}\\n\\n{%- endfor %} {% else %} ✅ Es stehen keine ToDo's in den nächsten\\\n \\ 10 Tagen an. {% endif %}\\n\"\n who: home\n tag_id: information\n group: Hausarbeiten\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Grocy Tasks",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.grocy_tasks",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "4439da33-a3b6-4566-981d-fcfa49f6786b",
|
||
"automation": "- alias: Show temperature on clock\n id: 4439da33-a3b6-4566-981d-fcfa49f6786b\n description: ' Show temperature on clock'\n trigger:\n - platform: state\n entity_id: sensor.wohnungstemperatur\n condition: []\n action:\n - action: script.awtrix3customapp\n data:\n app_id: temperature\n text: '{{ states(''sensor.wohnungstemperatur'') }} {{ state_attr(''sensor.wohnungstemperatur'',\n ''unit_of_measurement'') }}'\n icon: '4481'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Wohnungstemperatur",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.wohnungstemperatur",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "a4d5f9d0-3232-443c-95e8-18ff404959c6",
|
||
"automation": "- alias: Scheduled flight takes off\n id: a4d5f9d0-3232-443c-95e8-18ff404959c6\n trigger:\n platform: event\n event_type: flightradar24_tracked_took_off\n action:\n - service: script.notify_engine\n data:\n title: Flight\n value1: Flight takes off {{ trigger.event.data.callsign }} to {{ trigger.event.data.airport_destination_city\n }} [Open FlightRadar](https://www.flightradar24.com/{{ trigger.event.data.callsign\n }})\n who: home\n tag_id: information\n group: Flights\n - service: script.notify_engine\n data:\n title: Flight\n value1: Flight takes off {{ trigger.event.data.callsign }} to {{ trigger.event.data.airport_destination_city\n }} [Open FlightRadar](https://www.flightradar24.com/{{ trigger.event.data.callsign\n }})\n who: family\n tag_id: information\n group: Flights",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "9b87a72c-877b-44c2-8181-73437d50869d",
|
||
"automation": "- alias: Scheduled flight lands\n id: 9b87a72c-877b-44c2-8181-73437d50869d\n trigger:\n platform: event\n event_type: flightradar24_tracked_landed\n action:\n - variables:\n title: Flight\n message: Flight landed {{ trigger.event.data.callsign }} to {{ trigger.event.data.airport_destination_city\n }} [Open FlightRadar](https://www.flightradar24.com/{{ trigger.event.data.callsign\n }})\n - service: script.notify_engine\n data:\n title: '{{ title }}'\n value1: '{{ message }}'\n who: home, family\n tag_id: information\n group: Flights\n - service: text.set_value\n data:\n value: '{{ trigger.event.data.aircraft_registration }}'\n target:\n entity_id: text.flightradar24_remove_from_track",
|
||
"config": [
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Flightradar24 Remove From Track",
|
||
"room": null,
|
||
"type": "text",
|
||
"id": {
|
||
"entity_id": "text.flightradar24_remove_from_track",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "dc32d4be-a49c-4a0e-81e1-2a85f6ed6758",
|
||
"automation": "- id: dc32d4be-a49c-4a0e-81e1-2a85f6ed6758\n alias: alarmOnContact\n description: Bei Änderung der Kontaktsensoren Alarm auslösen\n trigger:\n - platform: state\n entity_id: group.contact_sensors\n to: 'on'\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_away\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_home\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_vacation\n action:\n - service: alarm_control_panel.alarm_trigger\n target:\n entity_id: alarm_control_panel.alarmo\n - service: script.notify_engine\n data:\n title: 🏃 Bewegung 🏃\n value1: '{{ trigger.to_state.attributes.friendly_name }} wurde geöffnet.'\n who: home\n tag_id: alert\n group: Alarm\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "alarmo alarm control panel",
|
||
"room": "unknown",
|
||
"type": "alarm_control_panel",
|
||
"id": {
|
||
"entity_id": "alarm_control_panel.alarmo",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "contact sensors group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.contact_sensors",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "1838588e-2696-4082-8f5b-ef025daf94c4",
|
||
"automation": "- id: 1838588e-2696-4082-8f5b-ef025daf94c4\n alias: alarmOnDoorOpen\n description: Alarm auslösen, wenn die Tür geöffnet wird.\n trigger:\n - platform: state\n entity_id: lock.hausture\n from: locked\n to: unlocked\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_away\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_home\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_vacation\n action:\n - service: alarm_control_panel.alarm_trigger\n target:\n entity_id: alarm_control_panel.alarmo\n - service: script.notify_engine\n data:\n title: 🚪 Türe 🚪\n value1: '{{ trigger.to_state.attributes.friendly_name }} wurde geöffnet.'\n who: home\n tag_id: alert\n group: Alarm\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "alarmo alarm control panel",
|
||
"room": "unknown",
|
||
"type": "alarm_control_panel",
|
||
"id": {
|
||
"entity_id": "alarm_control_panel.alarmo",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "front door lock",
|
||
"room": "entrance",
|
||
"type": "lock",
|
||
"id": {
|
||
"entity_id": "lock.hausture",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "b06e36c7-31a2-429d-88e5-70fdcf2d72c7",
|
||
"automation": "- id: b06e36c7-31a2-429d-88e5-70fdcf2d72c7\n alias: unarmAlarm\n description: Alarm automatisch abschalten\n trigger:\n - platform: state\n entity_id: group.residents\n to: home\n condition:\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_away\n action:\n - service: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarmo\n data:\n code: secret alarm_code",
|
||
"config": [
|
||
{
|
||
"name": "residents group",
|
||
"room": "unknown",
|
||
"type": "group",
|
||
"id": {
|
||
"entity_id": "group.residents",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "alarmo alarm control panel",
|
||
"room": "unknown",
|
||
"type": "alarm_control_panel",
|
||
"id": {
|
||
"entity_id": "alarm_control_panel.alarmo",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "6b1b4b5e-8da3-48a1-904f-a20728b3c67c",
|
||
"automation": "- alias: UpdateDocumentation\n id: 6b1b4b5e-8da3-48a1-904f-a20728b3c67c\n description: Automatischer commit und update der Docu\n trigger:\n - trigger: time\n at: '23:55:00'\n condition: []\n action:\n - service: script.update_docs_script\n - service: shell_command.update_docs\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Update Docs Script",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.update_docs_script",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "11defef9-9e5c-41ff-8657-d5a79f384861",
|
||
"automation": "- alias: Update Available Notification\n id: 11defef9-9e5c-41ff-8657-d5a79f384861\n trigger:\n - platform: state\n entity_id: binary_sensor.home_assistant_versions_update_available\n from: 'off'\n to: 'on'\n action:\n - service: script.notify_engine\n data:\n title: Update available\n value1: '{{ state_attr(''binary_sensor.home_assistant_versions_update_available'',\n ''friendly_name'') }}.'\n who: miguel\n tag_id: information\n group: System\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "update available binary sensor",
|
||
"room": "unknown",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.home_assistant_versions_update_available",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "d671c363-5a0c-4f56-b8ff-857234b23b61",
|
||
"automation": "- alias: UrlaubsmodusAutom\n id: d671c363-5a0c-4f56-b8ff-857234b23b61\n description: Schaltet das Smart Home System in den Urlaubsmodus.\n trigger:\n - platform: state\n entity_id: alarm_control_panel.alarmo\n condition: []\n action:\n - if:\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: armed_vacation\n then:\n - service: input_boolean.turn_on\n entity_id: input_boolean.holiday_mode\n - if:\n - condition: state\n entity_id: alarm_control_panel.alarmo\n state: disarmed\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'on'\n then:\n - service: input_boolean.turn_off\n entity_id: input_boolean.holiday_mode\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "alarmo alarm control panel",
|
||
"room": "unknown",
|
||
"type": "alarm_control_panel",
|
||
"id": {
|
||
"entity_id": "alarm_control_panel.alarmo",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "4904b3cf-2099-4f13-8565-43719f3e74b6",
|
||
"automation": "- alias: VaccumCleaner\n id: 4904b3cf-2099-4f13-8565-43719f3e74b6\n description: Lässt den Staubsaugroboter laufen, wenn wir mit Maja draußen sind\n trigger:\n - platform: state\n entity_id: input_boolean.maja_home\n condition:\n - condition: state\n entity_id: input_boolean.automatic_cleaning\n state: 'on'\n action:\n - service: script.cleaning_without_dog\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "automatic cleaning input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.automatic_cleaning",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "maja home input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.maja_home",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Cleaning",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.cleaning",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Cleaning Without Dog",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.cleaning_without_dog",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "b2bad212-5d9a-40d5-b64b-94aacdaabb6d",
|
||
"automation": "- alias: Robot finishes cleaning\n id: b2bad212-5d9a-40d5-b64b-94aacdaabb6d\n trigger:\n - platform: state\n entity_id:\n - vacuum.roomba\n from: cleaning\n to: docked\n action:\n - action: grocy.execute_chore\n data:\n chore_id: '2'\n done_by: '1'",
|
||
"config": [
|
||
{
|
||
"name": "vacuum roomba",
|
||
"room": "unknown",
|
||
"type": "vacuum",
|
||
"id": {
|
||
"entity_id": "vacuum.roomba",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "85d51d88-d162-4a4b-b1ee-d09e818afb98",
|
||
"automation": "- alias: WashingNotif\n id: 85d51d88-d162-4a4b-b1ee-d09e818afb98\n description: Benachrichtigt wenn die Waschmaschine fertig ist\n trigger:\n - platform: numeric_state\n entity_id: sensor.waschmaschinen_steckdose_power\n below: '1.0'\n for: 00:01:00\n - platform: state\n entity_id: sensor.waschmaschine_operation_state\n to: Finished\n condition:\n - condition: state\n entity_id: input_boolean.wash_active\n state: 'on'\n action:\n - action: script.notify_engine\n data:\n title: '🧼 Waschmaschine 🧼\n\n '\n value1: '{% set cycleConsumption = ( states(\"sensor.waschmaschinen_steckdose_energy\")\n | float - states(\"input_number.wash_cycle_consumption\") | float ) %} {% set\n costs = cycleConsumption * states(\"input_number.strompreis\") | float(2) %}\n Waschmaschine ist fertig. Verbrauch {{ cycleConsumption | float|round(2) }}\n kWh. Das macht ca. {{ costs | float|round(2) }} €'\n who: home\n tag_id: information\n group: Laundry\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.wash_active\n - action: grocy.execute_chore\n data:\n chore_id: '1'\n done_by: '1'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "electricity price input number",
|
||
"room": "unknown",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.strompreis",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "wash active input boolean",
|
||
"room": "laundry",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.wash_active",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "washing machine socket power sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.waschmaschinen_steckdose_power",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "washing machine socket energy sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.waschmaschinen_steckdose_energy",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "washing machine operation state sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.waschmaschine_operation_state",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "wash cycle consumption input number",
|
||
"room": "laundry",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.wash_cycle_consumption",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "129efe4c-3890-4012-867f-6317c8e5021d",
|
||
"automation": "- alias: WashingActive\n id: 129efe4c-3890-4012-867f-6317c8e5021d\n description: Setzt den Helfer, wenn die Waschmaschine läuft.\n trigger:\n - platform: state\n entity_id: sensor.waschmaschine_operation_state\n to: Run\n - platform: numeric_state\n entity_id: sensor.waschmaschinen_steckdose_power\n above: '15'\n for: 00:01:00\n condition:\n - condition: state\n entity_id: input_boolean.wash_active\n state: 'off'\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.wash_active\n - service: input_number.set_value\n data_template:\n value: '{{ states(''sensor.waschmaschinen_steckdose_energy'') }}'\n entity_id: input_number.wash_cycle_consumption\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "wash active input boolean",
|
||
"room": "laundry",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.wash_active",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "washing machine socket power sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.waschmaschinen_steckdose_power",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "washing machine socket energy sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.waschmaschinen_steckdose_energy",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "washing machine operation state sensor",
|
||
"room": "laundry",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.waschmaschine_operation_state",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "wash cycle consumption input number",
|
||
"room": "laundry",
|
||
"type": "input_number",
|
||
"id": {
|
||
"entity_id": "input_number.wash_cycle_consumption",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "33ea773e-67d2-4f5c-97ba-778d098b0ade",
|
||
"automation": "- alias: Show waste on clock\n id: 33ea773e-67d2-4f5c-97ba-778d098b0ade\n description: Show waste on clock\n trigger:\n - platform: state\n entity_id: sensor.nachste_abfuhrtermine\n condition: []\n action:\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.attributes.daysTo | int <= 1 }}'\n then:\n - action: script.awtrix3customapp\n data:\n app_id: waste\n text: '{{ trigger.to_state.state }}'\n icon: '57283'\n else:\n - action: script.awtrix3delapp\n data:\n app_id: waste\n mode: parallel",
|
||
"config": [
|
||
{
|
||
"name": "next collection dates sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.nachste_abfuhrtermine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Custom App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3customapp",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Awtrix3 Del App",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.awtrix3delapp",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "794c14fa-fac7-4d5c-85a0-b6551ad75507",
|
||
"automation": "- alias: WateringNotifIndoor\n id: 794c14fa-fac7-4d5c-85a0-b6551ad75507\n description: Benachrichtigt, ob die Pflanzen drinnen gegossen werden müssen.\n trigger:\n - platform: time\n at: input_datetime.watering_time\n condition:\n - condition: state\n entity_id: sensor.weekday\n state: Sunday\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - service: script.notify_engine\n data:\n title: '🌊🌿 Gießen 🌊🌿\n\n '\n value1: 'Pflanzen in der Wohnung müssen heute gegossen werden!\n\n '\n who: home\n tag_id: information\n group: Pflanzen\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weekday",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.weekday",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "b900d37b-f0b2-4155-8251-bc7acbb7f1d4",
|
||
"automation": "- alias: Track Chore Water Bath\n id: b900d37b-f0b2-4155-8251-bc7acbb7f1d4\n description: Track Chore Water Bath\n trigger:\n - trigger: state\n entity_id:\n - sensor.wasser_warm_bad\n condition: []\n action:\n - action: grocy.execute_chore\n data:\n chore_id: '8'\n done_by: '2'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "bath warm water sensor",
|
||
"room": "bathroom",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.wasser_warm_bad",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "1a599a28-f737-4dcc-996a-38a7a6c647f4",
|
||
"automation": "- alias: Track Chore Water WC\n id: 1a599a28-f737-4dcc-996a-38a7a6c647f4\n description: Track Chore Water WC\n trigger:\n - trigger: state\n entity_id:\n - sensor.wasser_klo_warm\n condition: []\n action:\n - action: grocy.execute_chore\n data:\n chore_id: '9'\n done_by: '2'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "toilet warm water sensor",
|
||
"room": "bathroom",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.wasser_klo_warm",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "1458fb06-3f77-4669-8e72-0a7ec224be45",
|
||
"automation": "- alias: WateringNotifOutdoor\n id: 1458fb06-3f77-4669-8e72-0a7ec224be45\n description: Benachrichtigt, ob die Pflanzen draußen gegossen werden müssen.\n trigger:\n - platform: time\n at: input_datetime.watering_time\n condition:\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.home\n state: rainy\n - condition: template\n value_template: '{% set days = 1 %} {{ ''rainy'' in state_attr(''weather.home'',\n ''forecast'')[:days] | map(attribute=''condition'') }}\n\n '\n - condition: numeric_state\n entity_id: sensor.rained_last_day\n below: 1\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: spring\n - condition: state\n entity_id: sensor.season\n state: summer\n action:\n - service: script.notify_engine\n data:\n title: '🌊🌿 Gießen 🌊🌿\n\n '\n value1: 'Pflanzen müssen heute gegossen werden!\n\n '\n who: home\n tag_id: information\n group: Pflanzen\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "holiday mode input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.holiday_mode",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "rained last day sensor",
|
||
"room": "unknown",
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.rained_last_day",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Notify Engine",
|
||
"room": null,
|
||
"type": "script",
|
||
"id": {
|
||
"entity_id": "script.notify_engine",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Season",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.season",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "088d95b7-fe66-4f6f-b451-36f57089a574",
|
||
"automation": "- alias: ShowerWater\n id: 088d95b7-fe66-4f6f-b451-36f57089a574\n description: Setzt den Duschstatus anhand des Wassersensors\n trigger:\n - platform: state\n entity_id: binary_sensor.duschsensor_water_leak\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.duschsensor_water_leak\n state: 'on'\n - condition: state\n entity_id: binary_sensor.duschsensor_water_leak\n state: 'off'\n action:\n - if:\n - condition: state\n entity_id: binary_sensor.duschsensor_water_leak\n state: 'on'\n then:\n - service: input_boolean.turn_on\n entity_id: input_boolean.shower_active\n else:\n - service: input_boolean.turn_off\n entity_id: input_boolean.shower_active\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "shower sensor water leak binary sensor",
|
||
"room": "bathroom",
|
||
"type": "binary_sensor",
|
||
"id": {
|
||
"entity_id": "binary_sensor.duschsensor_water_leak",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "shower active input boolean",
|
||
"room": "bathroom",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.shower_active",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "54e10e2c-91a5-43cd-a7d2-d0087effef06",
|
||
"automation": "- alias: Weather indicator TV\n id: 54e10e2c-91a5-43cd-a7d2-d0087effef06\n trigger:\n - platform: state\n entity_id:\n - weather.home\n condition: []\n action:\n - service: notify.tvoverlaynotifyfixed\n data:\n data:\n id: fixed_weather\n icon: '{% if is_state(\"weather.home\",\"sunny\") %} mdi:weather-sunny {% elif\n is_state(\"weather.home\",\"clear-night\") %} mdi:weather-night {% elif is_state(\"weather.home\",\"rainy\")\n %} mdi:weather-rainy {% elif is_state(\"weather.home\",\"snow\") %} mdi:weather-snowy\n {% elif is_state(\"weather.home\",\"fog\") %} mdi:weather-fog {% elif is_state(\"weather.home\",\"sleet\")\n %} mdi:weather-partly-snowy-rainy {% elif is_state(\"weather.home\",\"wind\")\n %} mdi:weather-windy {% elif is_state(\"weather.home\",\"cloudy\") %} mdi:weather-cloudy\n {% elif is_state(\"weather.home\",\"partlycloudy\") %} mdi:weather-partly-cloudy\n {% elif is_state(\"weather.home\",\"partlycloudy-night\") %} mdi:weather-night-partly-cloudy\n {% elif is_state(\"weather.home\",\"hail\") %} mdi:weather-hail {% elif is_state(\"weather.home\",\"lightning\")\n %} mdi:weather-lightning {% elif is_state(\"weather.home\",\"thunderstorm\")\n %} mdi:weather-lightning-rainy {% endif %}'\n expiration: 12h\n shape: circle\n message: '{{ state_attr(''weather.home'', ''temperature'') | round }}°'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "665e5eb0-932c-4a69-8dc6-99875649df6c",
|
||
"automation": "- alias: Weather image\n description: ''\n id: 665e5eb0-932c-4a69-8dc6-99875649df6c\n triggers:\n - trigger: state\n entity_id: weather.home\n conditions: []\n actions:\n - action: openai_conversation.generate_image\n data:\n size: 1024x1024\n quality: standard\n style: vivid\n config_entry: 01JAE4ZR2CG7T0XTAV08YDB7SS\n prompt: Leingarten wenn das Wetter so ist {{ states(\"weather.home\") }} zur der\n Uhrzeit {{ states('sensor.date_time_iso') }}. Bitte auch den Mond {{ states('sensor.moon')\n }} die Sonne {{ states('sun.sun') }} und die Jahreszeit {{ states('sensor.season')\n }} beachten.\n response_variable: generated_image\n - alias: Send out a manual event to update the image entity\n event: new_weather_image\n event_data:\n url: '{{ generated_image.url }}'\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "Date Time ISO",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.date_time_iso",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Moon",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.moon",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Season",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.season",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Sun",
|
||
"room": null,
|
||
"type": "sun",
|
||
"id": {
|
||
"entity_id": "sun.sun",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "c2e4550d-1016-4ff5-bff6-9d73d092a773",
|
||
"automation": "- alias: WeatherAIPic\n description: ''\n id: c2e4550d-1016-4ff5-bff6-9d73d092a773\n triggers:\n - trigger: state\n entity_id: weather.home\n conditions: []\n actions:\n - action: openai_conversation.generate_image\n data:\n size: 1024x1024\n quality: standard\n style: vivid\n config_entry: 01JAE4ZR2CG7T0XTAV08YDB7SS\n prompt: 'Show the town of {{ state_attr(''weather.home'', ''friendly_name'')\n }} in Germany in the picture. Include a dog in the image wearing clothing\n which reflects the weather. The dog is a famous tv-presenter who is presenting\n the weather-report live on-air right now.\n\n It is {{ states(''weather.home'') }}, but keep in mind that the sun is {{\n states(''sun.sun'') | replace(''_'', '' the '')}}. The temperature is {{ state_attr(''weather.home'',''temperature'')\n }}{{ state_attr(''weather.home'',''temperature_unit'') }}.\n\n Make it as realistic as possible.'\n response_variable: picture\n - action: downloader.download_file\n data:\n overwrite: true\n url: '{{ picture.url }}'\n filename: weather_home.png\n subdir: weather\n mode: parallel",
|
||
"config": [
|
||
{
|
||
"name": "Sun",
|
||
"room": null,
|
||
"type": "sun",
|
||
"id": {
|
||
"entity_id": "sun.sun",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Weather Home",
|
||
"room": null,
|
||
"type": "weather",
|
||
"id": {
|
||
"entity_id": "weather.home",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "434eeb1e-ac51-4b60-a424-736b54d44c9b",
|
||
"automation": "- alias: weddingDay\n id: 434eeb1e-ac51-4b60-a424-736b54d44c9b\n description: Hochzeitstag\n trigger:\n - platform: state\n entity_id: sensor.anniversary_special_hochzeitstag\n condition:\n - condition: or\n conditions:\n - condition: template\n value_template: '{{ states(trigger.entity_id) == 0 }}'\n - condition: template\n value_template: '{{ states(trigger.entity_id) >= 363 }}'\n action:\n - if:\n - condition: template\n value_template: '{{ states(trigger.entity_id) == 0 }}'\n then:\n - service: switch.turn_on\n data: {}\n target:\n entity_id: switch.herz\n else:\n - service: switch.turn_off\n data: {}\n target:\n entity_id: switch.herz\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "heart switch",
|
||
"room": "unknown",
|
||
"type": "switch",
|
||
"id": {
|
||
"entity_id": "switch.herz",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Anniversary Special Hochzeitstag",
|
||
"room": null,
|
||
"type": "sensor",
|
||
"id": {
|
||
"entity_id": "sensor.anniversary_special_hochzeitstag",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "db7c5885-b42d-4db0-a1ff-3fce6572cac7",
|
||
"automation": "- alias: workDone\n id: db7c5885-b42d-4db0-a1ff-3fce6572cac7\n description: Sync GPS Coords with work laptop\n trigger:\n - platform: state\n entity_id: device_tracker.bcwmc5cg4100cy0\n to: not_home\n condition: []\n action:\n - service: light.turn_off\n target:\n area_id: buro\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "work laptop device tracker",
|
||
"room": "office",
|
||
"type": "device_tracker",
|
||
"id": {
|
||
"entity_id": "device_tracker.bcwmc5cg4100cy0",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "bece8ed6-e1d0-44d9-a167-85413735c362",
|
||
"automation": "- alias: workStarting\n id: bece8ed6-e1d0-44d9-a167-85413735c362\n description: Geschäftslaptop befindet sich im Netz\n trigger:\n - platform: state\n entity_id: device_tracker.bcwmc5cg4100cy0\n to: home\n condition:\n - condition: state\n entity_id: input_boolean.status_light\n state: 'on'\n action:\n - service: scene.create\n data:\n snapshot_entities:\n - light.schreibtischlicht\n scene_id: pre_work\n - service: light.turn_on\n data:\n color_name: darkgreen\n target:\n entity_id: light.schreibtischlicht\n - service: light.turn_on\n data:\n effect: blink\n target:\n entity_id: light.schreibtischlicht\n - service: scene.turn_on\n target:\n entity_id: scene.pre_work\n data: {}\n mode: single",
|
||
"config": [
|
||
{
|
||
"name": "desk light",
|
||
"room": "office",
|
||
"type": "light",
|
||
"id": {
|
||
"entity_id": "light.schreibtischlicht",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "status light input boolean",
|
||
"room": "unknown",
|
||
"type": "input_boolean",
|
||
"id": {
|
||
"entity_id": "input_boolean.status_light",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "work laptop device tracker",
|
||
"room": "office",
|
||
"type": "device_tracker",
|
||
"id": {
|
||
"entity_id": "device_tracker.bcwmc5cg4100cy0",
|
||
"device_id": null
|
||
}
|
||
},
|
||
{
|
||
"name": "Pre Work",
|
||
"room": null,
|
||
"type": "scene",
|
||
"id": {
|
||
"entity_id": "scene.pre_work",
|
||
"device_id": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
] |