From 979cd0a9583789aa151efd2d413f3215c6373b67 Mon Sep 17 00:00:00 2001 From: Bastian Schnorbus Date: Sat, 29 Nov 2025 09:39:20 +0100 Subject: [PATCH] update --- automations.yaml | 117 ++++++++++++++++++++++++++++++----------------- customize.yaml | 3 -- 2 files changed, 76 insertions(+), 44 deletions(-) diff --git a/automations.yaml b/automations.yaml index 81dc8c2..aad4265 100644 --- a/automations.yaml +++ b/automations.yaml @@ -51,28 +51,28 @@ - id: ZwaveTemperatureToHomematicTimed alias: 'Timed: Provide Humidity Aussen to Homematic' description: '' - trigger: - - platform: time_pattern - minutes: /5 - action: - - service: homematic.set_variable_value - data_template: + triggers: + - minutes: /5 + trigger: time_pattern + actions: + - data_template: entity_id: homematic.ccu2 name: AussenTemp - value: '{{ states.sensor[''0x14b457fffe0bde4c_temperature''].state }}' + value: '{{ states.sensor[''4in1sensoroutside_temperature''].state }}' + action: homematic.set_variable_value initial_state: true - id: ZwaveHumidityToHomematicTimed alias: 'Timed: Provide Temp Aussen to Homematic' description: '' - trigger: - - platform: time_pattern - minutes: /5 - action: - - service: homematic.set_variable_value - data_template: + triggers: + - minutes: /5 + trigger: time_pattern + actions: + - data_template: entity_id: homematic.ccu2 name: ZWHumidity - value: '{{ states.sensor[''0x14b457fffe0bde4c_humidity''].state }}' + value: '{{ states.sensor[''4in1sensoroutside_temperature''].state }}' + action: homematic.set_variable_value initial_state: true - id: standlamp_on alias: Stehlampe ein Abends @@ -286,27 +286,6 @@ - data: entity_id: group.all_covers service: cover.open_cover -- id: '1576823503380' - alias: Rollo runter Sonnenuntergang - description: '' - trigger: - - event: sunset - offset: +0:05 - platform: sun - condition: - - condition: state - entity_id: input_boolean.baby_bed - state: 'off' - action: - - data: - position: 20 - service: cover.set_cover_position - target: - entity_id: - - cover.bedroom_cover_l - - cover.bedroom_cover_r - - cover.00115a498e0439 - mode: single - id: '1582149264429' alias: 'Aus: Lichter beim Verlassen morgens' description: '' @@ -320,6 +299,13 @@ conditions: - condition: time before: '9:00' + - condition: state + entity_id: binary_sensor.presence_sensor_fp2_8a77_presence_sensor_1 + state: 'off' + for: + hours: 0 + minutes: 2 + seconds: 0 actions: - device_id: e872770fe15a488c9f5a5604b1ada0eb domain: light @@ -1055,9 +1041,8 @@ trigger: time - trigger: numeric_state entity_id: - - sensor.0x14b457fffe0bde4c_illuminance_lux - attribute: illuminance_lux - below: 200 + - sensor.4in1sensoroutside_illuminance + below: 50 conditions: - condition: state entity_id: input_boolean.baby_bed @@ -1433,7 +1418,7 @@ entity_id: cover.00115a498e0439 mode: single - id: '1746267440046' - alias: 'Anwesenheit: Alles aus wenn niemand zuhaus''' + alias: 'Abwesenheit: Alles aus wenn niemand zuhaus''' description: '' triggers: - trigger: state @@ -1456,9 +1441,12 @@ data: {} target: entity_id: switch.tv_studio + area_id: 1d171e588f714f2f8bd7f2abdeb22a85 - action: light.turn_off target: - area_id: 1d171e588f714f2f8bd7f2abdeb22a85 + area_id: + - 1d171e588f714f2f8bd7f2abdeb22a85 + - kinderzimmer data: transition: 5 mode: single @@ -1681,7 +1669,7 @@ conditions: - condition: numeric_state entity_id: sensor.4in1sensoroutside_illuminance - below: 200 + below: 50 actions: - choose: - conditions: @@ -1724,3 +1712,50 @@ - light.stehlampestudio - light.stimmungslichtstudio mode: restart +- id: '1761024400358' + alias: 'Anwesenheit: Wz Stehlampe' + description: '' + triggers: + - trigger: state + entity_id: + - binary_sensor.presence_sensor_fp2_8a77_presence_sensor_1 + conditions: + - condition: state + entity_id: switch.neq1809644 + state: 'off' + - condition: numeric_state + entity_id: sensor.4in1sensoroutside_illuminance + below: 50 + actions: + - if: + - condition: state + entity_id: binary_sensor.presence_sensor_fp2_8a77_presence_sensor_1 + state: 'on' + then: + - action: light.turn_on + metadata: {} + data: {} + target: + entity_id: light.wzstehlampe + else: + - action: light.turn_off + metadata: {} + data: {} + target: + entity_id: light.wzstehlampe + mode: single +- id: '1763406225373' + alias: 'Test: Determine Automation or manual' + description: '' + triggers: + - trigger: time_pattern + hours: '*' + minutes: /1 + conditions: [] + actions: + - action: light.toggle + metadata: {} + data: {} + target: + entity_id: light.stehlampestudio + mode: single diff --git a/customize.yaml b/customize.yaml index 73d9c0c..af07a6d 100755 --- a/customize.yaml +++ b/customize.yaml @@ -140,9 +140,6 @@ cover.bedroom_cover: friendly_name: Schlafzimmer rechts cover.children_cover: friendly_name: Kinderzimmer -switch.smartplug3: - friendly_name: Weihnachtsstern - icon: mdi:star light.wzstehlampe: friendly_name: Stehlampe icon: mdi:floor-lamp