commit 7c7d730799b89d5ee83b1a20da75b715f3b0de7e Author: root Date: Sat Dec 27 09:13:04 2025 +0100 first commit diff --git a/Luftbefeuchter/ch1.sh b/Luftbefeuchter/ch1.sh new file mode 100755 index 0000000..0fa3bb7 --- /dev/null +++ b/Luftbefeuchter/ch1.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:98:D4:AD:FC:85:C8:C1", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 1 + } +} +' diff --git a/Luftbefeuchter/ch4.sh b/Luftbefeuchter/ch4.sh new file mode 100755 index 0000000..4f8e7ec --- /dev/null +++ b/Luftbefeuchter/ch4.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:98:D4:AD:FC:85:C8:C1", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 4 + } +} +' diff --git a/Luftbefeuchter/ch8.sh b/Luftbefeuchter/ch8.sh new file mode 100755 index 0000000..c7e7c02 --- /dev/null +++ b/Luftbefeuchter/ch8.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:98:D4:AD:FC:85:C8:C1", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 8 + } +} +' diff --git a/Luftbefeuchter/gr1.sh b/Luftbefeuchter/gr1.sh new file mode 100755 index 0000000..eb2ca15 --- /dev/null +++ b/Luftbefeuchter/gr1.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2C:3C:D4:AD:FC:85:ED:84", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 1 + } +} +' diff --git a/Luftbefeuchter/gr4.sh b/Luftbefeuchter/gr4.sh new file mode 100755 index 0000000..d57ca88 --- /dev/null +++ b/Luftbefeuchter/gr4.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2C:3C:D4:AD:FC:85:ED:84", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 4 + } +} +' diff --git a/Luftbefeuchter/gr8.sh b/Luftbefeuchter/gr8.sh new file mode 100755 index 0000000..d656357 --- /dev/null +++ b/Luftbefeuchter/gr8.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2C:3C:D4:AD:FC:85:ED:84", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 8 + } +} +' diff --git a/Luftbefeuchter/luftbefeuchter.off.sh b/Luftbefeuchter/luftbefeuchter.off.sh new file mode 100755 index 0000000..500c97b --- /dev/null +++ b/Luftbefeuchter/luftbefeuchter.off.sh @@ -0,0 +1,78 @@ +#!/bin/sh + +wohnzimmer='Wohnzimmer' +greta='Greta' +charlotte='Charlotte' +schlafzimmer='Schlafzimmer' + + +if [ $1 = $wohnzimmer ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "18:3C:D4:AD:FC:85:FC:1A", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "off" + } +} +' +elif [ $1 = $schlafzimmer ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:95:D4:AD:FC:86:9E:7F", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "off" + } +} +' +elif [ $1 = $greta ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2C:3C:D4:AD:FC:85:ED:84", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "off" + } +} +' +elif [ $1 = $charlotte ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:98:D4:AD:FC:85:C8:C1", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "off" + } +} +' + +fi diff --git a/Luftbefeuchter/luftbefeuchter.on.sh b/Luftbefeuchter/luftbefeuchter.on.sh new file mode 100755 index 0000000..510c1b9 --- /dev/null +++ b/Luftbefeuchter/luftbefeuchter.on.sh @@ -0,0 +1,78 @@ +#!/bin/sh + +wohnzimmer='Wohnzimmer' +greta='Greta' +charlotte='Charlotte' +schlafzimmer='Schlafzimmer' + + +if [ $1 = $wohnzimmer ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "18:3C:D4:AD:FC:85:FC:1A", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "on" + } +} +' +elif [ $1 = $schlafzimmer ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:95:D4:AD:FC:86:9E:7F", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "on" + } +} +' +elif [ $1 = $greta ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2C:3C:D4:AD:FC:85:ED:84", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "on" + } +} +' +elif [ $1 = $charlotte ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:98:D4:AD:FC:85:C8:C1", + "model": "H7140", + "cmd": { + "name": "turn", + "value": "on" + } +} +' + +fi diff --git a/Luftbefeuchter/nachtlicht.on.sh b/Luftbefeuchter/nachtlicht.on.sh new file mode 100755 index 0000000..9536a00 --- /dev/null +++ b/Luftbefeuchter/nachtlicht.on.sh @@ -0,0 +1,78 @@ +#!/bin/sh + +wohnzimmer='Wohnzimmer' +greta='Greta' +charlotte='Charlotte' +schlafzimmer='Schlafzimmer' + + +if [ $1 = $wohnzimmer ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "18:3C:D4:AD:FC:85:FC:1A", + "model": "H7140", + "cmd": { + "name": "on", + "value": "1" + } +} +' +elif [ $1 = $schlafzimmer ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:95:D4:AD:FC:86:9E:7F", + "model": "H7140", + "cmd": { + "name": "nightlightToggle", + "value": "on" + } +} +' +elif [ $1 = $greta ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2C:3C:D4:AD:FC:85:ED:84", + "model": "H7140", + "cmd": { + "name": "nightlightToggle", + "value": "on" + } +} +' +elif [ $1 = $charlotte ] + then + curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:98:D4:AD:FC:85:C8:C1", + "model": "H7140", + "cmd": { + "name": "nightlightToggle", + "value": "on" + } +} +' + +fi diff --git a/Luftbefeuchter/sz1.sh b/Luftbefeuchter/sz1.sh new file mode 100755 index 0000000..10e1f98 --- /dev/null +++ b/Luftbefeuchter/sz1.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:95:D4:AD:FC:86:9E:7F", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 1 + } +} +' diff --git a/Luftbefeuchter/sz4.sh b/Luftbefeuchter/sz4.sh new file mode 100755 index 0000000..91471dd --- /dev/null +++ b/Luftbefeuchter/sz4.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:95:D4:AD:FC:86:9E:7F", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 4 + } +} +' diff --git a/Luftbefeuchter/sz8.sh b/Luftbefeuchter/sz8.sh new file mode 100755 index 0000000..4272ad8 --- /dev/null +++ b/Luftbefeuchter/sz8.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "2E:95:D4:AD:FC:86:9E:7F", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 8 + } +} +' diff --git a/Luftbefeuchter/wz1.sh b/Luftbefeuchter/wz1.sh new file mode 100755 index 0000000..f233cfc --- /dev/null +++ b/Luftbefeuchter/wz1.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "18:3C:D4:AD:FC:85:FC:1A", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 1 + } +} +' diff --git a/Luftbefeuchter/wz4.sh b/Luftbefeuchter/wz4.sh new file mode 100755 index 0000000..d9d3805 --- /dev/null +++ b/Luftbefeuchter/wz4.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "18:3C:D4:AD:FC:85:FC:1A", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 4 + } +} +' diff --git a/Luftbefeuchter/wz8.sh b/Luftbefeuchter/wz8.sh new file mode 100755 index 0000000..3ddfbd0 --- /dev/null +++ b/Luftbefeuchter/wz8.sh @@ -0,0 +1,16 @@ +#!/bin/bash +curl --request PUT \ + --url https://developer-api.govee.com/v1/appliance/devices/control \ + --header 'Govee-API-Key: aaecbef1-57f8-44e6-9ded-f05cbc840c10' \ + --header 'accept: application/json' \ + --header 'content-type: application/json' \ + --data ' +{ + "device": "18:3C:D4:AD:FC:85:FC:1A", + "model": "H7140", + "cmd": { + "name": "gear", + "value": 8 + } +} +' diff --git a/README.md b/README.md new file mode 100644 index 0000000..70fed48 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +## Home Assistant + +- Konfigurationsdateien + diff --git a/automations.yaml b/automations.yaml new file mode 100644 index 0000000..7060325 --- /dev/null +++ b/automations.yaml @@ -0,0 +1,4981 @@ +- id: '1701869833144' + alias: 'Push: Luftfeuchtigkeit Wohnzimmer unter 40% ' + description: '' + triggers: + - entity_id: + - sensor.wohnzimmer_luftfeuchtigkeit + trigger: state + conditions: + - condition: numeric_state + entity_id: sensor.wohnzimmer_luftfeuchtigkeit + below: 40 + - condition: state + entity_id: input_boolean.push_luftfeuchtigkeit_wohnzimmer + state: 'off' + - condition: state + entity_id: input_boolean.push_luftbefeuchter + state: 'on' + actions: + - action: notify.gotify + metadata: {} + data: + title: Mangelnde Luftfeuchtigkeit + message: 'Luftfeuchtigkeit Wohnzimmer unter 40%. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + - metadata: {} + data: {} + target: + entity_id: input_boolean.push_luftfeuchtigkeit_wohnzimmer + action: input_boolean.turn_on + mode: single +- id: '1701928411777' + alias: 'Push: Luftfeuchtigkeit Charlotte unter 35%' + description: '' + triggers: + - entity_id: + - sensor.charlotte_luftfeuchtigkeit + trigger: state + conditions: + - condition: numeric_state + entity_id: sensor.charlotte_luftfeuchtigkeit + below: 35 + - condition: state + entity_id: input_boolean.push_luftfeuchtigkeit_charlotte + state: 'off' + - condition: state + entity_id: input_boolean.push_luftbefeuchter + state: 'on' + actions: + - data: + message: Luftfeuchtigkeit Charlotte unter 35% + action: notify.mobile_app_sarahs_iphone + - action: notify.gotify + metadata: {} + data: + message: "Luftfeuchtigkeit Charlotte unter 35% \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Mangelnde Luftfeuchtigkeit + - metadata: {} + data: {} + target: + entity_id: input_boolean.push_luftfeuchtigkeit_charlotte + action: input_boolean.turn_on + mode: single +- id: '1701956566796' + alias: Luftfeuchtigkeit Greta unter 40% + description: '' + triggers: + - entity_id: + - sensor.greta_luftfeuchtigkeit + trigger: state + conditions: + - condition: numeric_state + entity_id: sensor.greta_luftfeuchtigkeit + below: 40 + - condition: state + entity_id: input_boolean.push_luftfeuchtigkeit_greta + state: 'off' + - condition: state + entity_id: input_boolean.push_luftbefeuchter + state: 'on' + actions: + - data: + message: Luftfeuchtigkeit Greta unter 35% + action: notify.mobile_app_sarahs_iphone + - action: notify.gotify + metadata: {} + data: + title: Mangelnde Luftfeuchtigkeit + message: 'Luftfeuchtigkeit Greta unter 35%. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + - metadata: {} + data: {} + target: + entity_id: input_boolean.push_luftfeuchtigkeit_greta + action: input_boolean.turn_on + mode: single +- id: '1702057642097' + alias: 'Schalter: Heizlüfter Ein' + description: ' + + ' + triggers: + - type: turned_on + device_id: 2614fd35527a4f63a3354555a6016af0 + entity_id: dbad2d3da89d72552ee2edc05fe20d6e + domain: light + trigger: device + - type: turned_on + device_id: a009619aa255262341b1e187da92a45c + entity_id: 14b8bbb00fab7f758392dc45a42809ea + domain: light + trigger: device + - type: turned_on + device_id: 91991fefdec844f94cb0653a0e86cad6 + entity_id: 6c24a2bfc114d2a763f3a9b486b88c03 + domain: light + trigger: device + - type: turned_on + device_id: 0a65e0bab7ee0d2ed411873cab690d7b + entity_id: b0ee10a7e65e21ae6e47e12a8da125af + domain: light + trigger: device + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.bad_temperatur + above: 20 + below: 24 + - condition: not + conditions: + - condition: state + entity_id: sensor.season + state: summer + - condition: device + type: is_off + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + actions: + - type: turn_on + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + mode: single +- id: '1702126209798' + alias: 'Push: Garagentor offen' + description: '' + triggers: + - event: sunset + offset: 00:00:02 + trigger: sun + conditions: + - condition: or + conditions: + - condition: device + device_id: 8133399009efc64ed9e8b4c66aaae10c + domain: cover + entity_id: f3a71b236f2a25daf56ef8f9b08f26c5 + type: is_open + - condition: device + device_id: 884e8f5179b5f175114f6984bec45e9c + domain: cover + entity_id: 44ee99db25d000598e0063c6e08564ab + type: is_open + actions: + - data: + message: Ein Garagentor ist noch offen. + action: notify.mobile_app_sarahs_iphone + - action: notify.gotify + metadata: {} + data: + title: Garagentor + message: "Ein Garagentor ist noch offen. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + mode: single +- id: '1702126680899' + alias: 'Sonne: Garagentore schließen' + description: '' + triggers: + - event: sunset + offset: 0 + trigger: sun + conditions: + - condition: or + conditions: + - condition: device + device_id: 8133399009efc64ed9e8b4c66aaae10c + domain: cover + entity_id: f3a71b236f2a25daf56ef8f9b08f26c5 + type: is_open + - condition: device + device_id: 884e8f5179b5f175114f6984bec45e9c + domain: cover + entity_id: 44ee99db25d000598e0063c6e08564ab + type: is_open + - condition: state + entity_id: input_boolean.garagentorsteuerung + state: 'on' + actions: + - device_id: 8133399009efc64ed9e8b4c66aaae10c + domain: cover + entity_id: f3a71b236f2a25daf56ef8f9b08f26c5 + type: open + - device_id: 884e8f5179b5f175114f6984bec45e9c + domain: cover + entity_id: 44ee99db25d000598e0063c6e08564ab + type: close + - data: + message: Garagentore wurden automatisch geschlossen. + action: notify.mobile_app_sarahs_iphone + - data: + message: Garagentore wurden automatisch geschlossen. + action: notify.mobile_app_svens_iphone_pro_max + mode: single +- id: '1702135003545' + alias: 'Sonne: Rollos schließen nach SU' + description: '' + triggers: + - event: sunset + trigger: sun + offset: '1:00:00' + conditions: + - condition: and + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.rollladensteuerung + state: 'on' + - condition: numeric_state + entity_id: sensor.langenau_temperatur_3 + below: 10 + actions: + - device_id: b4e2e689f9185b6ec55caad919c3c57f + domain: cover + entity_id: d97c214f7de8b78c6672d78e4355a405 + type: close + - device_id: 36907da28128722dcf251247dbba0b4a + domain: cover + entity_id: a33d31eee064ed2ea22f7050221bef25 + type: close + - device_id: 33a28c9bd182556b2a850e07140602ac + domain: cover + entity_id: c3da0bdb651ced7630ba42df87691875 + type: close + - device_id: 94e161f426b541ec8e1771b687c02fce + domain: cover + entity_id: 6c0ddc2e9939af32930b367f919c7f73 + type: close + - device_id: 2ad5af7c5b22316bc4d63cd866f29167 + domain: cover + entity_id: fd565f8f379f2c0c07ebeb6c072b9b8b + type: close + - device_id: 26acbd3aa935f5c5eb65fd30ef3ccfb0 + domain: cover + entity_id: a114f13de8c06b4f50b933e18d6b503c + type: close + - device_id: 80c08a40f94fda947aef39928d0b5e3d + domain: cover + entity_id: 201025397cb240ebfa1c526c06e9fe1a + type: close + - device_id: ffe74fafc8a15c435c26597d019af388 + domain: cover + entity_id: 986d394c20eafe2015881419de75b63a + type: close + - metadata: {} + data: {} + action: script.rollo_kuche_runter + mode: single +- id: '1702135495059' + alias: 'Uhrzeit: Rollos runter bei Sonneneinstrahlung' + description: '' + triggers: + - at: 09:30:00 + trigger: time + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.hitzeschutz_rolladensteuerung + state: 'on' + - condition: or + conditions: + - condition: state + entity_id: sensor.season + state: spring + - condition: state + entity_id: sensor.season + state: summer + - condition: state + entity_id: sensor.season + state: autumn + - condition: state + entity_id: binary_sensor.check_weather + state: 'on' + enabled: false + actions: + - device_id: b4e2e689f9185b6ec55caad919c3c57f + domain: cover + entity_id: d97c214f7de8b78c6672d78e4355a405 + type: close + - device_id: 2ad5af7c5b22316bc4d63cd866f29167 + domain: cover + entity_id: fd565f8f379f2c0c07ebeb6c072b9b8b + type: close + - action: script.rollo_kuche_teilweise_geschlossen + metadata: {} + data: {} + - delay: + hours: 2 + minutes: 0 + seconds: 0 + milliseconds: 0 + - device_id: 36907da28128722dcf251247dbba0b4a + domain: cover + entity_id: a33d31eee064ed2ea22f7050221bef25 + type: close + - device_id: 94e161f426b541ec8e1771b687c02fce + domain: cover + entity_id: 6c0ddc2e9939af32930b367f919c7f73 + type: close + - device_id: ffe74fafc8a15c435c26597d019af388 + domain: cover + entity_id: 986d394c20eafe2015881419de75b63a + type: close + mode: single +- id: '1702627600824' + alias: 'Push: Fenstersensor Greta (Heizung an)' + description: '' + triggers: + - type: opened + device_id: b39fc904a046eee720b8f9cdf6ae3410 + entity_id: 6ed1cd2481736c33f19834a2363fdd51 + domain: binary_sensor + trigger: device + - type: opened + device_id: 6885a25028d7d367c81603d66dff2dcb + entity_id: c9e504fe1930566424ff8081b8344e53 + domain: binary_sensor + trigger: device + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.greta + attribute: hvac_action + state: heating + actions: + - action: notify.gotify + data: + message: 'Fenster Greta für mehr als 10 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + - data: + message: Fenster Greta für mehr als 15 Minuten geöffnet + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1702634805455' + alias: 'Push: Fenstersensor Charlotte (Heizung an)' + description: '' + triggers: + - type: opened + device_id: 7a9c511940ae11f35071b6ed5c9e970e + entity_id: 0a93b52cdd647a999b5a9e1d5b1372dc + domain: binary_sensor + trigger: device + - type: opened + device_id: 97cb5a718d8a1e74ad9ba6f9bc2ec1fa + entity_id: 3ff8826da188b0a9ebd27f06fa101efa + domain: binary_sensor + trigger: device + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.charlotte + state: heating + attribute: hvac_action + actions: + - action: notify.gotify + data: + message: 'Fenster Charlotte für mehr als 10 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + - data: + message: Fenster Charlotte für mehr als 15 Minuten geöffnet. + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1702740972264' + alias: 'Push: Fenstersensor Bad (Heizung an)' + description: '' + triggers: + - type: opened + device_id: 1cdb215985fce2d820b6296acfcaf35a + entity_id: 385157bf932f0d273d3e7df80eb19c93 + domain: binary_sensor + for: + hours: 0 + minutes: 20 + seconds: 0 + trigger: device + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.bad + state: heat + actions: + - data: + message: 'Fenster Bad für mehr als 20 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + - action: notify.gotify + metadata: {} + data: + message: Fenster Bad für mehr als 20 Minuten geöffnet. - {{ now().strftime('%H:%M') + }} + title: Fenstersensor + mode: single +- id: '1702792500261' + alias: 'Sonne: Rollos Wohnzimmer und Küche öffnen' + description: '' + trigger: + - platform: sun + event: sunrise + offset: -00:30:00 + condition: + - condition: state + entity_id: input_boolean.rollladensteuerung + state: 'on' + action: + - device_id: 2ad5af7c5b22316bc4d63cd866f29167 + domain: cover + entity_id: fd565f8f379f2c0c07ebeb6c072b9b8b + type: open + - device_id: 80c08a40f94fda947aef39928d0b5e3d + domain: cover + entity_id: 201025397cb240ebfa1c526c06e9fe1a + type: open + - device_id: ffe74fafc8a15c435c26597d019af388 + domain: cover + entity_id: 986d394c20eafe2015881419de75b63a + type: open + - device_id: 26acbd3aa935f5c5eb65fd30ef3ccfb0 + domain: cover + entity_id: a114f13de8c06b4f50b933e18d6b503c + type: open + - service: script.rollo_kuche_hoch + metadata: {} + data: {} + mode: single +- id: '1702814534431' + alias: 'Action: Rollos hoch - Licht aus Greta' + description: '' + triggers: + - device_id: 94e161f426b541ec8e1771b687c02fce + domain: cover + entity_id: 6c0ddc2e9939af32930b367f919c7f73 + type: opening + trigger: device + - device_id: 33a28c9bd182556b2a850e07140602ac + domain: cover + entity_id: c3da0bdb651ced7630ba42df87691875 + type: opening + trigger: device + conditions: + - condition: sun + after: sunrise + after_offset: '-1:00:00' + before: sunset + before_offset: '-4:00:00' + actions: + - type: turn_off + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + - type: turn_off + device_id: 42c265ec58ee05cdfa16f1bceeaf720b + entity_id: 3cd43db6b96777f7589172f90c963a50 + domain: light + - type: turn_off + device_id: ad07bb700074bd4edcbd7d4a0440020f + entity_id: d5c687dccaebb2af80641d247ebc40e9 + domain: light + - type: turn_off + device_id: f3c9f016048c03fee8a552869913e10b + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + domain: light + mode: single +- id: '1702814831133' + alias: 'Action: Rollos hoch - Licht aus Charlotte' + description: '' + triggers: + - device_id: 36907da28128722dcf251247dbba0b4a + domain: cover + entity_id: a33d31eee064ed2ea22f7050221bef25 + type: opening + trigger: device + - device_id: b4e2e689f9185b6ec55caad919c3c57f + domain: cover + entity_id: d97c214f7de8b78c6672d78e4355a405 + type: opening + trigger: device + conditions: + - condition: sun + after: sunrise + after_offset: '-1:00:00' + before: sunset + before_offset: '-4:00:00' + actions: + - type: turn_off + device_id: 63af3e51fa64a5f847b2cdbb1f7c35f7 + entity_id: 088a80fe4ada13d51aec6dede73d493c + domain: light + - type: turn_off + device_id: 161b57d503c25ba4580dc49149bf5d0c + entity_id: 93423b760961b1730e2217d60821be00 + domain: light + - type: turn_off + device_id: 4cba99f44d461f069193a17b1365986e + entity_id: 43fcf2fa14377b5c2aed406d1a5721a1 + domain: light + - type: turn_off + device_id: 1c88a66a75ce9506102eef80106e2709 + entity_id: 0dd47101bf06dee54f711a1608760330 + domain: light + mode: single +- id: '1702824249623' + alias: 'Push: Fenstersensor Schlafzimmer (Heizung an)' + description: '' + triggers: + - type: opened + device_id: a51c4be7f00ca52c11abcf3f54bc4fcb + entity_id: a92b6cce89cb76c0c395e8cab088a8af + domain: binary_sensor + trigger: device + - type: opened + device_id: 74145228ce0539bb05dc9ea2fd9e2808 + entity_id: c28e66f2e911e9684b27b4d9b488dc95 + domain: binary_sensor + trigger: device + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.schlafzimmer + state: heating + attribute: hvac_action + actions: + - action: notify.gotify + data: + message: 'Fenster Schlafzimmer für mehr als 10 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + - data: + message: Fenster Schlafzimmer für mehr als 20 Minuten geöffnet + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1703518478027' + alias: 'Sonne: Wohnzimmer Abend' + description: '' + trigger: + - platform: sun + event: sunset + offset: -00:10:00 + condition: + - condition: device + type: is_off + device_id: 84ead8720aa1da661ad08c5795f6813a + entity_id: e395925760c848ee05eef8fb572324d8 + domain: light + action: + - service: scene.turn_on + target: + entity_id: scene.wohnzimmer_abend + metadata: {} + mode: single +- id: '1703532577018' + alias: 'Push: CO2-Gehalt' + description: '' + triggers: + - type: carbon_dioxide + device_id: 14e7a04d70c81b54eb4515c493944283 + entity_id: 94b7e7931bfeac30ce16dc0bb8942fb2 + domain: sensor + above: 1500 + for: + hours: 0 + minutes: 30 + seconds: 0 + trigger: device + below: 2000 + - type: carbon_dioxide + device_id: 14e7a04d70c81b54eb4515c493944283 + entity_id: 94b7e7931bfeac30ce16dc0bb8942fb2 + domain: sensor + above: 2000 + for: + hours: 0 + minutes: 30 + seconds: 0 + trigger: device + conditions: [] + actions: + - choose: + - conditions: + - condition: numeric_state + entity_id: sensor.innenmodul_kohlendioxid + above: 1500 + sequence: + - action: notify.gotify + data: + message: "CO2-Gehalt Wohnzimmer über 1500 ppm. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Luftqualität + - conditions: + - condition: numeric_state + entity_id: sensor.innenmodul_kohlendioxid + above: 2000 + sequence: + - action: notify.gotify + data: + message: "CO2-Gehalt Wohnzimmer über 2000 ppm. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}\n" + title: 'Luftqualität ' + mode: single +- id: '1704123321342' + alias: 'Sonne: Markisen hoch nach Sonnenuntergang ' + description: '' + trigger: + - platform: sun + event: sunset + condition: + - condition: or + conditions: + - condition: device + device_id: a1a601274c103ef488b52bc7cac4865a + domain: cover + entity_id: 94e6296ebec9b40f05b2015e38e832f0 + type: is_closed + - condition: device + device_id: f40637b3425394bc1ea34aaf51d1f8db + domain: cover + entity_id: 63165a573db5a24223efccde323b7ab7 + type: is_closed + - condition: device + device_id: 55e5d1fccd245938eee79473ff2a3a9b + domain: cover + entity_id: 8e4b6922eaa0c08d8d94d4216aa2db51 + type: is_closed + - condition: state + entity_id: input_boolean.markisensteuerung + state: 'on' + action: + - device_id: a1a601274c103ef488b52bc7cac4865a + domain: cover + entity_id: 94e6296ebec9b40f05b2015e38e832f0 + type: open + - device_id: f40637b3425394bc1ea34aaf51d1f8db + domain: cover + entity_id: 63165a573db5a24223efccde323b7ab7 + type: open + - device_id: 55e5d1fccd245938eee79473ff2a3a9b + domain: cover + entity_id: 8e4b6922eaa0c08d8d94d4216aa2db51 + type: open + mode: single +- id: '1704298726557' + alias: 'Sonne: Terrassenlampen ein nach SU' + description: '' + trigger: + - platform: sun + event: sunset + offset: 00:30:00 + condition: [] + action: + - type: turn_on + device_id: c09b8f89be67fb050888da7a5886143f + entity_id: 4f3cf865c223a10a35d97e545dd92b67 + domain: light + brightness_pct: 1 + - type: turn_on + device_id: 6b8e61dfc05da61dde221420c5a5abc7 + entity_id: cc3bedadf7de65b7ab63473371b20d13 + domain: light + brightness_pct: 1 + mode: single +- id: '1704385083903' + alias: 'Sonne: Terrassenlampen ausschalten nach SA' + description: '' + triggers: + - event: sunrise + trigger: sun + offset: '-1:00:00' + conditions: [] + actions: + - type: turn_off + device_id: c09b8f89be67fb050888da7a5886143f + entity_id: 4f3cf865c223a10a35d97e545dd92b67 + domain: light + - type: turn_off + device_id: 6b8e61dfc05da61dde221420c5a5abc7 + entity_id: cc3bedadf7de65b7ab63473371b20d13 + domain: light + mode: single +- id: '1704393663200' + alias: 'Sonne: Vordertür an bei SU' + description: '' + trigger: + - platform: sun + event: sunset + condition: [] + action: + - service: light.turn_on + metadata: {} + data: + brightness_pct: 2 + target: + entity_id: light.vordertur + mode: single +- id: '1704393753237' + alias: 'Sonne: Vordertür aus nach SA' + description: '' + trigger: + - platform: sun + event: sunrise + offset: 00:30:00 + condition: [] + action: + - type: turn_off + device_id: 69f7ece5417eb61aead5e2862770408e + entity_id: a5cb7eac4a3f9478183c59b6595bd647 + domain: light + - type: turn_off + device_id: 3357be06c2fe6a57e62dbe7863844c07 + entity_id: d803b5da1f221c8306ec972739aa835b + domain: light + mode: single +- id: '1705085581554' + alias: 'Push: Tür Gästebad offen' + description: '' + triggers: + - type: opened + device_id: 9e4103dc99f9974134c65f7102a4bf4d + entity_id: 9789721a2a2f29a99e3f7d82bc4290ea + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + message: "Tür im Gästebad ist offen. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + title: Tür offen + mode: single +- id: '1705330361596' + alias: 'Raumklima: Luftbefeuchter Schlafzimmer aus über Sollwert' + description: '' + triggers: + - entity_id: + - sensor.schlafzimmer_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.schlafzimmer_luftfeuchtigkeit + above: input_number.eingabe_schlafzimmer_oberer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - data: {} + action: shell_command.humidifier_schlafzimmer_off + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_schlafzimmer + action: switch.turn_off + enabled: false + mode: single +- id: '1705331497209' + alias: 'Raumklima: Luftbefeuchter Schlafzimmer ein unter Sollwert' + description: '' + triggers: + - entity_id: + - sensor.schlafzimmer_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.schlafzimmer_luftfeuchtigkeit + below: input_number.eingabe_schlafzimmer_unterer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - choose: + - conditions: + - condition: state + entity_id: input_boolean.luftbefeuchter_schlafzimmer + state: 'off' + sequence: + - data: + message: Luftbefeuchter eingeschaltet Schlafzimmer + title: Zu geringe Luftfeuchte + action: notify.mobile_app_svens_iphone_pro_max + - data: + title: Zu geringe Luftfeuchte + message: Luftbefeuchter eingeschaltet Schlafzimmer + action: notify.mobile_app_sarahs_iphone + enabled: false + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_schlafzimmer + action: switch.turn_on + enabled: false + - data: {} + action: shell_command.humidifier_schlafzimmer_on + mode: single +- id: '1705331742499' + alias: 'Raumklima: Luftbefeuchter Wohnzimmer aus über Sollwert' + description: '' + triggers: + - entity_id: + - sensor.wohnzimmer_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.wohnzimmer_luftfeuchtigkeit + above: input_number.wohnzimmer_oberer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - data: {} + action: shell_command.humidifier_wohnzimmer_off + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_wohnzimmer + action: switch.turn_off + enabled: false + mode: single +- id: '1705331857205' + alias: 'Raumklima: Luftbefeuchter Wohnzimmer ein unter Sollwert' + description: '' + triggers: + - entity_id: + - sensor.wohnzimmer_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.wohnzimmer_luftfeuchtigkeit + below: input_number.wohnzimmer_unterer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - choose: + - conditions: + - condition: state + entity_id: input_boolean.luftbefeuchter_wohnzimmer + state: 'off' + sequence: + - data: + message: Luftbefeuchter eingeschaltet Wohnzimmer + title: Zu geringe Luftfeuchte + action: notify.mobile_app_svens_iphone_pro_max + - data: + title: Zu geringe Luftfeuchte + message: Luftbefeuchter eingeschaltet Wohnzimmer + action: notify.mobile_app_sarahs_iphone + enabled: false + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_wohnzimmer + action: switch.turn_on + enabled: false + - data: {} + response_variable: input_text.response + action: shell_command.humidifier_wohnzimmer_on + mode: single +- id: '1705332080804' + alias: 'Raumklima: Luftbefeuchter Charlotte aus über Sollwert' + description: '' + triggers: + - entity_id: + - sensor.charlotte_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.charlotte_luftfeuchtigkeit + above: input_number.eingabe_charlotte_oberer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - data: {} + action: shell_command.humidifier_charlotte_off + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_charlotte + action: switch.turn_off + enabled: false + mode: single +- id: '1705332759051' + alias: 'Raumklima: Luftbefeuchter Greta aus über Sollwert' + description: '' + triggers: + - entity_id: + - sensor.greta_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.greta_luftfeuchtigkeit + above: input_number.eingabe_greta_oberer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - data: {} + action: shell_command.humidifier_greta_off + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_greta + action: switch.turn_off + enabled: false + mode: single +- id: '1705332846865' + alias: 'Raumklima: Luftbefeuchter Greta ein unter Sollwert' + description: '' + triggers: + - entity_id: + - sensor.greta_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.greta_luftfeuchtigkeit + below: input_number.eingabe_greta_unterer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_greta + action: input_boolean.turn_on + enabled: false + - data: {} + action: shell_command.humidifier_greta_on + mode: single +- id: '1705332894817' + alias: 'Raumklima: Luftbefeuchter Charlotte ein unter Sollwert' + description: '' + triggers: + - entity_id: + - sensor.charlotte_luftfeuchtigkeit + trigger: state + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.charlotte_luftfeuchtigkeit + below: input_number.eingabe_charlotte_unterer_wert_luftfeuchte + - condition: state + entity_id: input_boolean.luftbefeuchtersteuerung + state: 'on' + actions: + - choose: + - conditions: + - condition: state + entity_id: input_boolean.luftbefeuchter_charlotte + state: 'off' + sequence: + - data: + message: Luftbefeuchter eingeschaltet Charlotte + title: Zu geringe Luftfeuchte + action: notify.mobile_app_svens_iphone_pro_max + - data: + title: Zu geringe Luftfeuchte + message: Luftbefeuchter eingeschaltet Charlotte + action: notify.mobile_app_sarahs_iphone + enabled: false + - metadata: {} + data: {} + target: + entity_id: input_boolean.luftbefeuchter_charlotte + action: input_boolean.turn_on + enabled: false + - data: {} + action: shell_command.humidifier_charlotte_on + mode: single +- id: '1705344396813' + alias: 'Push: iPhone Sven auf 80% geladen' + description: '' + triggers: + - entity_id: + - sensor.svens_iphone_pro_max_battery_level + above: 79 + trigger: numeric_state + conditions: + - condition: state + state: Charging + entity_id: sensor.svens_iphone_pro_max_battery_state + actions: + - action: notify.gotify + metadata: {} + data: + message: 'Akku von Svens iPhone zu 80 Prozent geladen. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Akku schonen + mode: single +- id: '1706694137405' + alias: 'Bewegung: Bewegung in Küche Licht an' + description: '' + triggers: + - type: motion + device_id: e559923ef18f8f553de7f693c4d6550c + entity_id: 9ad3e070dcce2b16e119de83549a9a6c + domain: binary_sensor + trigger: device + conditions: + - condition: or + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.hpd_kuche_kuche_beleuchtungsstarke + below: 400 + - condition: time + before: '23:00:00' + after: 05:30:00 + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.hpd_kuche_kuche_beleuchtungsstarke + below: 400 + - condition: device + device_id: 1d1d14a7aca9a023dde5023fb8939d7e + domain: media_player + entity_id: 916a667be3f4cf8fe5123b5e4f0bbbc2 + type: is_on + actions: + - type: turn_on + device_id: 6b4df67b3ba9fa906df5ece8530ce8d1 + entity_id: 41c195fb97faee97ce73a681b41786be + domain: light + mode: single +- id: '1706694218421' + alias: 'Bewegung: Bewegung in Küche aus Licht ausschalten' + description: '' + triggers: + - type: no_motion + device_id: e559923ef18f8f553de7f693c4d6550c + entity_id: 9ad3e070dcce2b16e119de83549a9a6c + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: device + type: is_off + device_id: 9f2d67d637d57cc727b2717ffa4e80af + entity_id: 260a9d75ae31553b53352bbece8beedf + domain: light + - condition: and + conditions: + - condition: or + conditions: + - condition: and + conditions: + - condition: time + after: 07:30:00 + before: 06:30:00 + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + - condition: state + entity_id: binary_sensor.werktag + state: 'off' + actions: + - type: turn_off + device_id: 6b4df67b3ba9fa906df5ece8530ce8d1 + entity_id: 41c195fb97faee97ce73a681b41786be + domain: light + mode: single +- id: '1706808496972' + alias: 'Bewegung: Nachtlicht Bad' + description: '' + triggers: + - type: motion + device_id: f7ad97a6e07e651e2ac2276a978eb6c1 + entity_id: 03262b3c290fad26d1b78d5f91e61803 + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.bewegungsmelder_bad_beleuchtungsstarke + below: 100 + - condition: sun + before: sunrise + after: sunset + actions: + - type: turn_on + device_id: 19d873d1c57d19dc1b82aa637f52f1c9 + entity_id: 6e0530bcb5de4dbab3baca2b82a0298f + domain: light + brightness_pct: 20 + - delay: + hours: 0 + minutes: 4 + seconds: 0 + milliseconds: 0 + - condition: state + entity_id: light.hemnes_licht + state: 'off' + - type: turn_off + device_id: 19d873d1c57d19dc1b82aa637f52f1c9 + entity_id: 6e0530bcb5de4dbab3baca2b82a0298f + domain: light + mode: single +- id: '1707307888156' + alias: 'Uhrzeit: Variablen zurücksetzen Push Luftfeuchtigkeit 0:00' + description: '' + triggers: + - at: 00:00:00 + trigger: time + conditions: [] + actions: + - metadata: {} + data: {} + target: + entity_id: + - input_boolean.push_luftfeuchtigkeit_charlotte + - input_boolean.push_luftfeuchtigkeit_wohnzimmer + - input_boolean.push_luftfeuchtigkeit_greta + - input_boolean.push_luftfeuchtigkeit_schlafzimmer + - input_boolean.push_fenster_offnen + - input_boolean.licht_og_ausgeschaltet + action: input_boolean.turn_off + mode: single +- id: '1707383791590' + alias: 'Schalter: Fernbedienung Küche Taste 1 Arbeitsplatte' + description: '' + triggers: + - device_id: f583d0561f893f7c07e4be010990ffc3 + domain: zha + type: remote_button_short_press + subtype: turn_on + trigger: device + conditions: [] + actions: + - type: toggle + device_id: 7ccbf58772512f63b2790e1d6230259d + entity_id: fa2137027e036e3a42f34a1668cc8888 + domain: light + - type: toggle + device_id: 9f2d67d637d57cc727b2717ffa4e80af + entity_id: 260a9d75ae31553b53352bbece8beedf + domain: light + mode: single +- id: '1707463226501' + alias: 'Bewegung: Bewegung im Büro Computer an' + description: '' + trigger: + - type: motion + platform: device + device_id: 8471a3478bd1696d14c4743f6fee8618 + entity_id: 68b9b01ac5b2d428accee43ccd5d30f0 + domain: binary_sensor + for: + hours: 0 + minutes: 0 + seconds: 5 + condition: + - condition: and + conditions: + - condition: time + after: 07:45:00 + before: 08:30:00 + weekday: + - mon + - fri + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + action: + - type: turn_on + device_id: 7aeb52ddb1da17334a080c535e3545ad + entity_id: ae3648aff5a4ef98c694427c5863c404 + domain: switch + mode: single +- id: '1707468679159' + alias: 'Helligkeit: Hell im Büro Licht aus' + description: '' + triggers: + - entity_id: + - sensor.hpd_buro_beleuchtungsstarke_2 + trigger: state + conditions: + - condition: and + conditions: + - condition: not + conditions: + - condition: sun + before: sunset + before_offset: '2:00:00' + after: sunrise + after_offset: '1:00:00' + - type: is_illuminance + condition: device + device_id: 8471a3478bd1696d14c4743f6fee8618 + entity_id: 3f0528f2db4a79473a9a593c8542347f + domain: sensor + above: 1000 + - condition: device + type: is_on + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + actions: + - type: turn_off + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + mode: single +- id: '1707579108460' + alias: 'Schalter: Fernbedienung Küche heller Licht heller Arbeitsplatte' + description: '' + triggers: + - device_id: f583d0561f893f7c07e4be010990ffc3 + domain: zha + type: remote_button_short_press + subtype: dim_up + trigger: device + conditions: + - condition: numeric_state + entity_id: light.arbeitsplatte + attribute: brightness + below: 90 + actions: + - device_id: 7ccbf58772512f63b2790e1d6230259d + domain: light + entity_id: fa2137027e036e3a42f34a1668cc8888 + type: brightness_increase + - device_id: 9f2d67d637d57cc727b2717ffa4e80af + domain: light + entity_id: 260a9d75ae31553b53352bbece8beedf + type: brightness_increase + mode: single +- id: '1707579163371' + alias: 'Schalter: Fernbedienung Küche runter Licht dunkler Arbeitsplatte' + description: '' + triggers: + - device_id: f583d0561f893f7c07e4be010990ffc3 + domain: zha + type: remote_button_short_press + subtype: dim_down + trigger: device + conditions: [] + actions: + - device_id: 7ccbf58772512f63b2790e1d6230259d + domain: light + entity_id: fa2137027e036e3a42f34a1668cc8888 + type: brightness_decrease + - device_id: 9f2d67d637d57cc727b2717ffa4e80af + domain: light + entity_id: 260a9d75ae31553b53352bbece8beedf + type: brightness_decrease + mode: single +- id: '1707631384841' + alias: 'Bewegung: Bewegung in Speisekammer' + description: '' + triggers: + - type: motion + device_id: dc26f34b475d0cee90a3430920354883 + entity_id: baa4470a9e18e2804116beda6fc93801 + domain: binary_sensor + trigger: device + conditions: + - condition: time + after: 06:00:00 + before: '23:00:00' + - condition: numeric_state + entity_id: sensor.hpd_speisekammer_beleuchtungsstarke + below: 1500 + actions: + - type: turn_on + device_id: fd2a8f2bbcfd1b2699ced4ca599e81a8 + entity_id: 741b32ae8d5783ec500e34cfe8d93566 + domain: light + mode: single +- id: '1707631505501' + alias: 'Bewegung: Keine Bewegung mehr in Speisekammer' + description: '' + triggers: + - type: no_motion + device_id: dc26f34b475d0cee90a3430920354883 + entity_id: baa4470a9e18e2804116beda6fc93801 + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 0 + seconds: 0 + conditions: [] + actions: + - type: turn_off + device_id: fd2a8f2bbcfd1b2699ced4ca599e81a8 + entity_id: 741b32ae8d5783ec500e34cfe8d93566 + domain: light + mode: single +- id: '1707934150159' + alias: 'Bewegung: Bewegung in Flur erkannt' + description: '' + trigger: + - type: motion + platform: device + device_id: bec4959c23eb8f656be228b458a74387 + entity_id: 84193b161b965385d1046330833fa651 + domain: binary_sensor + condition: + - condition: sun + before: sunrise + after: sunset + after_offset: -0:20:00 + action: + - type: turn_on + device_id: e2257c73360e613b41cbf537fe4447e1 + entity_id: 338aa921f82112851c509c691d263e22 + domain: light + brightness_pct: 5 + - delay: + hours: 0 + minutes: 0 + seconds: 0 + milliseconds: 700 + - type: turn_on + device_id: f7be6bd59c58b2449eeac0350f650b73 + entity_id: a65e95bb3adf83e11f2b936d11dbd1ee + domain: light + brightness_pct: 5 + mode: single +- id: '1707934209321' + alias: 'Bewegung: Keine Bewegung mehr in Flur' + description: '' + trigger: + - type: no_motion + platform: device + device_id: bec4959c23eb8f656be228b458a74387 + entity_id: 84193b161b965385d1046330833fa651 + domain: binary_sensor + for: + hours: 0 + minutes: 0 + seconds: 30 + condition: [] + action: + - type: turn_off + device_id: f7be6bd59c58b2449eeac0350f650b73 + entity_id: a65e95bb3adf83e11f2b936d11dbd1ee + domain: light + - type: turn_off + device_id: e2257c73360e613b41cbf537fe4447e1 + entity_id: 338aa921f82112851c509c691d263e22 + domain: light + mode: single +- id: '1708241412609' + alias: 'Bewegung: Person auf Terrasse erkannt' + description: '' + trigger: + - type: motion + platform: device + device_id: 621ab5338dd7c80702b963ff4adf2472 + entity_id: 28952f27aa83cb13f810e175a672be35 + domain: binary_sensor + - type: motion + platform: device + device_id: eecaacc47afdf4364d30749bd3f14ee6 + entity_id: 14a94b5a3e5026480ef6950783a23953 + domain: binary_sensor + condition: + - condition: sun + before: sunrise + after: sunset + action: + - type: turn_on + device_id: c09b8f89be67fb050888da7a5886143f + entity_id: 4f3cf865c223a10a35d97e545dd92b67 + domain: light + brightness_pct: 10 + flash: short + - type: turn_on + device_id: 6b8e61dfc05da61dde221420c5a5abc7 + entity_id: cc3bedadf7de65b7ab63473371b20d13 + domain: light + brightness_pct: 10 + flash: short + mode: single +- id: '1708241503823' + alias: 'Bewegung: Keine Person mehr erkannt auf Terrasse' + description: '' + trigger: + - type: no_motion + platform: device + device_id: 621ab5338dd7c80702b963ff4adf2472 + entity_id: 28952f27aa83cb13f810e175a672be35 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + condition: + - condition: sun + after: sunset + before: sunrise + action: + - type: turn_off + device_id: c09b8f89be67fb050888da7a5886143f + entity_id: 4f3cf865c223a10a35d97e545dd92b67 + domain: light + - type: turn_off + device_id: 6b8e61dfc05da61dde221420c5a5abc7 + entity_id: cc3bedadf7de65b7ab63473371b20d13 + domain: light + mode: single +- id: '1708407864127' + alias: 'Uhrzeit: Esstisch an um 6:30 Uhr' + description: '' + triggers: + - at: 06:30:00 + trigger: time + conditions: + - condition: and + conditions: + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + actions: + - type: turn_on + device_id: 8fc5f255f78d7c0de84e347499e694e7 + entity_id: 722ff245e1f03b0be38eeb1f52b63f79 + domain: light + brightness_pct: 30 + - device_id: 8fc5f255f78d7c0de84e347499e694e7 + domain: light + entity_id: 722ff245e1f03b0be38eeb1f52b63f79 + type: brightness_decrease + - device_id: 8fc5f255f78d7c0de84e347499e694e7 + domain: light + entity_id: 722ff245e1f03b0be38eeb1f52b63f79 + type: brightness_decrease + mode: single +- id: '1708687195948' + alias: 'Schalter: Lichtschalter Esstisch' + description: '' + trigger: + - platform: device + device_id: 978b44ce547dfa53bfc78b41f312ffae + domain: shelly + type: btn_up + subtype: button1 + - platform: device + device_id: 978b44ce547dfa53bfc78b41f312ffae + domain: shelly + type: btn_down + subtype: button1 + condition: [] + action: + - type: toggle + device_id: 8fc5f255f78d7c0de84e347499e694e7 + entity_id: 722ff245e1f03b0be38eeb1f52b63f79 + domain: light + mode: single +- id: '1708708036991' + alias: 'Schalter: Lichtschalter Küche' + description: '' + trigger: + - platform: device + device_id: f5b698ec4219b0e4a3a50c827344820c + domain: shelly + type: btn_up + subtype: button1 + - platform: device + device_id: f5b698ec4219b0e4a3a50c827344820c + domain: shelly + type: btn_down + subtype: button1 + condition: [] + action: + - type: toggle + device_id: 6b4df67b3ba9fa906df5ece8530ce8d1 + entity_id: 41c195fb97faee97ce73a681b41786be + domain: light + mode: single +- id: '1708799012231' + alias: 'Schalter: Leselampe schalten' + description: '' + triggers: + - device_id: dfa52dae1c861b90cc2380bd8eaf0afc + domain: zha + type: remote_button_short_press + subtype: button + trigger: device + conditions: [] + actions: + - type: toggle + device_id: f8c951f7e31aacfa2b6a6f1727114aa6 + entity_id: b882b159fba740bf8656498555a6cf52 + domain: light + - condition: state + entity_id: light.lowboard_licht + state: 'off' + - type: toggle + device_id: 16296f1d78bfd43a731e66d599bde63c + entity_id: 72ce9607fed1f21649464a111c2c689e + domain: light + mode: single +- id: '1708799101674' + alias: 'Schalter: Leselampe Heller' + description: '' + triggers: + - device_id: dfa52dae1c861b90cc2380bd8eaf0afc + domain: zha + type: device_rotated_slow + subtype: right + trigger: device + - device_id: dfa52dae1c861b90cc2380bd8eaf0afc + domain: zha + type: device_rotated_fast + subtype: right + trigger: device + conditions: [] + actions: + - device_id: f8c951f7e31aacfa2b6a6f1727114aa6 + domain: light + entity_id: b882b159fba740bf8656498555a6cf52 + type: brightness_increase + - condition: state + entity_id: light.lowboard_licht + state: 'off' + - device_id: 16296f1d78bfd43a731e66d599bde63c + domain: light + entity_id: 72ce9607fed1f21649464a111c2c689e + type: brightness_increase + mode: single +- id: '1708799154875' + alias: 'Schalter: Leselampe Dunkler' + description: '' + triggers: + - device_id: dfa52dae1c861b90cc2380bd8eaf0afc + domain: zha + type: device_rotated_slow + subtype: left + trigger: device + - device_id: dfa52dae1c861b90cc2380bd8eaf0afc + domain: zha + type: device_rotated_fast + subtype: left + trigger: device + conditions: [] + actions: + - device_id: f8c951f7e31aacfa2b6a6f1727114aa6 + domain: light + entity_id: b882b159fba740bf8656498555a6cf52 + type: brightness_decrease + - condition: state + entity_id: light.lowboard_licht + state: 'off' + - device_id: 16296f1d78bfd43a731e66d599bde63c + domain: light + entity_id: 72ce9607fed1f21649464a111c2c689e + type: brightness_decrease + mode: single +- id: '1708863611305' + alias: 'Bewegung: HPD Greta Licht Apple TV aus' + description: '' + trigger: + - type: no_motion + platform: device + device_id: ad887ecf73aed557bb6047fe828cb8a4 + entity_id: 8ff8c1e3947c8ccd32d55ed3846cec5c + domain: binary_sensor + for: + hours: 0 + minutes: 15 + seconds: 0 + condition: [] + action: + - type: turn_off + device_id: f3c9f016048c03fee8a552869913e10b + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + domain: light + - type: turn_off + device_id: ad07bb700074bd4edcbd7d4a0440020f + entity_id: d5c687dccaebb2af80641d247ebc40e9 + domain: light + - type: turn_off + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + - type: turn_off + device_id: 42c265ec58ee05cdfa16f1bceeaf720b + entity_id: 3cd43db6b96777f7589172f90c963a50 + domain: light + - type: turn_off + device_id: 96bbf3e7146c7410dfbcdd16483d3bba + entity_id: c5ab65037f38eff0c26617927049d8df + domain: remote + mode: single +- id: '1709212281191' + alias: 'Bewegung: Licht an im Büro' + description: '' + trigger: + - type: motion + platform: device + device_id: 8471a3478bd1696d14c4743f6fee8618 + entity_id: 68b9b01ac5b2d428accee43ccd5d30f0 + domain: binary_sensor + condition: + - condition: and + conditions: + - condition: time + weekday: + - mon + - fri + - thu + - type: is_illuminance + condition: device + device_id: 8471a3478bd1696d14c4743f6fee8618 + entity_id: 3f0528f2db4a79473a9a593c8542347f + domain: sensor + below: 500 + - condition: device + type: is_off + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + - condition: time + before: 08:30:00 + after: 08:00:00 + action: + - type: turn_on + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + flash: long + mode: single +- id: '1709212453026' + alias: 'Bewegung: Büro Licht aus' + description: '' + triggers: + - type: no_motion + device_id: 8471a3478bd1696d14c4743f6fee8618 + entity_id: 68b9b01ac5b2d428accee43ccd5d30f0 + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 5 + seconds: 0 + conditions: + - condition: device + type: is_on + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + actions: + - type: turn_off + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + mode: single +- id: '1709219596190' + alias: 'Schalter: Lichtschalter Speisekammer' + description: '' + trigger: + - platform: device + device_id: 61460033a5f9a088dd27fb777046aa29 + domain: shelly + type: btn_down + subtype: button1 + - platform: device + device_id: 61460033a5f9a088dd27fb777046aa29 + domain: shelly + type: btn_up + subtype: button1 + condition: [] + action: + - type: toggle + device_id: fd2a8f2bbcfd1b2699ced4ca599e81a8 + entity_id: 741b32ae8d5783ec500e34cfe8d93566 + domain: light + mode: single +- id: '1709280783447' + alias: 'Schalter: Lichtschalter Charlotte' + description: '' + trigger: + - platform: device + device_id: 3d6e2039644e9a89cb335337d2b67fce + domain: shelly + type: btn_up + subtype: button1 + - platform: device + device_id: 3d6e2039644e9a89cb335337d2b67fce + domain: shelly + type: btn_down + subtype: button1 + condition: [] + action: + - type: toggle + device_id: 161b57d503c25ba4580dc49149bf5d0c + entity_id: 93423b760961b1730e2217d60821be00 + domain: light + mode: single +- id: '1709294947329' + alias: 'Schalter: Lichtschalter Greta' + description: '' + triggers: + - device_id: 3c1316b39ce360efb3300b05e742068e + domain: shelly + type: btn_up + subtype: button1 + trigger: device + - device_id: 3c1316b39ce360efb3300b05e742068e + domain: shelly + type: btn_down + subtype: button1 + trigger: device + conditions: [] + actions: + - type: toggle + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + mode: single +- id: '1709362281393' + alias: 'Push: Fenstersensor Wohnzimmer (Heizung an)' + description: '' + triggers: + - type: opened + device_id: 74f12315414ae21be02cda543836228b + entity_id: 5d07dc98cd31944dc32b94108881ed38 + domain: binary_sensor + for: + hours: 0 + minutes: 15 + seconds: 0 + trigger: device + - type: opened + device_id: 54015d4c58249817ae9c439a16d6a18d + entity_id: ad15fe62a7d61b2e683dcde1fa3f3014 + domain: binary_sensor + for: + hours: 0 + minutes: 15 + seconds: 0 + trigger: device + - type: opened + device_id: 0e32721f825e90894119e3a44f5b7812 + entity_id: 8be8238774fc5f4201dbe7a382b660ac + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 15 + seconds: 0 + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.wohnzimmer + state: heating + attribute: hvac_action + actions: + - action: notify.gotify + data: + message: 'Fenster Wohnzimmer für mehr als 10 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + - data: + message: Terrassentür für mehr als 15 Minuten geöffnet + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1709370228645' + alias: 'Schalter: Lichtschalter Wohnzimmer ' + description: '' + triggers: + - device_id: 2b1b814ec5f53e9e3dfc8a14bd4323db + domain: shelly + type: btn_down + subtype: button1 + trigger: device + - device_id: 2b1b814ec5f53e9e3dfc8a14bd4323db + domain: shelly + type: btn_up + subtype: button1 + trigger: device + conditions: [] + actions: + - action: light.toggle + metadata: {} + target: + entity_id: light.gruppeflurlampen_deckenlampen_wohnzimmer_zigbee + data: {} + mode: single +- id: '1709820421053' + alias: 'HomeKit: Luftbefeuchter Charlotte aus' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_charlotte + from: 'on' + to: 'off' + condition: [] + action: + - service: shell_command.humidifier_charlotte_off + data: {} + mode: single +- id: '1709820498583' + alias: 'HomeKit: Luftbefeuchter Charlotte an' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_charlotte + from: 'off' + to: 'on' + condition: [] + action: + - service: shell_command.humidifier_charlotte_1 + data: {} + mode: single +- id: '1709820957260' + alias: 'HomeKit: Luftbefeuchter Greta an' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_greta + from: 'off' + to: 'on' + condition: [] + action: + - service: shell_command.humidifier_greta_1 + data: {} + mode: single +- id: '1709821085726' + alias: 'HomeKit: Luftbefeuchter Greta aus' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_greta + from: 'on' + to: 'off' + condition: [] + action: + - service: shell_command.humidifier_greta_off + data: {} + mode: single +- id: '1709821267364' + alias: 'HomeKit: Luftbefeuchter Wohnzimmer an' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_wohnzimmer + from: 'off' + to: 'on' + condition: [] + action: + - service: shell_command.humidifier_wohnzimmer_1 + data: {} + mode: single +- id: '1709821304964' + alias: 'HomeKit: Luftbefeuchter Wohnzimmer aus' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_wohnzimmer + from: 'on' + to: 'off' + condition: [] + action: + - service: shell_command.humidifier_wohnzimmer_off + data: {} + mode: single +- id: '1709821351599' + alias: 'HomeKit: Luftbefeuchter Schlafzimmer aus' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_schlafzimmer + from: 'on' + to: 'off' + condition: [] + action: + - service: shell_command.humidifier_schlafzimmer_off + data: {} + mode: single +- id: '1709821403940' + alias: 'HomeKit: Luftbefeuchter Schlafzimmer an' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.luftbefeuchter_schlafzimmer + from: 'off' + to: 'on' + condition: [] + action: + - service: shell_command.humidifier_schlafzimmer_1 + data: {} + mode: single +- id: '1709826755018' + alias: 'Bewegung: Gästebad Licht aus' + description: '' + triggers: + - type: no_motion + device_id: 7deb738ecdd8e9363d806d5720ec9c90 + entity_id: 18ca6445ea6d4de3a8f0013d6b8dea26 + domain: binary_sensor + for: + hours: 0 + minutes: 15 + seconds: 0 + trigger: device + conditions: + - condition: device + type: is_on + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + for: + hours: 0 + minutes: 20 + seconds: 0 + - condition: state + entity_id: binary_sensor.tursensor_bad_offnung + state: 'off' + for: + hours: 0 + minutes: 10 + seconds: 0 + actions: + - type: turn_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + mode: single +- id: '1709826792401' + alias: 'Bewegung: Gästebad Licht' + description: '' + triggers: + - type: motion + device_id: 7deb738ecdd8e9363d806d5720ec9c90 + entity_id: 18ca6445ea6d4de3a8f0013d6b8dea26 + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.bewegungsmelder_gastebad_beleuchtungsstarke + below: 750 + - condition: device + type: is_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + actions: + - type: turn_on + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + brightness_pct: 25 + - condition: state + entity_id: binary_sensor.bewegungsmelder_gastebad_bewegung + state: 'off' + for: + hours: 0 + minutes: 5 + seconds: 0 + - type: turn_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + mode: single +- id: '1709875398735' + alias: 'Action: Türsensor Gästebad Licht Aus' + description: '' + triggers: + - entity_id: + - binary_sensor.tursensor_gastebad_offnet + from: 'off' + to: 'on' + trigger: state + conditions: + - condition: device + type: is_on + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + actions: + - type: turn_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + mode: single +- id: '1709894492575' + alias: 'Schalter: Lichtschalter Gästebad' + description: '' + triggers: + - trigger: state + entity_id: + - event.shellyplus1_d48afc44823c_input_0 + for: + hours: 0 + minutes: 0 + seconds: 0.3 + conditions: [] + actions: + - choose: + - conditions: + - condition: device + type: is_on + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + sequence: + - type: turn_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + - conditions: + - condition: device + type: is_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + sequence: + - type: turn_on + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + mode: single +- id: '1710156309538' + alias: 'Schalter: Lichtschalter Bad Rechts Ein' + description: '' + trigger: + - platform: device + device_id: 8114ad8e285ac8a88a908382b2518a7a + domain: shelly + type: btn_down + subtype: button1 + condition: [] + action: + - type: turn_on + device_id: a009619aa255262341b1e187da92a45c + entity_id: 14b8bbb00fab7f758392dc45a42809ea + domain: light + - type: turn_on + device_id: 2614fd35527a4f63a3354555a6016af0 + entity_id: dbad2d3da89d72552ee2edc05fe20d6e + domain: light + - type: turn_on + device_id: 91991fefdec844f94cb0653a0e86cad6 + entity_id: 6c24a2bfc114d2a763f3a9b486b88c03 + domain: light + mode: single +- id: '1710157336109' + alias: 'Schalter: Heizlüfter Aus' + description: ' + + ' + triggers: + - type: turned_off + device_id: 2614fd35527a4f63a3354555a6016af0 + entity_id: dbad2d3da89d72552ee2edc05fe20d6e + domain: light + trigger: device + - type: turned_off + device_id: a009619aa255262341b1e187da92a45c + entity_id: 14b8bbb00fab7f758392dc45a42809ea + domain: light + trigger: device + - type: turned_off + device_id: 91991fefdec844f94cb0653a0e86cad6 + entity_id: 6c24a2bfc114d2a763f3a9b486b88c03 + domain: light + trigger: device + - type: turned_off + device_id: 19d873d1c57d19dc1b82aa637f52f1c9 + entity_id: 6e0530bcb5de4dbab3baca2b82a0298f + domain: light + trigger: device + conditions: + - condition: device + type: is_on + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + actions: + - type: turn_off + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + mode: single +- id: '1710240537436' + alias: 'Schalter: Lichtschalter Bad Links Ein' + description: '' + trigger: + - platform: device + device_id: 8114ad8e285ac8a88a908382b2518a7a + domain: shelly + type: btn_down + subtype: button2 + condition: [] + action: + - type: turn_on + device_id: 0a65e0bab7ee0d2ed411873cab690d7b + entity_id: b0ee10a7e65e21ae6e47e12a8da125af + domain: light + - type: turn_on + device_id: 19d873d1c57d19dc1b82aa637f52f1c9 + entity_id: 6e0530bcb5de4dbab3baca2b82a0298f + domain: light + mode: restart +- id: '1710240595981' + alias: 'Schalter: Lichtschalter Bad Links Aus' + description: '' + trigger: + - platform: device + device_id: 8114ad8e285ac8a88a908382b2518a7a + domain: shelly + type: btn_up + subtype: button2 + condition: [] + action: + - type: turn_off + device_id: 0a65e0bab7ee0d2ed411873cab690d7b + entity_id: b0ee10a7e65e21ae6e47e12a8da125af + domain: light + - type: turn_off + device_id: 19d873d1c57d19dc1b82aa637f52f1c9 + entity_id: 6e0530bcb5de4dbab3baca2b82a0298f + domain: light + mode: single +- id: '1710240696249' + alias: 'Schalter: Lichtschalter Bad Rechts Aus' + description: '' + trigger: + - platform: device + device_id: 8114ad8e285ac8a88a908382b2518a7a + domain: shelly + type: btn_up + subtype: button1 + condition: [] + action: + - type: turn_off + device_id: a009619aa255262341b1e187da92a45c + entity_id: 14b8bbb00fab7f758392dc45a42809ea + domain: light + - type: turn_off + device_id: 2614fd35527a4f63a3354555a6016af0 + entity_id: dbad2d3da89d72552ee2edc05fe20d6e + domain: light + - type: turn_off + device_id: 91991fefdec844f94cb0653a0e86cad6 + entity_id: 6c24a2bfc114d2a763f3a9b486b88c03 + domain: light + mode: single +- id: '1710507005881' + alias: 'Push: Luftfeuchtigkeit Schlafzimmer unter 35%' + description: '' + triggers: + - entity_id: + - sensor.schlafzimmer_luftfeuchtigkeit + trigger: state + conditions: + - condition: numeric_state + entity_id: sensor.schlafzimmer_luftfeuchtigkeit + below: 35 + - condition: state + entity_id: input_boolean.push_luftfeuchtigkeit_schlafzimmer + state: 'off' + - condition: state + entity_id: input_boolean.push_luftbefeuchter + state: 'on' + actions: + - data: + message: Luftfeuchtigkeit Schlafzimmer unter 35% + action: notify.mobile_app_sarahs_iphone + - action: notify.gotify + metadata: {} + data: + title: Mangelnde Luftfeuchtigkeit + message: 'Luftfeuchtigkeit Schlafzimmer unter 35%. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + - metadata: {} + data: {} + target: + entity_id: + - input_boolean.push_luftfeuchtigkeit_schlafzimmer + action: input_boolean.turn_on + mode: single +- id: '1710521523319' + alias: 'Schalter: Lichtschalter Treppe' + description: '' + trigger: + - platform: device + device_id: 60ad5ae12b0a44ad4d238d9d300933ea + domain: shelly + type: btn_up + subtype: button1 + - platform: device + device_id: 60ad5ae12b0a44ad4d238d9d300933ea + domain: shelly + type: btn_down + subtype: button1 + condition: [] + action: + - type: toggle + device_id: f7be6bd59c58b2449eeac0350f650b73 + entity_id: a65e95bb3adf83e11f2b936d11dbd1ee + domain: light + mode: single +- id: '1710579474650' + alias: 'Schalter: Lichtschalter Eingang' + description: '' + trigger: + - platform: device + device_id: 2e5c5e258147208855a7d5276df89dd5 + domain: shelly + type: btn_up + subtype: button1 + - platform: device + device_id: 2e5c5e258147208855a7d5276df89dd5 + domain: shelly + type: btn_down + subtype: button1 + condition: [] + action: + - type: toggle + device_id: 69f7ece5417eb61aead5e2862770408e + entity_id: a5cb7eac4a3f9478183c59b6595bd647 + domain: light + - type: toggle + device_id: 3357be06c2fe6a57e62dbe7863844c07 + entity_id: d803b5da1f221c8306ec972739aa835b + domain: light + mode: single +- id: '1710665305908' + alias: 'Uhrzeit: Saugroboter Starten Morgens' + description: '' + triggers: + - at: 05:20:00 + trigger: time + conditions: [] + actions: + - action: vacuum.start + metadata: {} + target: + device_id: 5b07765f8b7260fff95fe1b6d8e22286 + data: {} + enabled: false + - device_id: 35a061ecbea652442fd98219ed61ec35 + domain: button + entity_id: 26488d7b9cd965b922908db494071041 + type: press + mode: single +- id: '1710773072995' + alias: 'Schalter: Fernbedienung Greta An' + description: '' + trigger: + - device_id: 5908fb8853967eb8231d6c5f191a4b85 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_on + condition: [] + action: + - type: turn_on + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + - type: turn_on + device_id: ad07bb700074bd4edcbd7d4a0440020f + entity_id: d5c687dccaebb2af80641d247ebc40e9 + domain: light + - type: turn_on + device_id: f3c9f016048c03fee8a552869913e10b + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + domain: light + - type: turn_on + device_id: 42c265ec58ee05cdfa16f1bceeaf720b + entity_id: 3cd43db6b96777f7589172f90c963a50 + domain: light + mode: single +- id: '1710773152158' + alias: 'Schalter: Fernbedienung Greta Aus' + description: '' + trigger: + - device_id: 5908fb8853967eb8231d6c5f191a4b85 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_off + condition: [] + action: + - type: turn_off + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + - type: turn_off + device_id: ad07bb700074bd4edcbd7d4a0440020f + entity_id: d5c687dccaebb2af80641d247ebc40e9 + domain: light + - type: turn_off + device_id: f3c9f016048c03fee8a552869913e10b + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + domain: light + - type: turn_off + device_id: 42c265ec58ee05cdfa16f1bceeaf720b + entity_id: 3cd43db6b96777f7589172f90c963a50 + domain: light + mode: single +- id: '1710773218413' + alias: 'Schalter: Fernbedienung Greta Heller' + description: '' + trigger: + - device_id: 5908fb8853967eb8231d6c5f191a4b85 + domain: zha + platform: device + type: remote_button_short_press + subtype: dim_up + condition: [] + action: + - device_id: 863cac32d2491ff1b232d8adbb1ff289 + domain: light + entity_id: 49adf831cd67be7d1be00b73d48bd731 + type: brightness_increase + - device_id: ad07bb700074bd4edcbd7d4a0440020f + domain: light + entity_id: d5c687dccaebb2af80641d247ebc40e9 + type: brightness_increase + - device_id: f3c9f016048c03fee8a552869913e10b + domain: light + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + type: brightness_increase + - device_id: 42c265ec58ee05cdfa16f1bceeaf720b + domain: light + entity_id: 3cd43db6b96777f7589172f90c963a50 + type: brightness_increase + mode: single +- id: '1710773259183' + alias: 'Schalter: Fernbedienung Greta Dunkler' + description: '' + trigger: + - device_id: 5908fb8853967eb8231d6c5f191a4b85 + domain: zha + platform: device + type: remote_button_short_press + subtype: dim_down + condition: [] + action: + - device_id: 863cac32d2491ff1b232d8adbb1ff289 + domain: light + entity_id: 49adf831cd67be7d1be00b73d48bd731 + type: brightness_decrease + - device_id: ad07bb700074bd4edcbd7d4a0440020f + domain: light + entity_id: d5c687dccaebb2af80641d247ebc40e9 + type: brightness_decrease + - device_id: f3c9f016048c03fee8a552869913e10b + domain: light + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + type: brightness_decrease + - device_id: 42c265ec58ee05cdfa16f1bceeaf720b + domain: light + entity_id: 3cd43db6b96777f7589172f90c963a50 + type: brightness_decrease + mode: single +- id: '1710920717076' + alias: 'Action: Charlotte Fenster auf Heizung aus' + description: '' + triggers: + - type: opened + device_id: 7a9c511940ae11f35071b6ed5c9e970e + entity_id: 0a93b52cdd647a999b5a9e1d5b1372dc + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + - type: opened + device_id: 97cb5a718d8a1e74ad9ba6f9bc2ec1fa + entity_id: 3ff8826da188b0a9ebd27f06fa101efa + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: 3586f7badaa012862d516d301bf3998c + domain: climate + entity_id: 4e2f833986966c7912b31985a4da31ad + type: set_hvac_mode + hvac_mode: 'off' + - action: script.luftbefeuchter_charlotte_aus + data: {} + mode: single +- id: '1710920789190' + alias: 'Action: Charlotte Fenster zu Heizung an' + description: '' + trigger: + - type: not_opened + platform: device + device_id: 7a9c511940ae11f35071b6ed5c9e970e + entity_id: 0a93b52cdd647a999b5a9e1d5b1372dc + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + - type: not_opened + platform: device + device_id: 97cb5a718d8a1e74ad9ba6f9bc2ec1fa + entity_id: 3ff8826da188b0a9ebd27f06fa101efa + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + - type: is_not_open + condition: device + device_id: 97cb5a718d8a1e74ad9ba6f9bc2ec1fa + entity_id: 3ff8826da188b0a9ebd27f06fa101efa + domain: binary_sensor + - type: is_not_open + condition: device + device_id: 7a9c511940ae11f35071b6ed5c9e970e + entity_id: 0a93b52cdd647a999b5a9e1d5b1372dc + domain: binary_sensor + action: + - device_id: 3586f7badaa012862d516d301bf3998c + domain: climate + entity_id: 4e2f833986966c7912b31985a4da31ad + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1711212370109' + alias: 'Schalter: Fernbedienung Charlotte Ein' + description: '' + trigger: + - device_id: 2e0ada79b16df7e9e4bdbeb54a591572 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_on + condition: [] + action: + - type: turn_on + device_id: 161b57d503c25ba4580dc49149bf5d0c + entity_id: 93423b760961b1730e2217d60821be00 + domain: light + - type: turn_on + device_id: 4cba99f44d461f069193a17b1365986e + entity_id: 43fcf2fa14377b5c2aed406d1a5721a1 + domain: light + - type: turn_on + device_id: 63af3e51fa64a5f847b2cdbb1f7c35f7 + entity_id: 088a80fe4ada13d51aec6dede73d493c + domain: light + mode: single +- id: '1711212440270' + alias: 'Schalter: Fernbedienung Charlotte Aus' + description: '' + trigger: + - device_id: 2e0ada79b16df7e9e4bdbeb54a591572 + domain: zha + platform: device + type: remote_button_short_press + subtype: turn_off + condition: [] + action: + - type: turn_off + device_id: 161b57d503c25ba4580dc49149bf5d0c + entity_id: 93423b760961b1730e2217d60821be00 + domain: light + - type: turn_off + device_id: 4cba99f44d461f069193a17b1365986e + entity_id: 43fcf2fa14377b5c2aed406d1a5721a1 + domain: light + - type: turn_off + device_id: 63af3e51fa64a5f847b2cdbb1f7c35f7 + entity_id: 088a80fe4ada13d51aec6dede73d493c + domain: light + mode: single +- id: '1711212505440' + alias: 'Schalter: Fernbedienung Charlotte Heller' + description: '' + trigger: + - device_id: 2e0ada79b16df7e9e4bdbeb54a591572 + domain: zha + platform: device + type: remote_button_short_press + subtype: dim_up + condition: [] + action: + - device_id: 161b57d503c25ba4580dc49149bf5d0c + domain: light + entity_id: 93423b760961b1730e2217d60821be00 + type: brightness_increase + - device_id: 4cba99f44d461f069193a17b1365986e + domain: light + entity_id: 43fcf2fa14377b5c2aed406d1a5721a1 + type: brightness_increase + - device_id: 63af3e51fa64a5f847b2cdbb1f7c35f7 + domain: light + entity_id: 088a80fe4ada13d51aec6dede73d493c + type: brightness_increase + mode: single +- id: '1711212558661' + alias: 'Schalter: Fernbedienung Charlotte Dunkler' + description: '' + trigger: + - device_id: 2e0ada79b16df7e9e4bdbeb54a591572 + domain: zha + platform: device + type: remote_button_short_press + subtype: dim_down + condition: [] + action: + - device_id: 161b57d503c25ba4580dc49149bf5d0c + domain: light + entity_id: 93423b760961b1730e2217d60821be00 + type: brightness_decrease + - device_id: 4cba99f44d461f069193a17b1365986e + domain: light + entity_id: 43fcf2fa14377b5c2aed406d1a5721a1 + type: brightness_decrease + - device_id: 63af3e51fa64a5f847b2cdbb1f7c35f7 + domain: light + entity_id: 088a80fe4ada13d51aec6dede73d493c + type: brightness_decrease + mode: single +- id: '1711369931284' + alias: 'Push: Fenstersensor Gästebad (Heizung an)' + description: '' + triggers: + - type: opened + device_id: ace1453fc8092ff1aa97b54024888322 + entity_id: f190b93208f91873817e8b7c4dc00ba4 + domain: binary_sensor + trigger: device + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.gastebad + state: heating + attribute: hvac_action + actions: + - action: notify.gotify + data: + message: 'Fenster Gästebad für mehr als 10 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: FEnstersensor + - data: + message: Fenster Gästebad für mehr als 10 Minuten geöffnet + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1711370155942' + alias: 'Push: Fenstersensor Büro (Heizung an)' + description: '' + triggers: + - type: opened + device_id: 7a423e538d65d9e6a3029c9bb7abfda0 + entity_id: 0d7f34df7674cc450078903896c10bfb + domain: binary_sensor + for: + hours: 0 + minutes: 10 + seconds: 0 + trigger: device + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.buro + state: heating + attribute: hvac_action + actions: + - action: notify.gotify + data: + message: 'Fenster Büro für mehr als 10 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + - data: + message: Fenster Büro für mehr als 10 Minuten geöffnet. + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1712582784165' + alias: 'Action: Haustür Nuki abschließen nach 10 Minuten' + description: '' + triggers: + - device_id: de402fad16ff73630b7aec442e0a77dc + domain: lock + entity_id: 7431802094ccaa82b2b7e47346b624a0 + type: unlocked + trigger: device + for: + hours: 0 + minutes: 10 + seconds: 0 + conditions: + - condition: and + conditions: + - condition: not + conditions: + - condition: time + after: 07:00:00 + before: 08:15:00 + weekday: + - mon + - tue + - wed + - thu + - fri + - condition: state + entity_id: input_boolean.tursteuerung + state: + - 'on' + actions: + - condition: state + entity_id: binary_sensor.tursensor_haustur_offnung + state: + - 'off' + - device_id: de402fad16ff73630b7aec442e0a77dc + domain: lock + entity_id: 7431802094ccaa82b2b7e47346b624a0 + type: lock + mode: single +- id: '1717492466867' + alias: 'Push: Heizung eingeschaltet im Sommer' + description: '' + triggers: + - device_id: 6fbdecb066e2f4ae2db01c95a29049ea + domain: climate + entity_id: 393db1c094b33e0848c1a99e8a968b6f + type: hvac_mode_changed + to: heat + trigger: device + - device_id: caa8a288ab3196956333577c8e6b6333 + domain: climate + entity_id: 2c944542df5d7bca4ac49866d59211b1 + type: hvac_mode_changed + to: heat + trigger: device + - device_id: 80d169d5a9ff73c6db6207e50a8240dd + domain: climate + entity_id: 35579ba4330dcc9a327183b0ac8171fc + type: hvac_mode_changed + to: heat + trigger: device + - device_id: 3586f7badaa012862d516d301bf3998c + domain: climate + entity_id: 4e2f833986966c7912b31985a4da31ad + type: hvac_mode_changed + to: heat + trigger: device + - device_id: f3cd43fde0deba553249c7d14fd23686 + domain: climate + entity_id: bc3b2bd8377cb101ff82fcee48a7abb7 + type: hvac_mode_changed + to: heat + trigger: device + - device_id: f21419b347aef9b17c6f31842e0fcb8f + domain: climate + entity_id: 0798ddd4213b38f136ec1b8edfb31912 + type: hvac_mode_changed + to: heat + trigger: device + - device_id: c1dc383e2bfdcf7504f18d3248788a8b + domain: climate + entity_id: 3d901a5adbde4de5089bc620c375add1 + type: hvac_mode_changed + to: heat + trigger: device + - device_id: e4843c5288c07998e803b37adedf4874 + domain: climate + entity_id: e337c6967e09ca32556890245b12baab + type: hvac_mode_changed + to: heat + trigger: device + - device_id: 68d4a113b3e948bfc7d4c0f07ecf49b5 + domain: climate + entity_id: 3a020e56fc83de00510c9108169ccb25 + type: hvac_mode_changed + to: heat + trigger: device + - device_id: 6ecac3aa91b9d6ac55ec19628cd8b130 + domain: climate + entity_id: f0b96dff6ca50161c0eaa071b382979d + type: hvac_mode_changed + to: heat + trigger: device + conditions: + - condition: state + entity_id: sensor.season + state: summer + actions: + - action: notify.gotify + metadata: {} + data: + message: 'Eine Heizung wurde eingeschaltet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Heizung + mode: single +- id: '1718109844387' + alias: 'Action: Ausschalten, wenn Fernseher Wohnzimmer ausgeschaltet' + description: '' + triggers: + - device_id: 248b4d062ff6b34e417a094c3c875946 + domain: media_player + entity_id: ae33006ad099a719c40f58faa4929937 + type: turned_off + trigger: device + for: + hours: 0 + minutes: 10 + seconds: 0 + conditions: + - condition: and + conditions: + - condition: time + after: '22:00:00' + before: 06:00:00 + weekday: + - mon + - tue + - wed + - thu + - sun + - type: is_no_motion + condition: device + device_id: 717910e3f69df12d0815e4e5af9ed649 + entity_id: ef6375ce2ade3de7ab40c5cfbf0439b0 + domain: binary_sensor + for: + hours: 0 + minutes: 10 + seconds: 0 + actions: + - metadata: {} + data: {} + target: + area_id: wohnzimmer + action: light.turn_off + mode: single +- id: '1719153861014' + alias: 'Wind: Markisen im Garten schließen' + description: '' + triggers: + - type: wind_speed + device_id: 1f3118d86e7080f60a0dad2b298656bf + entity_id: 08f4176447cada69e35db01d40942756 + domain: sensor + above: 20 + trigger: device + conditions: + - condition: or + conditions: + - condition: not + conditions: + - condition: device + device_id: 55e5d1fccd245938eee79473ff2a3a9b + domain: cover + entity_id: 8e4b6922eaa0c08d8d94d4216aa2db51 + type: is_open + - condition: not + conditions: + - condition: device + device_id: f40637b3425394bc1ea34aaf51d1f8db + domain: cover + entity_id: 63165a573db5a24223efccde323b7ab7 + type: is_open + - condition: not + conditions: + - condition: device + device_id: a1a601274c103ef488b52bc7cac4865a + domain: cover + entity_id: 94e6296ebec9b40f05b2015e38e832f0 + type: is_open + actions: + - device_id: a1a601274c103ef488b52bc7cac4865a + domain: cover + entity_id: 94e6296ebec9b40f05b2015e38e832f0 + type: open + - device_id: f40637b3425394bc1ea34aaf51d1f8db + domain: cover + entity_id: 63165a573db5a24223efccde323b7ab7 + type: open + - device_id: 55e5d1fccd245938eee79473ff2a3a9b + domain: cover + entity_id: 8e4b6922eaa0c08d8d94d4216aa2db51 + type: open + mode: single +- id: '1719256889055' + alias: 'Push: Hitzeschutz Fenster öffnen' + description: '' + triggers: + - trigger: time_pattern + minutes: /10 + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.hausle_outdoor_temperature + below: sensor.temperatur_durchschnitt + - condition: state + entity_id: input_boolean.push_fenster_offnen + state: 'off' + - condition: time + after: '19:00:00' + before: '22:00:00' + - condition: state + entity_id: input_boolean.pushnachrichten_hitzeschutz + state: 'on' + actions: + - action: notify.gotify + metadata: {} + data: + message: 'Fenster öffnen, es ist draußen kühl genug. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Hitzeschutz + - metadata: {} + data: {} + target: + entity_id: input_boolean.push_fenster_offnen + action: input_boolean.turn_on + mode: single +- id: '1720432407646' + alias: 'Action: Bad Fenster auf Heizlüfter aus' + description: '' + triggers: + - entity_id: + - binary_sensor.fenstersensor_bad_offnet + from: 'off' + to: 'on' + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: state + conditions: + - condition: and + conditions: + - condition: state + entity_id: sensor.season + state: winter + actions: + - type: turn_off + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + mode: single +- id: '1720780555501' + alias: 'Schalter: Lichtschalter Schlafzimmer' + description: '' + triggers: + - device_id: 8c0510f74a0906c5df4a59cd9e2b72ca + domain: shelly + type: btn_up + subtype: button1 + trigger: device + - device_id: 8c0510f74a0906c5df4a59cd9e2b72ca + domain: shelly + type: btn_down + subtype: button1 + trigger: device + conditions: [] + actions: + - choose: + - conditions: + - condition: state + entity_id: sun.sun + state: above_horizon + sequence: + - type: toggle + device_id: 80d7aa0e567bb03c7b620e4e15da2dbf + entity_id: 995edf454d8bc2971f52af3e7a267070 + domain: light + - conditions: + - condition: state + entity_id: sun.sun + state: below_horizon + sequence: + - action: light.toggle + metadata: {} + target: + entity_id: light.nachttisch + data: {} + mode: single +- id: '1721896399540' + alias: 'Akku: Dashboard Küche laden' + description: '' + triggers: + - trigger: state + entity_id: + - sensor.tablet_battery_level + conditions: [] + actions: + - choose: + - conditions: + - condition: or + conditions: + - condition: numeric_state + entity_id: sensor.tablet_battery_level + above: 70 + sequence: + - type: turn_off + device_id: 9870b46024d09df6144aec52e1358753 + entity_id: fc986936557bc6a235145ff3b6f7e70e + domain: switch + - conditions: + - condition: or + conditions: + - condition: numeric_state + entity_id: sensor.tablet_battery_level + below: 30 + sequence: + - type: turn_on + device_id: 9870b46024d09df6144aec52e1358753 + entity_id: fc986936557bc6a235145ff3b6f7e70e + domain: switch + mode: single +- id: '1722260040244' + alias: 'HomeKit: Deckenventilator an' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.deckenventilator_schlafzimmer + from: 'off' + to: 'on' + condition: [] + action: + - service: script.ventilator_an + metadata: {} + data: {} + mode: single +- id: '1722260081695' + alias: 'HomeKit: Deckenventilator aus' + description: '' + trigger: + - platform: state + entity_id: + - input_boolean.deckenventilator_schlafzimmer + from: 'on' + to: 'off' + condition: [] + action: + - service: script.ventilator_aus + data: {} + mode: single +- id: '1722286888751' + alias: 'Uhrzeit: Ventilator aus um 7 Uhr' + description: '' + triggers: + - at: 07:00:00 + trigger: time + conditions: [] + actions: + - metadata: {} + data: {} + action: script.ventilator_aus + mode: single +- id: '1722334602926' + alias: 'Bewegung: Zwischengang-Cam Licht an nach SU ' + description: '' + trigger: + - type: motion + platform: device + device_id: eecaacc47afdf4364d30749bd3f14ee6 + entity_id: ec39fc546347966e255be2df73cfc7d7 + domain: binary_sensor + condition: + - condition: sun + before: sunrise + after: sunset + action: + - type: turn_on + device_id: eecaacc47afdf4364d30749bd3f14ee6 + entity_id: e162757a6d65c3cca6aa3d81da6fb842 + domain: switch + - type: turn_on + device_id: c09b8f89be67fb050888da7a5886143f + entity_id: 4f3cf865c223a10a35d97e545dd92b67 + domain: light + - type: turn_on + device_id: 6b8e61dfc05da61dde221420c5a5abc7 + entity_id: cc3bedadf7de65b7ab63473371b20d13 + domain: light + - delay: + hours: 0 + minutes: 3 + seconds: 0 + milliseconds: 0 + - type: turn_off + device_id: eecaacc47afdf4364d30749bd3f14ee6 + entity_id: e162757a6d65c3cca6aa3d81da6fb842 + domain: switch + - type: turn_off + device_id: c09b8f89be67fb050888da7a5886143f + entity_id: 4f3cf865c223a10a35d97e545dd92b67 + domain: light + - type: turn_off + device_id: 6b8e61dfc05da61dde221420c5a5abc7 + entity_id: cc3bedadf7de65b7ab63473371b20d13 + domain: light + mode: single +- id: '1722673854786' + alias: 'Uhrzeit: Licht aus um 23:59 Uhr im Wohnzimmer ' + description: '' + triggers: + - at: '23:59:00' + trigger: time + conditions: + - condition: device + device_id: 1d1d14a7aca9a023dde5023fb8939d7e + domain: media_player + entity_id: 916a667be3f4cf8fe5123b5e4f0bbbc2 + type: is_off + actions: + - metadata: {} + data: {} + target: + area_id: + - wohnzimmer + - kuche + action: light.turn_off + mode: single +- id: '1723923241915' + alias: 'Bewegung: Garagen-Cam Bewegung nachts' + description: '' + triggers: + - type: motion + device_id: 9a1e5c6f387aa7e9d3cfcf068e8e60a2 + entity_id: 1c6e1d1ab5108034ed04b4d5cfb16d95 + domain: binary_sensor + trigger: device + conditions: + - condition: sun + before: sunrise + after: sunset + enabled: true + actions: + - type: turn_on + device_id: 9a1e5c6f387aa7e9d3cfcf068e8e60a2 + entity_id: 13e8622e66b34aeda73ab8960dd94704 + domain: switch + - delay: + hours: 0 + minutes: 1 + seconds: 0 + milliseconds: 0 + - type: turn_off + device_id: 9a1e5c6f387aa7e9d3cfcf068e8e60a2 + entity_id: 13e8622e66b34aeda73ab8960dd94704 + domain: switch + mode: single +- id: '1724616726617' + alias: 'Uhrzeit: Poolpumpe täglich um 11 Uhr an' + description: '' + triggers: + - at: '11:00:00' + trigger: time + conditions: [] + actions: [] + mode: single +- id: '1724754910922' + alias: 'Action: Fernseher an, Leselampe aus' + description: '' + triggers: + - type: turned_on + device_id: 248b4d062ff6b34e417a094c3c875946 + entity_id: 98f96216fb853e71baf099a433928535 + domain: remote + trigger: device + conditions: [] + actions: + - type: turn_off + device_id: f8c951f7e31aacfa2b6a6f1727114aa6 + entity_id: b882b159fba740bf8656498555a6cf52 + domain: light + mode: single +- id: '1724845914313' + alias: 'Uhrzeit: Poolpumpe täglich um 14 Uhr aus' + description: '' + triggers: + - at: '14:00:00' + trigger: time + conditions: [] + actions: [] + mode: single +- id: '1724927722052' + alias: 'Uhrzeit: SWR3 um 6:30 auf Sonos Arc' + description: '' + triggers: + - at: 06:30:00 + trigger: time + conditions: + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + actions: + - action: media_player.play_media + target: + entity_id: media_player.sonos_arc_2 + data: + media: + media_content_id: FV:2/6 + media_content_type: favorite_item_id + metadata: + title: SWR3 + thumbnail: https://cdn-profiles.tunein.com/s24896/images/logoq.png?t=1 + media_class: genre + children_media_class: + navigateIds: + - {} + - media_content_type: favorites + media_content_id: '' + - media_content_type: favorites_folder + media_content_id: object.item.audioItem.audioBroadcast + - action: media_player.volume_set + metadata: {} + data: + volume_level: 0.11 + target: + device_id: 23b88ee62cfe9bdc836919ce63f71211 + - delay: + hours: 1 + minutes: 0 + seconds: 0 + milliseconds: 0 + - action: media_player.media_stop + data: {} + target: + device_id: 23b88ee62cfe9bdc836919ce63f71211 + mode: single +- id: '1724928158196' + alias: 'Uhrzeit: SWR3 um 6:30 auf Homepod Bad' + description: '' + triggers: + - at: 06:30:00 + trigger: time + conditions: + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + actions: + - action: media_player.play_media + metadata: {} + data: + media: + media_content_id: media-source://radio_browser/240d28b9-7858-48d2-a816-9cf8e1875fe8 + media_content_type: audio/mpeg + metadata: + title: SWR3 + thumbnail: https://swr3.de/assets/swr3/icons/apple-touch-icon.png + media_class: music + children_media_class: + navigateIds: + - {} + - media_content_type: app + media_content_id: media-source://radio_browser + - media_content_type: music + media_content_id: media-source://radio_browser/popular + browse_entity_id: media_player.bad + target: + device_id: d78adce17e65b848d0f470ba9f5ed0ae + mode: single +- id: '1725861310339' + alias: 'Uhrzeit: SWR3 Stop Sonos Arc' + description: '' + triggers: + - at: 08:05:00 + trigger: time + conditions: [] + actions: + - action: media_player.media_stop + data: {} + target: + device_id: 23b88ee62cfe9bdc836919ce63f71211 + mode: single +- id: '1725861386288' + alias: 'Uhrzeit: SWR3 Stop um 7:30 auf Homepod Bad' + description: '' + triggers: + - at: 07:30:00 + trigger: time + conditions: [] + actions: + - action: media_player.media_stop + metadata: {} + data: {} + target: + entity_id: + - media_player.bad + - media_player.homepod_bad + mode: single +- id: '1726392114331' + alias: 'Action: Greta Fenster auf Heizung aus' + description: '' + triggers: + - type: opened + device_id: 6885a25028d7d367c81603d66dff2dcb + entity_id: c9e504fe1930566424ff8081b8344e53 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + - type: opened + device_id: b39fc904a046eee720b8f9cdf6ae3410 + entity_id: 6ed1cd2481736c33f19834a2363fdd51 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: 6fbdecb066e2f4ae2db01c95a29049ea + domain: climate + entity_id: 393db1c094b33e0848c1a99e8a968b6f + type: set_hvac_mode + hvac_mode: 'off' + - action: script.luftbefeuchter_greta_stufe_1 + data: {} + mode: single +- id: '1726392214803' + alias: 'Action: Greta Fenster zu Heizung an' + description: '' + trigger: + - type: not_opened + platform: device + device_id: 6885a25028d7d367c81603d66dff2dcb + entity_id: c9e504fe1930566424ff8081b8344e53 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + - type: not_opened + platform: device + device_id: b39fc904a046eee720b8f9cdf6ae3410 + entity_id: 6ed1cd2481736c33f19834a2363fdd51 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + - type: is_not_open + condition: device + device_id: 6885a25028d7d367c81603d66dff2dcb + entity_id: c9e504fe1930566424ff8081b8344e53 + domain: binary_sensor + - type: is_not_open + condition: device + device_id: b39fc904a046eee720b8f9cdf6ae3410 + entity_id: 6ed1cd2481736c33f19834a2363fdd51 + domain: binary_sensor + action: + - device_id: 6fbdecb066e2f4ae2db01c95a29049ea + domain: climate + entity_id: 393db1c094b33e0848c1a99e8a968b6f + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1726404427926' + alias: 'Action: Bad Fenster auf Heizung aus' + description: '' + trigger: + - type: opened + platform: device + device_id: 1cdb215985fce2d820b6296acfcaf35a + entity_id: 385157bf932f0d273d3e7df80eb19c93 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + action: + - device_id: c1dc383e2bfdcf7504f18d3248788a8b + domain: climate + entity_id: 3d901a5adbde4de5089bc620c375add1 + type: set_hvac_mode + hvac_mode: 'off' + mode: single +- id: '1726404473336' + alias: 'Action: Bad Fenster zu Heizung an' + description: '' + trigger: + - type: not_opened + platform: device + device_id: 1cdb215985fce2d820b6296acfcaf35a + entity_id: 385157bf932f0d273d3e7df80eb19c93 + domain: binary_sensor + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + action: + - device_id: c1dc383e2bfdcf7504f18d3248788a8b + domain: climate + entity_id: 3d901a5adbde4de5089bc620c375add1 + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1726408373435' + alias: 'Action: Wohnzimmer Fenster auf Heizung aus (Gruppe)' + description: '' + triggers: + - type: opened + device_id: 74f12315414ae21be02cda543836228b + entity_id: 5d07dc98cd31944dc32b94108881ed38 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + - type: opened + device_id: 54015d4c58249817ae9c439a16d6a18d + entity_id: ad15fe62a7d61b2e683dcde1fa3f3014 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + - type: opened + device_id: 0e32721f825e90894119e3a44f5b7812 + entity_id: 8be8238774fc5f4201dbe7a382b660ac + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: 6ecac3aa91b9d6ac55ec19628cd8b130 + domain: climate + entity_id: f0b96dff6ca50161c0eaa071b382979d + type: set_hvac_mode + hvac_mode: 'off' + enabled: true + - device_id: 68d4a113b3e948bfc7d4c0f07ecf49b5 + domain: climate + entity_id: 3a020e56fc83de00510c9108169ccb25 + type: set_hvac_mode + hvac_mode: 'off' + - action: script.luftbefeuchter_wohnzimmer_aus + data: {} + mode: single +- id: '1726408440425' + alias: 'Action: Wohnzimmer Fenster zu Heizung an (Gruppe)' + description: '' + triggers: + - type: not_opened + device_id: 74f12315414ae21be02cda543836228b + entity_id: 5d07dc98cd31944dc32b94108881ed38 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + - type: not_opened + device_id: 54015d4c58249817ae9c439a16d6a18d + entity_id: ad15fe62a7d61b2e683dcde1fa3f3014 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + - type: not_opened + device_id: 0e32721f825e90894119e3a44f5b7812 + entity_id: 8be8238774fc5f4201dbe7a382b660ac + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + - type: is_not_open + condition: device + device_id: 74f12315414ae21be02cda543836228b + entity_id: 5d07dc98cd31944dc32b94108881ed38 + domain: binary_sensor + - type: is_not_open + condition: device + device_id: 54015d4c58249817ae9c439a16d6a18d + entity_id: ad15fe62a7d61b2e683dcde1fa3f3014 + domain: binary_sensor + - type: is_not_open + condition: device + device_id: 0e32721f825e90894119e3a44f5b7812 + entity_id: 8be8238774fc5f4201dbe7a382b660ac + domain: binary_sensor + actions: + - device_id: 6ecac3aa91b9d6ac55ec19628cd8b130 + domain: climate + entity_id: f0b96dff6ca50161c0eaa071b382979d + type: set_hvac_mode + hvac_mode: auto + enabled: true + - device_id: 68d4a113b3e948bfc7d4c0f07ecf49b5 + domain: climate + entity_id: 3a020e56fc83de00510c9108169ccb25 + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1726489797694' + alias: 'Action: Gästebad Fenster auf Heizung aus' + description: '' + trigger: + - type: opened + platform: device + device_id: ace1453fc8092ff1aa97b54024888322 + entity_id: f190b93208f91873817e8b7c4dc00ba4 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + action: + - device_id: 80d169d5a9ff73c6db6207e50a8240dd + domain: climate + entity_id: 35579ba4330dcc9a327183b0ac8171fc + type: set_hvac_mode + hvac_mode: 'off' + mode: single +- id: '1726489827176' + alias: 'Action: Gästebad Fenster zu Heizung an' + description: '' + trigger: + - type: not_opened + platform: device + device_id: ace1453fc8092ff1aa97b54024888322 + entity_id: f190b93208f91873817e8b7c4dc00ba4 + domain: binary_sensor + for: + hours: 0 + minutes: 0 + seconds: 0 + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + action: + - device_id: 80d169d5a9ff73c6db6207e50a8240dd + domain: climate + entity_id: 35579ba4330dcc9a327183b0ac8171fc + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1726555151741' + alias: 'Action: Schlafzimmer Fenster offen Heizung aus' + description: '' + triggers: + - type: opened + device_id: 74145228ce0539bb05dc9ea2fd9e2808 + entity_id: c28e66f2e911e9684b27b4d9b488dc95 + domain: binary_sensor + trigger: device + - type: opened + device_id: a51c4be7f00ca52c11abcf3f54bc4fcb + entity_id: a92b6cce89cb76c0c395e8cab088a8af + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: caa8a288ab3196956333577c8e6b6333 + domain: climate + entity_id: 2c944542df5d7bca4ac49866d59211b1 + type: set_hvac_mode + hvac_mode: 'off' + - action: script.luftbefeuchter_schlafzimmer_aus + data: {} + mode: single +- id: '1726555189848' + alias: 'Action: Schlafzimmer Fenster zu Heizung an' + description: '' + trigger: + - type: not_opened + platform: device + device_id: 74145228ce0539bb05dc9ea2fd9e2808 + entity_id: c28e66f2e911e9684b27b4d9b488dc95 + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + - type: not_opened + platform: device + device_id: a51c4be7f00ca52c11abcf3f54bc4fcb + entity_id: a92b6cce89cb76c0c395e8cab088a8af + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + condition: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + - type: is_not_open + condition: device + device_id: a51c4be7f00ca52c11abcf3f54bc4fcb + entity_id: a92b6cce89cb76c0c395e8cab088a8af + domain: binary_sensor + - type: is_not_open + condition: device + device_id: 74145228ce0539bb05dc9ea2fd9e2808 + entity_id: c28e66f2e911e9684b27b4d9b488dc95 + domain: binary_sensor + action: + - device_id: caa8a288ab3196956333577c8e6b6333 + domain: climate + entity_id: 2c944542df5d7bca4ac49866d59211b1 + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1726847477504' + alias: 'Action: Büro Fenster auf Heizung aus' + description: '' + triggers: + - type: opened + device_id: 7a423e538d65d9e6a3029c9bb7abfda0 + entity_id: 0d7f34df7674cc450078903896c10bfb + domain: binary_sensor + for: + hours: 0 + minutes: 2 + seconds: 0 + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: f886c43330b92ec02168dc21627663b1 + domain: climate + entity_id: ecce11d8892e6d548456e33e23baf6fd + type: set_hvac_mode + hvac_mode: 'off' + mode: single +- id: '1726847515270' + alias: 'Action: Büro Fenster zu Heizung an' + description: '' + triggers: + - type: not_opened + device_id: 7a423e538d65d9e6a3029c9bb7abfda0 + entity_id: 0d7f34df7674cc450078903896c10bfb + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: f886c43330b92ec02168dc21627663b1 + domain: climate + entity_id: ecce11d8892e6d548456e33e23baf6fd + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1727341382638' + alias: 'Sonne: Bad Hemnes ausschalten nach SA' + description: '' + trigger: + - platform: sun + event: sunrise + offset: 00:30:00 + condition: [] + action: + - type: turn_off + device_id: 0a65e0bab7ee0d2ed411873cab690d7b + entity_id: b0ee10a7e65e21ae6e47e12a8da125af + domain: light + mode: single +- id: '1728457191638' + alias: 'Uhrzeit: Licht aus um 7:30 Uhr bei Greta' + description: '' + triggers: + - trigger: time + at: 07:30:00 + conditions: + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + actions: + - type: turn_off + device_id: ad07bb700074bd4edcbd7d4a0440020f + entity_id: d5c687dccaebb2af80641d247ebc40e9 + domain: light + - type: turn_off + device_id: f3c9f016048c03fee8a552869913e10b + entity_id: d44032678cb26b6f3450b47ab4ad1d83 + domain: light + - type: turn_off + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + - type: turn_off + device_id: 42c265ec58ee05cdfa16f1bceeaf720b + entity_id: 3cd43db6b96777f7589172f90c963a50 + domain: light + mode: single +- id: '1728897138525' + alias: 'Uhrzeit: Küchenlampe an um 6:30 Uhr' + description: '' + triggers: + - at: 06:30:00 + trigger: time + conditions: + - condition: and + conditions: + - condition: numeric_state + entity_id: sensor.hpd_kuche_kuche_beleuchtungsstarke + below: 150 + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + actions: + - type: turn_on + device_id: 6b4df67b3ba9fa906df5ece8530ce8d1 + entity_id: 41c195fb97faee97ce73a681b41786be + domain: light + - device_id: 6b4df67b3ba9fa906df5ece8530ce8d1 + domain: light + entity_id: 41c195fb97faee97ce73a681b41786be + type: brightness_decrease + mode: single +- id: '1730313530658' + alias: 'Schalter: Bürolampe heller' + description: '' + triggers: + - device_id: b6cb36bb532a457742d9c793780905fa + domain: zha + type: device_rotated + subtype: right + trigger: device + conditions: [] + actions: + - device_id: 10aa586f14c9ce08f922add4d7f38cd0 + domain: light + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + type: brightness_increase + mode: single +- id: '1730313679388' + alias: 'Schalter: Bürolampe dunkler' + description: '' + triggers: + - device_id: b6cb36bb532a457742d9c793780905fa + domain: zha + type: device_rotated + subtype: left + trigger: device + conditions: [] + actions: + - device_id: 10aa586f14c9ce08f922add4d7f38cd0 + domain: light + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + type: brightness_decrease + mode: single +- id: '1730381449430' + alias: 'Bewegung: Keine Bewegung an Esstisch, Lampe aus' + description: '' + triggers: + - type: not_occupied + device_id: 717910e3f69df12d0815e4e5af9ed649 + entity_id: 92401932afd75c8f2825995713769585 + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 20 + seconds: 0 + conditions: [] + actions: + - type: turn_off + device_id: 8fc5f255f78d7c0de84e347499e694e7 + entity_id: 722ff245e1f03b0be38eeb1f52b63f79 + domain: light + mode: single +- id: '1730387735148' + alias: 'Action: Küche Fenster zu Heizung an (Gruppe)' + description: '' + triggers: + - type: not_opened + device_id: 1ee840d93efe0fc0f5ab0befa037e8dc + entity_id: 4d5f1308188250ea70c3574b186b9eba + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: f3cd43fde0deba553249c7d14fd23686 + domain: climate + entity_id: bc3b2bd8377cb101ff82fcee48a7abb7 + type: set_hvac_mode + hvac_mode: auto + enabled: true + - device_id: f21419b347aef9b17c6f31842e0fcb8f + domain: climate + entity_id: 0798ddd4213b38f136ec1b8edfb31912 + type: set_hvac_mode + hvac_mode: auto + mode: single +- id: '1730387772749' + alias: 'Action: Küche Fenster auf Heizung aus (Gruppe)' + description: '' + triggers: + - type: opened + device_id: 1ee840d93efe0fc0f5ab0befa037e8dc + entity_id: 4d5f1308188250ea70c3574b186b9eba + domain: binary_sensor + trigger: device + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.heizungssteuerung + state: 'on' + actions: + - device_id: f3cd43fde0deba553249c7d14fd23686 + domain: climate + entity_id: bc3b2bd8377cb101ff82fcee48a7abb7 + type: set_hvac_mode + hvac_mode: 'off' + enabled: true + - device_id: f21419b347aef9b17c6f31842e0fcb8f + domain: climate + entity_id: 0798ddd4213b38f136ec1b8edfb31912 + type: set_hvac_mode + hvac_mode: 'off' + mode: single +- id: '1731309174542' + alias: 'Schalter: Bürolampe umschalten' + description: '' + triggers: + - device_id: b6cb36bb532a457742d9c793780905fa + domain: zha + type: remote_button_short_press + subtype: button + trigger: device + conditions: [] + actions: + - type: toggle + device_id: 10aa586f14c9ce08f922add4d7f38cd0 + entity_id: 6602fd621c7f24b3b76f61c78df97da0 + domain: light + mode: single +- id: '1731913908195' + alias: 'Schalter: Büro Computer umschalten' + description: '' + triggers: + - device_id: b6cb36bb532a457742d9c793780905fa + domain: zha + type: remote_button_long_press + subtype: button_1 + trigger: device + conditions: [] + actions: + - type: toggle + device_id: 7aeb52ddb1da17334a080c535e3545ad + entity_id: ae3648aff5a4ef98c694427c5863c404 + domain: switch + mode: single +- id: '1732461695098' + alias: 'Push: Nuki Smart Lock geladen' + description: '' + triggers: + - trigger: numeric_state + entity_id: + - sensor.nuki_haustur_battery + above: 79 + conditions: + - type: is_charging + condition: device + device_id: faca4bbaeada042884c54f86bcd11938 + entity_id: e9150b17c4b6c05e7abc3850bbdb0aac + domain: binary_sensor + actions: + - action: notify.gotify + metadata: {} + data: + message: "Nuki Smart Lock ausreichend geladen. \n\n{{ as_timestamp(now()) | + timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Nuki Smart Lock + mode: single +- id: '1732461908464' + alias: 'Push: Nuki Smart Lock laden ' + description: '' + triggers: + - trigger: numeric_state + entity_id: + - sensor.nuki_haustur_battery + below: 25 + conditions: + - type: is_not_charging + condition: device + device_id: faca4bbaeada042884c54f86bcd11938 + entity_id: e9150b17c4b6c05e7abc3850bbdb0aac + domain: binary_sensor + actions: + - action: notify.gotify + metadata: {} + data: + message: "Nuki Smart Lock aufladen. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + title: Nuki Smart Lock + mode: single +- id: '1732523936277' + alias: 'Action: Haustür Nuki auf, Licht aus im OG' + description: '' + triggers: + - trigger: state + entity_id: + - binary_sensor.tursensor_haustur_offnung + from: 'off' + to: 'on' + conditions: + - condition: and + conditions: + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + - condition: time + after: 07:15:00 + before: 07:45:00 + - condition: state + entity_id: input_boolean.licht_og_ausgeschaltet + state: 'off' + actions: + - action: light.turn_off + metadata: {} + data: {} + target: + area_id: + - bad + - charlotte + - schlafzimmer + - greta + - action: input_boolean.turn_on + metadata: {} + data: {} + target: + entity_id: input_boolean.licht_og_ausgeschaltet + mode: single +- id: '1733061502520' + alias: 'Push: iPad auf 80% geladen' + description: '' + triggers: + - entity_id: + - sensor.familien_ipad_battery_level + above: 79 + trigger: numeric_state + conditions: + - condition: state + state: Charging + entity_id: sensor.familien_ipad_battery_state + actions: + - action: notify.gotify + metadata: {} + data: + message: 'iPad zu 80% geladen. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Optimiertes Laden + mode: single +- id: '1734803689907' + alias: 'Schalter: Fernbedienung Schlafzimmer ' + description: '' + use_blueprint: + path: Malte/zha-ikea-four-button-remote-styrbar-for-lights-e2001-e2002.yaml + input: + remote: 85e00a6d2884ef31f319b99a9efaf015 + light: + area_id: schlafzimmer + brightness: 78 + button_left_short: + - action: script.ventilator_aus + data: {} + button_right_short: + - action: script.ventilator_an + data: {} +- id: '1734871513543' + alias: 'Schalter: Lichtschalter Gästebad (Blueprint)' + description: '' + use_blueprint: + path: ahue/shelly-plus-1-button-action-blueprint.yaml + input: + button: 01d35404ebf403522315e9d4a6c03133 + down: + - type: turn_on + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + up: + - type: turn_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light +- id: '1735032608481' + alias: 'Push: Roborock Wasser knapp' + description: '' + triggers: [] + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + title: Wassertank + message: "Wassertank in Roborock leer. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + mode: single +- id: '1735309344831' + alias: 'Uhrzeit: Christbaum ein' + description: '' + triggers: + - trigger: time + at: 07:00:00 + conditions: + - condition: state + entity_id: sensor.season + state: winter + actions: + - type: turn_on + device_id: ac3aa511e685b0b1904705cac8cefd4f + entity_id: 790880a634ba1f08c4fc76556b8f0f5c + domain: light + - device_id: ac3aa511e685b0b1904705cac8cefd4f + domain: select + entity_id: 54832ae43d82a8201013b5f42da0e73d + type: select_option + option: color + mode: single +- id: '1735402252719' + alias: 'Schalter: Lichtschalter Wohnzimmer (Blueprint)' + description: '' + use_blueprint: + path: ahue/shelly-plus-1-button-action-blueprint.yaml + input: + button: 2b1b814ec5f53e9e3dfc8a14bd4323db + down: + - type: turn_on + device_id: 8ace501aaaab3b6855de4f8429c29bfc + entity_id: eb7a91684b290db5ead2f173caacc1e7 + domain: light + - type: turn_on + device_id: a08cb9fa857dfa26250d12dcbe127a70 + entity_id: 23ef4355bf3e4e0c400d973366c2bcb4 + domain: light + - type: turn_on + device_id: 6aef85c7e62ae7de1e2f7a9d09d353c2 + entity_id: 07328146f76e1991e58796581486fd34 + domain: light + - type: turn_on + device_id: 261e4a33108b40f9144790d86de37631 + entity_id: 058781f76e7dd88c9ba29a9a5a93d013 + domain: light + - type: turn_on + device_id: b7154e83342b43e518205eafc87c26ca + entity_id: fc87bc719e0229edf1aed6addb8bde6b + domain: light + - type: turn_on + device_id: d970bd15d5e7f8c296babf356727d97c + entity_id: 7f8e9a1e1f2257bf67a7d417f1eab9d2 + domain: light + up: + - type: turn_off + device_id: 8ace501aaaab3b6855de4f8429c29bfc + entity_id: eb7a91684b290db5ead2f173caacc1e7 + domain: light + - type: turn_off + device_id: a08cb9fa857dfa26250d12dcbe127a70 + entity_id: 23ef4355bf3e4e0c400d973366c2bcb4 + domain: light + - type: turn_off + device_id: 6aef85c7e62ae7de1e2f7a9d09d353c2 + entity_id: 07328146f76e1991e58796581486fd34 + domain: light + - type: turn_off + device_id: 261e4a33108b40f9144790d86de37631 + entity_id: 058781f76e7dd88c9ba29a9a5a93d013 + domain: light + - type: turn_off + device_id: b7154e83342b43e518205eafc87c26ca + entity_id: fc87bc719e0229edf1aed6addb8bde6b + domain: light + - type: turn_off + device_id: d970bd15d5e7f8c296babf356727d97c + entity_id: 7f8e9a1e1f2257bf67a7d417f1eab9d2 + domain: light +- id: '1736327490684' + alias: 'Uhrzeit: ID4 Klimatisierung Auto anschalten unter 4 Grad' + description: '' + triggers: + - trigger: time + at: 07:15:00 + conditions: + - condition: and + conditions: + - condition: state + entity_id: binary_sensor.werktag + state: 'on' + - condition: numeric_state + entity_id: weather.langenau + below: 5 + attribute: temperature + - condition: state + entity_id: input_boolean.steuerung_klimatisierung_auto + state: + - 'on' + actions: + - action: climate.turn_on + metadata: {} + target: + entity_id: climate.id_4_electric_climatisation + data: {} + mode: single +- id: '1736951223120' + alias: 'Sonne: Theme nach Sonnenuntergang setzen' + description: '' + triggers: + - trigger: sun + event: sunset + offset: 0 + conditions: [] + actions: + - action: frontend.set_theme + metadata: {} + data: + mode: dark + name: default + mode: single +- id: '1736951271726' + alias: 'Sonne: Theme nach Sonnenaufgang setzen' + description: '' + triggers: + - trigger: sun + event: sunrise + offset: 0 + conditions: [] + actions: + - action: frontend.set_theme + metadata: {} + data: + mode: light + name: default + mode: single +- id: '1742286714152' + alias: 'Push: Auto Türen Kofferraum offen' + description: '' + triggers: + - type: not_moving + device_id: 4f5fd4793a778f2c9c05683cdf429dac + entity_id: 5d0b4fdd7d6dab89c65c6b9aff0f8c08 + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 10 + seconds: 0 + conditions: + - condition: or + conditions: + - type: is_not_locked + condition: device + device_id: 4f5fd4793a778f2c9c05683cdf429dac + entity_id: 7e9d55fa441498676806e42d989cf395 + domain: binary_sensor + for: + hours: 0 + minutes: 7 + seconds: 0 + actions: + - condition: state + entity_id: switch.id_4_charging + state: 'off' + - action: notify.gotify + metadata: {} + data: + title: Volkswagen ID4 + message: 'ID.4: Türen sind noch offen. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + mode: single +- id: '1743952564786' + alias: 'Uhrzeit: Lautstärke Greta HomePod verringern um 22 Uhr' + description: '' + triggers: + - trigger: time + at: '22:00:00' + conditions: [] + actions: + - action: media_player.volume_set + metadata: {} + data: + volume_level: 0.17 + target: + device_id: 925dddcbdb19d98c9c14a60a39d4f604 + mode: single +- id: '1744881673519' + alias: 'Schalter: Heizung aktivieren' + description: '' + triggers: + - trigger: state + entity_id: + - input_boolean.heizung + conditions: [] + actions: + - choose: + - conditions: + - condition: state + entity_id: input_boolean.heizung + state: 'off' + sequence: + - action: script.heizung_alle_aus + metadata: {} + data: {} + - conditions: + - condition: state + entity_id: input_boolean.heizung + state: 'on' + sequence: + - action: script.heizung_alle_ein + metadata: {} + data: {} + mode: single +- id: '1746523933403' + alias: 'Push: Volkswagen ID.4 geladen' + description: '' + triggers: + - trigger: state + entity_id: + - switch.id_4_charging + from: 'on' + to: 'off' + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + title: Volkswagen ID.4 + message: "Ladevorgang beendet. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + mode: single +- id: '1747653745013' + alias: 'Push: Tür Bad offen Fenster offen' + description: '' + triggers: + - type: opened + device_id: f9fbe4c84a573d19684b99e1e6031c59 + entity_id: 3d0f6ce79c390a31a7e34d63076fedbe + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 0 + seconds: 10 + conditions: + - condition: state + entity_id: binary_sensor.bad_fenster + state: 'on' + actions: + - action: notify.gotify + metadata: {} + data: + message: 'Tür im Bad ist offen, Fenster ebenfalls geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Tür offen + - action: notify.mobile_app_sarahs_iphone + metadata: {} + data: + message: Tür im Bad ist offen, Fenster auch + title: Tür offen + mode: single +- id: '1748770983379' + alias: 'Push: Nuki Keypad Batterien tauschen' + description: '' + triggers: + - trigger: state + entity_id: + - binary_sensor.nuki_haustur_keypad_battery_critical + from: 'off' + to: 'on' + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + message: 'Batterien im Nuki Keypad tauschen. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Nuki Keypad + mode: single +- id: '1749367910584' + alias: 'Push: iPad unter 20%' + description: '' + triggers: + - entity_id: + - sensor.familien_ipad_battery_level + trigger: numeric_state + below: 21 + conditions: + - condition: not + conditions: + - condition: state + state: Charging + entity_id: sensor.familien_ipad_battery_state + actions: + - action: notify.gotify + metadata: {} + data: + message: 'iPad nur noch zu 20% geladen. Bitte aufladen um die Batterie zu schonen. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Optimiertes Laden + mode: single +- id: '1750266282210' + alias: 'Push: Home Assistant Core Update' + description: '' + triggers: + - trigger: state + entity_id: + - update.home_assistant_core_update + to: 'on' + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + title: Home Assistant Update + message: "Core Update verfügbar. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + mode: single +- id: '1750268342146' + alias: 'Push: Home Assistant Operating System Update verfügbar ' + description: '' + triggers: + - trigger: state + entity_id: + - update.home_assistant_operating_system_update + to: 'on' + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + title: Home Assistant Update + message: "HAOS Update verfügbar. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + mode: single +- id: '1750585415985' + alias: 'Push: Hitzeschutz Charlotte' + description: '' + triggers: + - trigger: time + at: 09:30:00 + - trigger: time + at: '11:30:00' + conditions: + - type: is_open + condition: device + device_id: 97cb5a718d8a1e74ad9ba6f9bc2ec1fa + entity_id: 3ff8826da188b0a9ebd27f06fa101efa + domain: binary_sensor + - type: is_open + condition: device + device_id: 7a9c511940ae11f35071b6ed5c9e970e + entity_id: 0a93b52cdd647a999b5a9e1d5b1372dc + domain: binary_sensor + - condition: device + device_id: b4e2e689f9185b6ec55caad919c3c57f + domain: cover + entity_id: d97c214f7de8b78c6672d78e4355a405 + type: is_open + - condition: device + device_id: 36907da28128722dcf251247dbba0b4a + domain: cover + entity_id: a33d31eee064ed2ea22f7050221bef25 + type: is_open + - condition: state + entity_id: input_boolean.pushnachrichten_hitzeschutz + state: 'on' + actions: + - action: notify.mobile_app_sarahs_iphone + metadata: {} + data: + title: Hitzeschutz Charlotte + message: Bitte Fenster und Rollos im Raum Charlotte schließen. + - action: notify.gotify + metadata: {} + data: + title: Hitzeschutz Charlotte + message: 'Bitte Fenster und Rollos im Raum Charlotte schließen. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + mode: single +- id: '1750585771995' + alias: 'Push: Hitzeschutz Greta' + description: '' + triggers: + - trigger: time + at: 09:30:00 + - trigger: time + at: '11:30:00' + conditions: + - type: is_open + condition: device + device_id: b39fc904a046eee720b8f9cdf6ae3410 + entity_id: 6ed1cd2481736c33f19834a2363fdd51 + domain: binary_sensor + - type: is_open + condition: device + device_id: 6885a25028d7d367c81603d66dff2dcb + entity_id: c9e504fe1930566424ff8081b8344e53 + domain: binary_sensor + - condition: device + device_id: 33a28c9bd182556b2a850e07140602ac + domain: cover + entity_id: c3da0bdb651ced7630ba42df87691875 + type: is_open + - condition: device + device_id: 94e161f426b541ec8e1771b687c02fce + domain: cover + entity_id: 6c0ddc2e9939af32930b367f919c7f73 + type: is_open + - condition: state + entity_id: input_boolean.pushnachrichten_hitzeschutz + state: 'on' + actions: + - action: notify.mobile_app_sarahs_iphone + metadata: {} + data: + title: Hitzeschutz Greta + message: Bitte Fenster und Rollos im Raum Greta schließen. + - action: notify.gotify + metadata: {} + data: + title: Hitzeschutz Greta + message: "Bitte Fenster und Rollos im Raum Greta schließen. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + mode: single +- id: '1751737849078' + alias: 'Sonne: Ladevorgang Wallbox stoppen nach SU ID.4' + description: '' + triggers: + - trigger: state + entity_id: + - sun.sun + from: above_horizon + to: below_horizon + conditions: + - condition: and + conditions: + - condition: device + type: is_on + device_id: 4f5fd4793a778f2c9c05683cdf429dac + entity_id: 8ffe18bc2be76a07c6ce32d82d99d973 + domain: switch + - condition: state + entity_id: sensor.alfen_wallbox_status_code_socket_1 + state: Charging Normal + - condition: state + entity_id: input_boolean.steuerung_wallbox + state: + - 'on' + actions: + - type: turn_off + device_id: 4f5fd4793a778f2c9c05683cdf429dac + entity_id: 8ffe18bc2be76a07c6ce32d82d99d973 + domain: switch + mode: single +- id: '1756587832309' + alias: 'Push: FritzBox Update verfügbar' + description: '' + triggers: + - trigger: state + entity_id: + - update.fritz_box_6660_cable_fritz_os + to: 'on' + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + message: 'Neues FritzOS verfügbar. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: FritzBox Cable 6660 Update + mode: single +- id: '1757581736586' + alias: 'Push: Fenster Küche geöffnet (Heizung an)' + description: '' + triggers: + - type: opened + device_id: 1ee840d93efe0fc0f5ab0befa037e8dc + entity_id: 4d5f1308188250ea70c3574b186b9eba + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 15 + seconds: 0 + conditions: + - condition: or + conditions: + - condition: state + entity_id: climate.wohnzimmer + state: heating + attribute: hvac_action + actions: + - action: notify.gotify + data: + message: 'Fenster Küche für mehr als 15 Minuten geöffnet. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Fenstersensor + - data: + message: Terrassentür für mehr als 15 Minuten geöffnet + title: Fenstersensor + action: notify.mobile_app_sarahs_iphone + mode: single +- id: '1758918572650' + alias: 'Heizlüfter: Aus nach 15 Minuten' + description: '' + triggers: + - type: turned_on + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + trigger: device + for: + hours: 0 + minutes: 15 + seconds: 0 + conditions: [] + actions: + - type: turn_off + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + mode: single +- id: '1758918986071' + alias: 'Heizlüfter: Aus über 24 Grad' + description: '' + triggers: + - type: turned_on + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + trigger: device + conditions: + - condition: numeric_state + entity_id: climate.bad + above: 24 + attribute: current_temperature + actions: + - type: turn_off + device_id: 5ffdcc76dbdabb25fd65abad02f5349d + entity_id: 3a91aa294ea863d3d6975974c3c7a247 + domain: switch + mode: single +- id: '1759395452973' + alias: 'Push: Temperaturwarnung Rasenmäher' + description: '' + triggers: + - type: temperature + device_id: ff6ad4d720d03d85b5ee9a8fe15e64d9 + entity_id: c4ebff18b51048bcd4a925c30a32393d + domain: sensor + trigger: device + below: 4 + for: + hours: 0 + minutes: 20 + seconds: 0 + conditions: + - condition: state + entity_id: input_boolean.frostwarnung_mahroboter + state: 'on' + actions: + - action: notify.gotify + metadata: {} + data: + message: "Temperaturwarnung: Es ist unter 4 Grad im Aussenbereich. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Temperaturwarnung + mode: single +- id: '1761152682916' + alias: 'Schalter: Deckenlampe Greta dunkler vor 7 Uhr' + description: '' + triggers: + - type: turned_on + device_id: 863cac32d2491ff1b232d8adbb1ff289 + entity_id: 49adf831cd67be7d1be00b73d48bd731 + domain: light + trigger: device + conditions: + - condition: time + before: 06:59:00 + weekday: + - mon + - tue + - wed + - thu + - fri + actions: + - action: scene.turn_on + metadata: {} + data: {} + target: + entity_id: scene.greta_deckenlampe_1 + mode: single +- id: '1761326717078' + alias: 'Sonne: Ladevorgang Wallbox einschalten nach SA ID.4' + description: '' + triggers: + - trigger: state + entity_id: + - sun.sun + from: below_horizon + to: above_horizon + for: + hours: 0 + minutes: 10 + seconds: 0 + conditions: + - condition: and + conditions: + - condition: device + type: is_off + device_id: 4f5fd4793a778f2c9c05683cdf429dac + entity_id: 8ffe18bc2be76a07c6ce32d82d99d973 + domain: switch + - condition: state + entity_id: sensor.alfen_wallbox_status_code_socket_1 + state: Wait Vehicle Charging + - condition: state + entity_id: input_boolean.steuerung_wallbox + state: + - 'on' + actions: + - type: turn_on + device_id: 4f5fd4793a778f2c9c05683cdf429dac + entity_id: 8ffe18bc2be76a07c6ce32d82d99d973 + domain: switch + mode: single +- id: '1761639901015' + alias: 'Uhrzeit: Home Assistant Updates über Nacht' + description: '' + triggers: + - trigger: time + at: 04:20:00 + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.update_heute_nacht + state: 'on' + actions: + - action: input_boolean.turn_off + metadata: {} + data: {} + target: + entity_id: input_boolean.update_heute_nacht + - action: backup.create_automatic + metadata: {} + data: {} + - choose: + - conditions: + - condition: state + entity_id: update.home_assistant_operating_system_update + state: 'on' + sequence: + - action: notify.gotify + metadata: {} + data: + message: "Geplantes Update (HAOS) wird gestartet. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Home Assistant Update + - action: update.install + target: + entity_id: update.home_assistant_operating_system_update + data: {} + - conditions: + - condition: state + entity_id: update.home_assistant_supervisor_update + state: 'on' + sequence: + - action: notify.gotify + metadata: {} + data: + message: "Geplantes Update (Supervisor) wird gestartet. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Home Assistant Update + - action: update.install + target: + entity_id: + - update.home_assistant_supervisor_update + data: {} + - conditions: + - condition: state + entity_id: update.home_assistant_core_update + state: 'on' + sequence: + - action: notify.gotify + metadata: {} + data: + message: "Geplantes Update (Core) wird gestartet. \n\n{{ as_timestamp(now()) + | timestamp_custom(\"%H:%M, %d.%m.%Y\") }}" + title: Home Assistant Update + - action: update.install + target: + entity_id: + - update.home_assistant_core_update + data: {} + mode: single +- id: '1761641806680' + alias: 'Push: Home Assistant Supervisor Update verfügbar' + description: '' + triggers: + - trigger: state + entity_id: + - update.home_assistant_supervisor_update + to: 'on' + conditions: [] + actions: + - action: notify.gotify + metadata: {} + data: + title: Home Assistant Update + message: "Supervisor Update verfügbar. \n\n{{ as_timestamp(now()) | timestamp_custom(\"%H:%M, + %d.%m.%Y\") }}" + mode: single +- id: '1761674956658' + alias: 'Bewegung: Keine Bewegung mehr in Gästebad - Licht aus' + description: '' + triggers: + - type: no_motion + device_id: 7deb738ecdd8e9363d806d5720ec9c90 + entity_id: 18ca6445ea6d4de3a8f0013d6b8dea26 + domain: binary_sensor + trigger: device + for: + hours: 0 + minutes: 20 + seconds: 0 + conditions: [] + actions: + - type: turn_off + device_id: f8d39317f98d4f3abf4a5d24e7e85670 + entity_id: 430adaea4d65c4db91d7b3447d4f8834 + domain: light + mode: single +- id: '1761988573529' + alias: 'Uhrzeit: Home Assistant neu starten' + description: '' + triggers: + - trigger: time + at: 03:50:00 + conditions: + - condition: state + entity_id: input_boolean.reboot_heute_nacht + state: 'on' + actions: + - action: input_boolean.turn_off + metadata: {} + data: {} + target: + entity_id: input_boolean.reboot_heute_nacht + - action: notify.gotify + metadata: {} + data: + message: 'Geplanter Neustart ausgeführt. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + title: Home Assistant Reboot + - action: homeassistant.restart + data: {} + mode: single +- id: '1763278542051' + alias: 'Uhrzeit: Lautstärke Sonos auf Zimmerlautstärke einstellen' + description: '' + triggers: + - trigger: time + at: 01:30:00 + conditions: [] + actions: + - action: media_player.volume_set + metadata: {} + data: + volume_level: 0.1 + target: + entity_id: media_player.sonos_arc_2 + mode: single +- id: '1763310454794' + alias: 'Schalter: Pi-Hole deaktivieren für eine Stunde ' + description: '' + triggers: + - trigger: state + entity_id: + - automation.schaltet_pi_hole_deaktivieren_fur_eine_stunde + from: + to: + - 'on' + conditions: [] + actions: + - action: pi_hole.disable + target: + device_id: + - e59c74b83fe314f463701d0fdb09ae8b + data: + duration: '1:00:00' + mode: single +- id: '1763310690001' + alias: 'Schalter: Pi-Hole ist wieder aktiv' + description: '' + triggers: + - trigger: state + entity_id: + - switch.pi_hole + from: + - 'off' + - 'on' + conditions: [] + actions: + - action: input_boolean.turn_on + metadata: {} + data: {} + target: + entity_id: input_boolean.pi_hole_blocker + mode: single +- id: '1765181973647' + alias: 'Uhrzeit: Haustür Nuki entsperren um 7 Uhr werktags' + description: '' + triggers: + - at: 07:00:00 + trigger: time + conditions: + - condition: and + conditions: + - condition: state + entity_id: input_boolean.tursteuerung + state: 'on' + - condition: state + entity_id: binary_sensor.werktag + state: + - 'on' + actions: + - device_id: de402fad16ff73630b7aec442e0a77dc + domain: lock + entity_id: 7431802094ccaa82b2b7e47346b624a0 + type: unlock + mode: single +- id: '1765381646983' + alias: 'Action: Automatisches Backup erstellen' + description: '' + triggers: + - trigger: state + entity_id: + - input_boolean.automatisches_backup_erstellen + from: + - 'off' + to: + - 'on' + conditions: [] + actions: + - action: backup.create_automatic + data: {} + - action: input_boolean.turn_off + metadata: {} + target: + entity_id: input_boolean.automatisches_backup_erstellen + data: {} + - action: notify.gotify + metadata: {} + data: + title: Automatisches Backup + message: 'Automatisches Backup erfolgreich erstellt. + + + {{ as_timestamp(now()) | timestamp_custom("%H:%M, %d.%m.%Y") }}' + mode: single +- id: '1765819142629' + alias: 'Sonne: Weihnachtsstern aus nach SA' + description: '' + triggers: + - trigger: sun + event: sunrise + offset: 0 + conditions: [] + actions: + - type: turn_off + device_id: 1c7e7efb0f0e799268481ebd6585e20f + entity_id: fd25fadaaaabe59effdc9d13983a874e + domain: switch + mode: single +- id: '1765819213471' + alias: 'Uhrzeit: Weihnachtsstern ein nach SU' + description: '' + triggers: + - trigger: sun + event: sunset + offset: 0 + conditions: [] + actions: + - type: turn_on + device_id: 1c7e7efb0f0e799268481ebd6585e20f + entity_id: fd25fadaaaabe59effdc9d13983a874e + domain: switch + mode: single diff --git a/configuration.yaml b/configuration.yaml new file mode 100755 index 0000000..73faa00 --- /dev/null +++ b/configuration.yaml @@ -0,0 +1,534 @@ +# Loads default set of integrations. Do not remove. +default_config: + +# Load frontend themes from the themes folder +frontend: + themes: !include_dir_merge_named themes + +automation: !include automations.yaml +script: !include scripts.yaml +scene: !include scenes.yaml +homeassistant: + customize: !include customize.yaml + auth_mfa_modules: + - type: totp + +api: + +#--------------------------------------------- +####### Systemeinstellungen ####### +#--------------------------------------------- +recorder: !include recorder.yaml +#influxdb: !include influxdb.yaml +logger: !include logger.yaml +history: +prometheus: !include prometheus.yaml +influxdb: !include influxdb.yaml +#--------------------------------------------- +####### Inaktive Integrationen ####### +#--------------------------------------------- +#ffmpeg: + + +#--------------------------------------------- +####### Gotify und Webhook ####### +#--------------------------------------------- + +notify: + - name: "Gotify" + platform: gotify + url: http://192.168.178.183:9085 + token: AI_Iq09hVaRF_P0 + +# - platform: rest +# name: ntfy +# resource: https://ntfy-app.hanold.online +# method: POST +# headers: +# Authorization: cNTc7XU2nYsKXH +# Priority: "{{ priority_default|default('3') }}" +# Title: "{{ title_default|default('Home Assistant') }}" +# Tags: "{{ tags_default|default('bell') }}" +# message_param_name: message + +#------------------------------------------- +http: + use_x_forwarded_for: true + ip_ban_enabled: false + trusted_proxies: + - 192.168.178.0/24 + - 127.0.0.1 + - 172.30.33.0/24 +#------------------------------------------- + +#------------------------------------------ +####### Templates ##### +#------------------------------------------ +template: + - sensor: +# Nachkommastellen in der elektrischen Reichweite entfernen + - name: "Electric Range ohne Nachkommastellen" + state: "{{ states('sensor.id_4_electric_range') | float | int }}" + unit_of_measurement: "km" +# Ladezeit in Stunden und Minuten aufteilen + - name: "id.4 Ladezeit Stunden" + icon: mdi:clock + unit_of_measurement: "h" + state: "{{ (states('sensor.id_4_charging_time_left') | int // 60) }}" + - name: "id.4 Ladezeit Minuten" + icon: mdi:clock + unit_of_measurement: "min" + state: "{{ (states('sensor.id_4_charging_time_left') | int % 60) }}" + +#------------------------------------------- +####### Aktive Integrationen ####### +#------------------------------------------- + +# ZHA Einstellungen +zha: + zigpy_config: + ota: + otau_directory: /config/zigpy_ota/ +# z2m_remote_index: https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json + providers: + - type: ikea + - type: sonoff + extra-providers: + - type: zigpy # The `zigpy` provider type requires a URL that points to an OTA index file + url: https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json + innr_provider: true +# enable_quirks: true +# custom_quirks_path: /config/zigpy_quirks/ + device_config: +# Heizlüfter + 2d:49:05:60:2b:d5:b3:70-1: + type: "switch" + 70:b3:d5:2b:60:07:83:bd-1: + type: "switch" + +# Panel Custom +panel_custom: + - name: panel_automations + sidebar_title: 'Automatisierungen' + sidebar_icon: mdi:restart + url_path: 'config/automation/dashboard' + module_url: /api/hassio/app/entrypoint.js + embed_iframe: true + require_admin: true + - name: panel_integrations + sidebar_title: 'Integrationen' + sidebar_icon: mdi:all-inclusive-box-outline + url_path: 'config/integrations/dashboard' + module_url: /api/hassio/app/entrypoint.js + embed_iframe: true + require_admin: true + - name: addons + sidebar_title: Addons + sidebar_icon: mdi:cog-transfer + js_url: /api/hassio/app/entrypoint.js + url_path: "hassio/dashboard" + embed_iframe: true + require_admin: true + config: + ingress: core_configurator + - name: logs + sidebar_title: Logs + sidebar_icon: mdi:post + js_url: /api/hassio/app/entrypoint.js + url_path: "config/logs" + embed_iframe: true + require_admin: true + config: + ingress: core_configurator + +# Adaptive Lighting +# Die Außenlampen habe ich rausgenommen, weil die dann zu hell werden +adaptive_lighting: + name: "Standard" + max_brightness: 90 + min_brightness: 5 + max_color_temp: 4750 + lights: +# Büro + - light.burolampe_licht +# Flur + - light.bambus_licht + - light.treppe_licht + - light.empore + - light.deckenlampen_flur +# Charlotte + - light.deckenlampe_charlotte_licht + - light.blume_licht + - light.mond_licht + - light.charlotte_mond_und_blume + - light.smart_rgb_bulb_2304040739043352050248e1e9c33fdb_none #schreibtisch +# Greta + - light.greta_kafer_und_blume + - light.ikea_of_sweden_tradfri_bulb_e14_ws_opal_400lm_licht #Greta Blume + - light.deckenlampe_greta_licht + - light.kafer_licht + - light.schreibtischlampe_licht +# Wohnzimmer + - light.esstisch_licht + - light.leselampe_licht + - light.deckenlampe_wohnzimmer +# Küche + - light.kuchenlampe_licht + - light.speisekammer_licht +# Bad + - light.hemnes_licht #Bad + - light.bad_ventilator_licht + - light.badspiegel_licht + - light.deckenlampe_licht #Bad + - light.dusche_licht +# Schlafzimmer + - light.deckenlampe + - light.nachttisch_sarah + - light.nachttisch_sven + - light.bett_licht +# Gästebad + - light.deckenlampe_gastebad_licht + + + + +# HomeKit +homekit: + - name: "Zigbee HomeKit Bridge" + filter: + include_entities: +# Flur + - light.bambus_licht + - light.treppe_licht + - light.empore + - light.deckenlampen_flur + - climate.empore + - climate.flur + - switch.lichtschalter_dachboden_switch_0 + - binary_sensor.tursensor_haustur_offnung +# Garten + - light.terrassenlampen + - light.vordertur + - cover.maestria_io_links + - cover.maestria_io_mitte + - cover.maestria_io_rechts +# Küche + - light.speisekammer_licht + - light.arbeitsplatte + - light.kuchenlampe_licht + - climate.kuche + - climate.speisekammer + - switch.steckdose_dashboard_schalter_2 #Dashboard + - binary_sensor.ewelink_snzb_04_offnung +# Büro + - light.burolampe_licht + - switch.steckdose_computer_schalter + - switch.lichtschalter_buro_switch_0 + - climate.buro + - binary_sensor.fenstersensor_buro_offnet +# Schlafzimmer + - light.nachttisch_sarah + - light.nachttisch_sven + - light.nachttisch + - light.deckenlampe + - light.bett_licht + - input_boolean.luftbefeuchter_schlafzimmer + - input_boolean.deckenventilator_schlafzimmer + - climate.schlafzimmer + - binary_sensor.fenstersensor_lichtband_offnet + - binary_sensor.fenstersensor_fenster_offnung +# Charlotte + - light.deckenlampe_charlotte_licht + - light.charlotte_mond_und_blume + - input_boolean.luftbefeuchter_charlotte + - climate.charlotte + - cover.smart_roller_shutter_2211016207868970080148e1e9aeb29d_shutter #Charlotte Bodentief + - cover.smart_roller_shutter_2211013226379970080248e1e9aed63f_shutter #Charlotte Fenster + - binary_sensor.fenstersensor_bodentiet_offnung + - binary_sensor.fenstersensor_bett_offnung + - light.schreibtischlampe_charlotte_licht +# Greta + - light.greta_kafer_und_blume + - light.schreibtischlampe_licht + - light.deckenlampe_greta_licht + - input_boolean.luftbefeuchter_greta + - climate.greta + - cover.smart_roller_shutter_2211013029100770080248e1e9aed618_shutter #Greta Bodentief + - cover.smart_roller_shutter_2211016056184270080248e1e9aeca39_shutter #Greta Fenster + - binary_sensor.greta_bett_offnung + - binary_sensor.fenstersensor_bodentief_offnung + - switch.lavalampe_greta_schalter +# Bad + - light.bad_ventilator_licht + - light.dusche_licht + - light.badspiegel_licht + - light.hemnes_licht + - light.deckenlampe_licht + - climate.bad + - binary_sensor.fenstersensor_bad_offnet + - binary_sensor.tursensor_bad_offnung + - switch.steckdose_heizlufter +# Wohnzimmer + - light.lowboard_licht + - light.iris_licht + - light.leselampe_licht + - light.deckenlampe_wohnzimmer + - light.esstisch_licht + - light.eckbank_licht_2 + - light.hochkommode_licht_2 + - light.kamin_licht_2 + - light.tischlampe_licht_2 + - light.treibholzlampe_leuchte #Treibholzlampe + - light.65oled805_12_ambilight + - light.twinkly_christbaum #Christbaum + - input_boolean.luftbefeuchter_wohnzimmer + - climate.wohnzimmer + - scene.wohnzimmer_abend + - scene.wohnzimmer_hell + - cover.smart_roller_shutter_2303224120884470080248e1e9c1d0a6_shutter #Bodentief + - cover.smart_roller_shutter_2303225934207570080248e1e9c1d829_shutter #Lichtband Esstisch + - cover.smart_roller_shutter_2303223271354370080248e1e9c1e29b_shutter #Lichtband Garage + - cover.smart_roller_shutter_2303220444283070080248e1e9c1d0c1_shutter #Lichtband Garten + - binary_sensor.fenstersensor_terrasse_links_offnet + - binary_sensor.fenstersensor_terrasse_rechts_offnet + - binary_sensor.fenstersensor_lichtband_garage_offnung +# Technikraum + +# Garage + +# Auto + - climate.id_4_electric_climatisation + +# Gästebad + - light.deckenlampe_gastebad_licht + - binary_sensor.tursensor_offnet + - binary_sensor.fenstersensor_gastebad_offnung + - climate.gastebad + + entity_config: + light.speisekammer_licht: + name: Speisekammer + switch.lichtschalter_schlafzimmer_switch_0: + type: switch + name: Deckenlampe Schlafzimmer + switch.computer_schalter: + type: outlet + switch.lichtschalter_buro_switch_0: + type: switch + name: Deckenlampe Büro + switch.lichtschalter_dachboden_switch_0: + type: switch + name: Dachboden + switch.steckdose_garage_schalter: + type: outlet + name: Steckdose Garage + switch.steckdose_dashboard_schalter_2: + type: outlet + +#----------------------------------- +####### Scripte ####### +#----------------------------------- + +# Luftbefeuchter steuern +shell_command: + humidifier_wohnzimmer_1: 'sh Luftbefeuchter/wz1.sh' + humidifier_wohnzimmer_4: 'sh Luftbefeuchter/wz4.sh' +# humidifier_wohnzimmer_8: 'sh Luftbefeuchter/wz8.sh' + humidifier_greta_1: 'sh Luftbefeuchter/gr1.sh' + humidifier_greta_4: 'sh Luftbefeuchter/gr4.sh' +# humidifier_greta_8: 'sh Luftbefeuchter/gr8.sh' + humidifier_charlotte_1: 'sh Luftbefeuchter/ch1.sh' + humidifier_charlotte_4: 'sh Luftbefeuchter/ch4.sh' +# humidifier_charlotte_8: 'sh Luftbefeuchter/ch8.sh' + humidifier_schlafzimmer_1: 'sh Luftbefeuchter/sz1.sh' + humidifier_schlafzimmer_4: 'sh Luftbefeuchter/sz4.sh' +# humidifier_schlafzimmer_8: 'sh Luftbefeuchter/sz8.sh' + humidifier_wohnzimmer_on: 'sh Luftbefeuchter/luftbefeuchter.on.sh Wohnzimmer' + humidifier_charlotte_on: 'sh Luftbefeuchter/luftbefeuchter.on.sh Charlotte' + humidifier_schlafzimmer_on: 'sh Luftbefeuchter/luftbefeuchter.on.sh Schlafzimmer' + humidifier_greta_on: 'sh Luftbefeuchter/luftbefeuchter.on.sh Greta' + humidifier_wohnzimmer_off: 'sh Luftbefeuchter/luftbefeuchter.off.sh Wohnzimmer' + humidifier_charlotte_off: 'sh Luftbefeuchter/luftbefeuchter.off.sh Charlotte' + humidifier_schlafzimmer_off: 'sh Luftbefeuchter/luftbefeuchter.off.sh Schlafzimmer' + humidifier_greta_off: 'sh Luftbefeuchter/luftbefeuchter.off.sh Greta' + + +#----------------------------------- +####### Kalender ####### +#----------------------------------- +calendar: + - platform: caldav + url: https://caldav.icloud.com + username: svenhanold@me.com + password: wwnw-smro-tyhm-yiqf + calendars: + - Family + - Sven + +counter: + zaehler_rollo_kueche: + name: "Prozent Rollo Küche" + initial: 0 + step: 8 + +climate: + - platform: generic_thermostat + name: Garten + heater: switch.dummy_for_climate_entity #Sonst geht die Entity nicht + target_sensor: sensor.netatmo_aussenmodul_temperatur + +camera: + - platform: xiaomi_cloud_map_extractor + host: 192.168.178.246 + token: 4f45594547593339624e6e394466475a + username: 8294463040 + password: baRecM3ElOQNZaiV + country: de + draw: ['all'] + +#----------------------------------- +####### Sensoren ####### +#----------------------------------- +#Zählerstände +sensor: + - platform: rest + resource: http://192.168.178.138:8081 + value_template: > + {% for i in value_json.data %} + {% if i.uuid == "8d3353b0-1140-11ef-a931-df6ccd247a20" %} + {{ '%.2f'%(i.tuples[0][1]) | float }} + {% endif %} + {% endfor %} + method: GET + name: "zaehler_verbrauch" + unit_of_measurement: kWh + device_class: energy + state_class: total_increasing + + - platform: rest + resource: http://192.168.178.138:8081 + value_template: > + {% for i in value_json.data %} + {% if i.uuid == "480f7900-1140-11ef-b2bb-dd3e03d1aa11" %} + {{ '%.2f'%(i.tuples[0][1]) | float }} + {% endif %} + {% endfor %} + method: GET + name: "zaehler_einspeisung" + unit_of_measurement: kWh + device_class: energy + state_class: total_increasing + + - platform: rest + resource: http://192.168.178.193:8081 + value_template: > + {% for i in value_json.data %} + {% if i.uuid == "11c31170-16c8-11f0-9c6e-03bc4e30373d" %} + {{ '%.2f'%(i.tuples[0][1]) | float }} + {% endif %} + {% endfor %} + method: GET + name: "zaehler_waermepumpe" + unit_of_measurement: Wh + device_class: energy + state_class: total_increasing + +# Standard-VZ-Integration + - platform: volkszaehler +# uuid: "8d3353b0-1140-11ef-a931-df6ccd247a20?.jsonfrom=0+second+ago&" + uuid: "8d3353b0-1140-11ef-a931-df6ccd247a20" + host: "192.168.178.138" +# port: "8081" + name: "Volkszähler Verbrauch" + monitored_conditions: + - average + - consumption + - min + - max + + - platform: volkszaehler +# uuid: "480f7900-1140-11ef-b2bb-dd3e03d1aa11?.jsonfrom=0+second+ago&" + uuid: "480f7900-1140-11ef-b2bb-dd3e03d1aa11" + host: "192.168.178.138" #Ohne http:// und Port hat es geklappt... +# port: "8081" + name: "Volkszaehler Einspeisung" + monitored_conditions: + - average + - consumption + - min + - max + + - platform: volkszaehler + uuid: "11c31170-16c8-11f0-9c6e-03bc4e30373d" + host: "192.168.178.193" #Ohne http:// und Port hat es geklappt... +# port: "8081" + name: "Volkszaehler Waermepumpe" + monitored_conditions: + - average + - consumption + - min + - max + +# Mittelwert der Luftfeuchtigkeit Gesamt + - platform: min_max + entity_ids: + - sensor.wohnzimmer_luftfeuchtigkeit + - sensor.kuche_luftfeuchtigkeit + - sensor.bad_luftfeuchtigkeit + - sensor.buro_luftfeuchtigkeit + - sensor.charlotte_luftfeuchtigkeit + - sensor.greta_luftfeuchtigkeit + - sensor.empore_luftfeuchtigkeit + - sensor.flur_luftfeuchtigkeit + - sensor.schlafzimmer_luftfeuchtigkeit + - sensor.speisekammer_luftfeuchtigkeit + - sensor.gastebad_luftfeuchtigkeit + name: luftfeuchtigkeit_durchschnitt + type: mean + +# Nittelwert Temperatur Gesamt + - platform: min_max + entity_ids: + - sensor.wohnzimmer_temperatur + - sensor.kuche_temperatur + - sensor.bad_temperatur + - sensor.buro_temperatur + - sensor.charlotte_temperatur + - sensor.greta_temperatur + - sensor.empore_temperatur + - sensor.flur_temperatur + - sensor.schlafzimmer_temperatur + - sensor.speisekammer_temperatur + - sensor.gastebad_temperatur + name: temperatur_durchschnitt + type: mean + +# Mittelwert Luftfeuchtigkeit Wohnräume + - platform: min_max + entity_ids: + - sensor.wohnzimmer_luftfeuchtigkeit + - sensor.charlotte_luftfeuchtigkeit + - sensor.greta_luftfeuchtigkeit + - sensor.schlafzimmer_luftfeuchtigkeit + name: luftfeuchtigkeit_wohnraeume + type: mean + +# Mittelwert Temperatur Wohnräume + - platform: min_max + entity_ids: + - sensor.wohnzimmer_temperatur + - sensor.charlotte_temperatur + - sensor.greta_temperatur + - sensor.schlafzimmer_temperatur + name: temperatur_wohnraeume + type: mean + +#Discogs + - platform: discogs + name: Discogs + token: RRvvAbBgtIJAMCDlDDvYedERMUHBodSEISEZdkqY + monitored_conditions: + - collection + - wantlist + - random_record + diff --git a/customize.yaml b/customize.yaml new file mode 100644 index 0000000..e69de29 diff --git a/influxdb.yaml b/influxdb.yaml new file mode 100644 index 0000000..fc6cab9 --- /dev/null +++ b/influxdb.yaml @@ -0,0 +1,26 @@ +api_version: 2 +ssl: false +host: 192.168.178.183 +port: 9086 +token: JEjmoG1NqHJOB2kz72u189lw1SVdlL43 +organization: Häusle +bucket: Bucket +tags: + source: homeassistant +tags_attributes: + - friendly_name +default_measurement: state +max_retries: 3 +exclude: + domains: + - automation + - persistent_notification + - person + - zone +include: + domains: + - sensor + - binary_sensor + - light + - switch + - climate diff --git a/ip_bans.yaml b/ip_bans.yaml new file mode 100644 index 0000000..be99333 --- /dev/null +++ b/ip_bans.yaml @@ -0,0 +1,3 @@ + +5.56.187.48: + banned_at: '2025-02-13T11:32:36.647225+00:00' diff --git a/logger.yaml b/logger.yaml new file mode 100644 index 0000000..c006264 --- /dev/null +++ b/logger.yaml @@ -0,0 +1,9 @@ +# default: info +# logs: +# homeassistant.components.volkszaehler: debug +# netatmo: debug +# +# default: info +# logs: +# custom_components.xiaomi_home: debug +# xiaomi_home: debug # Fallback für Core-Integration diff --git a/prometheus.yaml b/prometheus.yaml new file mode 100644 index 0000000..6e581e4 --- /dev/null +++ b/prometheus.yaml @@ -0,0 +1,15 @@ +# Optional: Nur Sensoren exportieren +filter: +# include_domains: +# - sensor +# - binary_sensor +# exclude_entity_globs: +# - sensor.weather_* # Wetter-Sensoren ignorieren + exclude_entities: + - sensor.date_2 + - sensor.date_time + - sensor.time_2 + exclude_entity_globs: + - binary_sensor.ru* + - device_tracker* + - sensor.watchman* diff --git a/recorder.yaml b/recorder.yaml new file mode 100644 index 0000000..7d32a26 --- /dev/null +++ b/recorder.yaml @@ -0,0 +1,28 @@ +#--------------------------------------------- +####### Systemeinstellungen ####### +#--------------------------------------------- + +#db_url: mysql://homeassistant:dbpass@core-mariadb/homeassistant?charset=utf8mb4 +db_url: mysql://homeassistant:dbpass@192.168.178.170:3306/homeassistant?charset=utf8mb4 + +purge_keep_days: 720 +commit_interval: 60 +exclude: + entities: + - sensor.date_2 + - sensor.date_time + - sensor.time_2 + entity_globs: + - binary_sensor.ru* + - device_tracker* + - sensor.watchman* +include: + entities: + - device_tracker.gretas_iphone + - device_tracker.charlotte_estrellas_iphone_3 + - device_tracker.iphone + - device_tracker.sarahs_iphone + - device_tracker.ipad_2 + - device_tracker.svensipnepromax + - device_tracker.ipad_von_sven + - device_tracker.id_4_position \ No newline at end of file diff --git a/scenes.yaml b/scenes.yaml new file mode 100644 index 0000000..d41ff38 --- /dev/null +++ b/scenes.yaml @@ -0,0 +1,691 @@ +- id: '1702565347223' + name: Wohnzimmer Abend + entities: + light.lowboard_licht: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - 'off' + - colorloop + supported_color_modes: + - color_temp + - xy + effect: 'off' + color_mode: color_temp + brightness: 64 + color_temp_kelvin: 2277 + color_temp: 439 + hs_color: + - 29.532 + - 81.265 + rgb_color: + - 255 + - 150 + - 48 + xy_color: + - 0.57 + - 0.389 + off_with_transition: false + off_brightness: + friendly_name: Lowboard Licht + supported_features: 44 + state: 'on' + light.hochkommode_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 36 + color_temp_kelvin: 2202 + color_temp: 454 + hs_color: + - 29.79 + - 84.553 + rgb_color: + - 255 + - 146 + - 39 + xy_color: + - 0.579 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Hochkommode Licht + supported_features: 40 + state: 'on' + light.kamin_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 15 + color_temp_kelvin: 2202 + color_temp: 454 + hs_color: + - 29.79 + - 84.553 + rgb_color: + - 255 + - 146 + - 39 + xy_color: + - 0.579 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Kamin Licht + supported_features: 40 + state: 'on' + light.eckbank_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 18 + color_temp_kelvin: 2202 + color_temp: 454 + hs_color: + - 29.79 + - 84.553 + rgb_color: + - 255 + - 146 + - 39 + xy_color: + - 0.579 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Eckbank Licht + supported_features: 40 + state: 'on' + light.tischlampe_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: + brightness: + color_temp_kelvin: + color_temp: + hs_color: + rgb_color: + xy_color: + off_with_transition: false + off_brightness: 254 + friendly_name: Tischlampe Licht + supported_features: 40 + state: 'off' + light.treibholzlampe_leuchte: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 26 + color_temp_kelvin: 2283 + color_temp: 438 + hs_color: + - 29.512 + - 81.011 + rgb_color: + - 255 + - 150 + - 48 + xy_color: + - 0.57 + - 0.389 + off_with_transition: false + off_brightness: + friendly_name: Treibholzlampe Leuchte + supported_features: 40 + state: 'on' + icon: mdi:sofa-outline + metadata: {} +- id: '1703518319267' + name: Wohnzimmer Hell + entities: + light.lowboard_licht: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - 'off' + - colorloop + supported_color_modes: + - color_temp + - xy + effect: 'off' + color_mode: color_temp + brightness: 254 + color_temp_kelvin: 2688 + color_temp: 372 + hs_color: + - 28.421 + - 66.108 + rgb_color: + - 255 + - 166 + - 86 + xy_color: + - 0.527 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Lowboard Licht + supported_features: 44 + state: 'on' + light.eckbank_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 230 + color_temp_kelvin: 4000 + color_temp: 250 + hs_color: + - 26.812 + - 34.87 + rgb_color: + - 255 + - 206 + - 166 + xy_color: + - 0.42 + - 0.365 + off_with_transition: false + off_brightness: + friendly_name: Eckbank Licht + supported_features: 40 + state: 'on' + light.hochkommode_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 230 + color_temp_kelvin: 4000 + color_temp: 250 + hs_color: + - 26.812 + - 34.87 + rgb_color: + - 255 + - 206 + - 166 + xy_color: + - 0.42 + - 0.365 + off_with_transition: false + off_brightness: + friendly_name: Hochkommode Licht + supported_features: 40 + state: 'on' + light.tischlampe_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 254 + color_temp_kelvin: 2702 + color_temp: 370 + hs_color: + - 28.391 + - 65.659 + rgb_color: + - 255 + - 167 + - 88 + xy_color: + - 0.524 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Tischlampe Licht + supported_features: 40 + state: 'on' + light.kamin_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 230 + color_temp_kelvin: 4000 + color_temp: 250 + hs_color: + - 26.812 + - 34.87 + rgb_color: + - 255 + - 206 + - 166 + xy_color: + - 0.42 + - 0.365 + off_with_transition: false + off_brightness: + friendly_name: Kamin Licht + supported_features: 40 + state: 'on' + light.leselampe_licht: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 230 + color_temp_kelvin: 3355 + color_temp: 298 + hs_color: + - 27.329 + - 48.02 + rgb_color: + - 255 + - 188 + - 133 + xy_color: + - 0.465 + - 0.376 + off_with_transition: false + off_brightness: + friendly_name: Leselampe Licht + supported_features: 40 + state: 'on' + light.treibholzlampe_leuchte: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 254 + color_temp_kelvin: 2702 + color_temp: 370 + hs_color: + - 28.391 + - 65.659 + rgb_color: + - 255 + - 167 + - 88 + xy_color: + - 0.524 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Treibholzlampe Leuchte + supported_features: 40 + state: 'on' + icon: mdi:lightbulb-multiple + metadata: {} +- id: '1715510172516' + name: Markisen 20 Prozent + entities: + cover.maestria_io_links: + current_position: 19 + device_class: blind + friendly_name: Markise Links + supported_features: 15 + state: open + cover.maestria_io_mitte: + current_position: 20 + device_class: blind + friendly_name: Markise Mitte + supported_features: 15 + state: open + cover.maestria_io_rechts: + current_position: 20 + device_class: blind + friendly_name: Markise Rechts + supported_features: 15 + state: open + icon: mdi:roller-shade-closed + metadata: {} +- id: '1716225588897' + name: Markisen offen + entities: + cover.maestria_io_links: + current_position: 100 + device_class: blind + friendly_name: Markise Links + supported_features: 15 + state: open + cover.maestria_io_mitte: + current_position: 100 + device_class: blind + friendly_name: Markise Mitte + supported_features: 15 + state: open + cover.maestria_io_rechts: + current_position: 100 + device_class: blind + friendly_name: Markise Rechts + supported_features: 15 + state: open + icon: mdi:roller-shade + metadata: {} +- id: '1735332664389' + name: Wohnzimmer Fernsehen + entities: + light.lowboard_licht: + min_color_temp_kelvin: 2000 + max_color_temp_kelvin: 6535 + min_mireds: 153 + max_mireds: 500 + effect_list: + - 'off' + - colorloop + supported_color_modes: + - color_temp + - xy + effect: 'off' + color_mode: color_temp + brightness: 26 + color_temp_kelvin: 2277 + color_temp: 439 + hs_color: + - 29.532 + - 81.265 + rgb_color: + - 255 + - 150 + - 48 + xy_color: + - 0.57 + - 0.389 + off_with_transition: false + off_brightness: + friendly_name: Lowboard Licht + supported_features: 44 + state: 'on' + light.hochkommode_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 26 + color_temp_kelvin: 2202 + color_temp: 454 + hs_color: + - 29.79 + - 84.553 + rgb_color: + - 255 + - 146 + - 39 + xy_color: + - 0.579 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Hochkommode Licht + supported_features: 40 + state: 'on' + light.treibholzlampe_leuchte: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 13 + color_temp_kelvin: 2202 + color_temp: 454 + hs_color: + - 29.79 + - 84.553 + rgb_color: + - 255 + - 146 + - 39 + xy_color: + - 0.579 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Treibholzlampe Leuchte + supported_features: 40 + state: 'on' + light.kamin_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: + brightness: + color_temp_kelvin: + color_temp: + hs_color: + rgb_color: + xy_color: + off_with_transition: false + off_brightness: 15 + friendly_name: Kamin Licht + supported_features: 40 + state: 'off' + light.eckbank_licht_2: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: + brightness: + color_temp_kelvin: + color_temp: + hs_color: + rgb_color: + xy_color: + off_with_transition: false + off_brightness: 18 + friendly_name: Eckbank Licht + supported_features: 40 + state: 'off' + metadata: {} + icon: phu:apple-tv +- id: '1761152969386' + name: Greta Deckenlampe 1% + entities: + light.deckenlampe_greta_licht: + min_color_temp_kelvin: 2202 + max_color_temp_kelvin: 4000 + min_mireds: 250 + max_mireds: 454 + supported_color_modes: + - color_temp + color_mode: color_temp + brightness: 3 + color_temp_kelvin: 2202 + color_temp: 454 + hs_color: + - 29.79 + - 84.553 + rgb_color: + - 255 + - 146 + - 39 + xy_color: + - 0.579 + - 0.388 + off_with_transition: false + off_brightness: + friendly_name: Deckenlampe + supported_features: 40 + state: 'on' + metadata: {} +- id: '1763745376970' + name: Rollos schließen + entities: + cover.smart_roller_shutter_2303224120884470080248e1e9c1d0a6_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Bodentief Esstisch Shutter + supported_features: 15 + state: closed + cover.smart_roller_shutter_2303225934207570080248e1e9c1d829_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Lichtband Esstisch Shutter + supported_features: 15 + state: closed + cover.smart_roller_shutter_2303223271354370080248e1e9c1e29b_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Lichtband Garage + supported_features: 15 + state: closed + cover.smart_roller_shutter_2303220444283070080248e1e9c1d0c1_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Lichtband Garten + supported_features: 15 + state: closed + cover.smart_roller_shutter_2211016207868970080148e1e9aeb29d_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Bodentief Charlotte + supported_features: 15 + state: closed + cover.smart_roller_shutter_2211013029100770080248e1e9aed618_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Bodentief Greta + supported_features: 15 + state: closed + cover.smart_roller_shutter_2211013226379970080248e1e9aed63f_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Fenster Charlotte + supported_features: 15 + state: closed + cover.smart_roller_shutter_2211016056184270080248e1e9aeca39_shutter: + current_position: 0 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Fenster Greta + supported_features: 15 + state: closed + icon: mdi:window-shutter + metadata: {} +- id: '1763745445954' + name: Rollos öffnen + entities: + cover.smart_roller_shutter_2303224120884470080248e1e9c1d0a6_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Bodentief Esstisch Shutter + supported_features: 15 + state: open + cover.smart_roller_shutter_2303225934207570080248e1e9c1d829_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Lichtband Esstisch Shutter + supported_features: 15 + state: open + cover.smart_roller_shutter_2303223271354370080248e1e9c1e29b_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Lichtband Garage + supported_features: 15 + state: open + cover.smart_roller_shutter_2303220444283070080248e1e9c1d0c1_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Lichtband Garten + supported_features: 15 + state: open + cover.smart_roller_shutter_2211016207868970080148e1e9aeb29d_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Bodentief Charlotte + supported_features: 15 + state: open + cover.smart_roller_shutter_2211013029100770080248e1e9aed618_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Bodentief Greta + supported_features: 15 + state: open + cover.smart_roller_shutter_2211013226379970080248e1e9aed63f_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Fenster Charlotte + supported_features: 15 + state: open + cover.smart_roller_shutter_2211016056184270080248e1e9aeca39_shutter: + current_position: 100 + adjust_status: 0 + assumed_state: true + device_class: shutter + friendly_name: Fenster Greta + supported_features: 15 + state: open + icon: mdi:window-shutter-open + metadata: {} diff --git a/scripts.yaml b/scripts.yaml new file mode 100644 index 0000000..4611a64 --- /dev/null +++ b/scripts.yaml @@ -0,0 +1,323 @@ +luftbefeuchter_charlotte_stufe_1: + alias: Luftbefeuchter Charlotte Stufe 1 + sequence: + - service: shell_command.humidifier_charlotte_1 + data: {} + mode: single + icon: mdi:gauge-empty +luftbefeuchter_charlotte_stufe_4: + alias: Luftbefeuchter Charlotte Stufe 4 + sequence: + - service: shell_command.humidifier_charlotte_4 + data: {} + mode: single + icon: mdi:gauge +luftbefeuchter_greta_stufe_1: + alias: Luftbefeuchter Greta Aus + sequence: + - data: {} + action: shell_command.humidifier_greta_off + mode: single + icon: mdi:power-plug-off +luftbefeuchter_greta_stufe_4: + alias: Luftbefeuchter Greta Stufe 4 + sequence: + - service: shell_command.humidifier_greta_4 + data: {} + mode: single + icon: mdi:gauge +luftbefeuchter_schlafzimmer_stufe_1: + alias: Luftbefeuchter Schlafzimmer Stufe 1 + sequence: + - service: shell_command.humidifier_schlafzimmer_1 + data: {} + mode: single + icon: mdi:gauge-empty +luftbefeuchter_schlafzimmer_stufe_4: + alias: Luftbefeuchter Schlafzimmer Stufe 4 + sequence: + - service: shell_command.humidifier_schlafzimmer_4 + data: {} + mode: single + icon: mdi:gauge +luftbefeuchter_wohnzimmer_stufe_1: + alias: Luftbefeuchter Wohnzimmer Stufe 1 + sequence: + - service: shell_command.humidifier_wohnzimmer_1 + data: {} + response_variable: input_text.response + mode: single + icon: mdi:gauge-empty +luftbefeuchter_wohnzimmer_stufe_4: + alias: Luftbefeuchter Wohnzimmer Stufe 4 + sequence: + - service: shell_command.humidifier_wohnzimmer_4 + data: {} + mode: single + icon: mdi:gauge +luftbefeuchter_charlotte_aus: + alias: Luftbefeuchter Charlotte Aus + sequence: + - service: shell_command.humidifier_charlotte_off + data: {} + mode: single + icon: mdi:power-plug-off +luftbefeuchter_wohnzimmer_aus: + alias: Luftbefeuchter Wohnzimmer Aus + sequence: + - service: shell_command.humidifier_wohnzimmer_off + data: {} + mode: single + icon: mdi:power-plug-off +luftbefeuchter_schlafzimmer_aus: + alias: Luftbefeuchter Schlafzimmer Aus + sequence: + - service: shell_command.humidifier_schlafzimmer_off + data: {} + mode: single + icon: mdi:power-plug-off +luftbefeuchter_greta_stufe_1_2: + alias: Luftbefeuchter Greta Stufe 1 + sequence: + - service: shell_command.humidifier_greta_1 + data: {} + mode: single + icon: mdi:gauge-empty +rollo_kuche_hoch: + alias: Rollo Küche hoch + sequence: + - type: turn_off + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: f3a6152ff778cccd70091a9e681786af + domain: switch + - type: turn_on + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: 617075a30f62b2f7ce29f0127d4caffb + domain: switch + - delay: + hours: 0 + minutes: 0 + seconds: 13 + milliseconds: 0 + - type: turn_off + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: 617075a30f62b2f7ce29f0127d4caffb + domain: switch + - service: input_number.set_value + metadata: {} + data: + value: 100 + target: + entity_id: input_number.rollo_kuche_geoffnet + mode: single + icon: mdi:window-shutter-open +rollo_kuche_runter: + alias: Rollo Küche Runter + sequence: + - type: turn_off + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: 617075a30f62b2f7ce29f0127d4caffb + domain: switch + - type: turn_on + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: f3a6152ff778cccd70091a9e681786af + domain: switch + - delay: + hours: 0 + minutes: 0 + seconds: 13 + milliseconds: 0 + - type: turn_off + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: f3a6152ff778cccd70091a9e681786af + domain: switch + - service: input_number.set_value + metadata: {} + data: + value: 0 + target: + entity_id: input_number.rollo_kuche_geoffnet + mode: single + icon: mdi:window-shutter +ventilator_an: + alias: Ventilator an + sequence: + - service: remote.send_command + target: + device_id: a8a34235bf3ec0b52680443544c7ffd2 + data: + num_repeats: 1 + delay_secs: 0.4 + hold_secs: 0 + device: RM4Cmini + command: command_on + description: '' +ventilator_aus: + alias: Ventilator aus + sequence: + - service: remote.send_command + target: + device_id: a8a34235bf3ec0b52680443544c7ffd2 + data: + num_repeats: 1 + delay_secs: 0.4 + hold_secs: 0 + device: RM4Cmini + command: command_off + description: '' +rollo_kuche_teilweise_geschlossen: + alias: Rollo Küche Teilweise geschlossen + sequence: + - type: turn_off + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: 617075a30f62b2f7ce29f0127d4caffb + domain: switch + - type: turn_on + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: f3a6152ff778cccd70091a9e681786af + domain: switch + - delay: + hours: 0 + minutes: 0 + seconds: 6 + milliseconds: 0 + - type: turn_off + device_id: 7ef9bf7d8853c7912d8e8d795bffc6a1 + entity_id: f3a6152ff778cccd70091a9e681786af + domain: switch + - metadata: {} + data: + value: 0 + target: + entity_id: input_number.rollo_kuche_geoffnet + action: input_number.set_value + mode: single + icon: mdi:window-shutter + description: '' +heizung_alle_aus: + sequence: + - device_id: f21419b347aef9b17c6f31842e0fcb8f + domain: climate + entity_id: 0798ddd4213b38f136ec1b8edfb31912 + type: set_hvac_mode + hvac_mode: 'off' + - device_id: 68d4a113b3e948bfc7d4c0f07ecf49b5 + domain: climate + entity_id: 3a020e56fc83de00510c9108169ccb25 + type: set_hvac_mode + hvac_mode: 'off' + - device_id: 6ecac3aa91b9d6ac55ec19628cd8b130 + domain: climate + entity_id: f0b96dff6ca50161c0eaa071b382979d + type: set_hvac_mode + hvac_mode: 'off' + - device_id: 3586f7badaa012862d516d301bf3998c + domain: climate + entity_id: 4e2f833986966c7912b31985a4da31ad + type: set_hvac_mode + hvac_mode: 'off' + - device_id: 6fbdecb066e2f4ae2db01c95a29049ea + domain: climate + entity_id: 393db1c094b33e0848c1a99e8a968b6f + type: set_hvac_mode + hvac_mode: 'off' + - device_id: f886c43330b92ec02168dc21627663b1 + domain: climate + entity_id: ecce11d8892e6d548456e33e23baf6fd + type: set_hvac_mode + hvac_mode: 'off' + - device_id: caa8a288ab3196956333577c8e6b6333 + domain: climate + entity_id: 2c944542df5d7bca4ac49866d59211b1 + type: set_hvac_mode + hvac_mode: 'off' + - device_id: f3cd43fde0deba553249c7d14fd23686 + domain: climate + entity_id: bc3b2bd8377cb101ff82fcee48a7abb7 + type: set_hvac_mode + hvac_mode: 'off' + - device_id: e4843c5288c07998e803b37adedf4874 + domain: climate + entity_id: e337c6967e09ca32556890245b12baab + type: set_hvac_mode + hvac_mode: 'off' + - device_id: 80d169d5a9ff73c6db6207e50a8240dd + domain: climate + entity_id: 35579ba4330dcc9a327183b0ac8171fc + type: set_hvac_mode + hvac_mode: 'off' + - device_id: c1dc383e2bfdcf7504f18d3248788a8b + domain: climate + entity_id: 3d901a5adbde4de5089bc620c375add1 + type: set_hvac_mode + hvac_mode: 'off' + alias: 'Heizung: Alle aus' + description: '' +heizung_alle_ein: + sequence: + - device_id: f21419b347aef9b17c6f31842e0fcb8f + domain: climate + entity_id: 0798ddd4213b38f136ec1b8edfb31912 + type: set_hvac_mode + hvac_mode: auto + - device_id: 68d4a113b3e948bfc7d4c0f07ecf49b5 + domain: climate + entity_id: 3a020e56fc83de00510c9108169ccb25 + type: set_hvac_mode + hvac_mode: auto + - device_id: 6ecac3aa91b9d6ac55ec19628cd8b130 + domain: climate + entity_id: f0b96dff6ca50161c0eaa071b382979d + type: set_hvac_mode + hvac_mode: auto + - device_id: 3586f7badaa012862d516d301bf3998c + domain: climate + entity_id: 4e2f833986966c7912b31985a4da31ad + type: set_hvac_mode + hvac_mode: auto + - device_id: 6fbdecb066e2f4ae2db01c95a29049ea + domain: climate + entity_id: 393db1c094b33e0848c1a99e8a968b6f + type: set_hvac_mode + hvac_mode: auto + - device_id: f886c43330b92ec02168dc21627663b1 + domain: climate + entity_id: ecce11d8892e6d548456e33e23baf6fd + type: set_hvac_mode + hvac_mode: auto + - device_id: caa8a288ab3196956333577c8e6b6333 + domain: climate + entity_id: 2c944542df5d7bca4ac49866d59211b1 + type: set_hvac_mode + hvac_mode: auto + - device_id: f3cd43fde0deba553249c7d14fd23686 + domain: climate + entity_id: bc3b2bd8377cb101ff82fcee48a7abb7 + type: set_hvac_mode + hvac_mode: auto + - device_id: e4843c5288c07998e803b37adedf4874 + domain: climate + entity_id: e337c6967e09ca32556890245b12baab + type: set_hvac_mode + hvac_mode: auto + - device_id: 80d169d5a9ff73c6db6207e50a8240dd + domain: climate + entity_id: 35579ba4330dcc9a327183b0ac8171fc + type: set_hvac_mode + hvac_mode: auto + - device_id: c1dc383e2bfdcf7504f18d3248788a8b + domain: climate + entity_id: 3d901a5adbde4de5089bc620c375add1 + type: set_hvac_mode + hvac_mode: auto + alias: 'Heizung: Alle ein' + description: '' +skript_markisen_20_prozent: + sequence: + - action: scene.turn_on + metadata: {} + data: {} + target: + entity_id: scene.neue_szene_2 + alias: Skript Markisen 20 Prozent + description: '' diff --git a/secrets.yaml b/secrets.yaml new file mode 100644 index 0000000..6424554 --- /dev/null +++ b/secrets.yaml @@ -0,0 +1,6 @@ + +# Use this file to store secrets like usernames and passwords. +# Learn more at https://www.home-assistant.io/docs/configuration/secrets/ +some_password: welcome + +#mariadb_url: mysql://homeassistant@datenbank/homeassistant?charset=utf8mb4