This commit is contained in:
Bastian Schnorbus
2025-11-29 09:39:20 +01:00
parent 82ea6c89e7
commit 979cd0a958
2 changed files with 76 additions and 44 deletions

View File

@@ -51,28 +51,28 @@
- id: ZwaveTemperatureToHomematicTimed - id: ZwaveTemperatureToHomematicTimed
alias: 'Timed: Provide Humidity Aussen to Homematic' alias: 'Timed: Provide Humidity Aussen to Homematic'
description: '' description: ''
trigger: triggers:
- platform: time_pattern - minutes: /5
minutes: /5 trigger: time_pattern
action: actions:
- service: homematic.set_variable_value - data_template:
data_template:
entity_id: homematic.ccu2 entity_id: homematic.ccu2
name: AussenTemp name: AussenTemp
value: '{{ states.sensor[''0x14b457fffe0bde4c_temperature''].state }}' value: '{{ states.sensor[''4in1sensoroutside_temperature''].state }}'
action: homematic.set_variable_value
initial_state: true initial_state: true
- id: ZwaveHumidityToHomematicTimed - id: ZwaveHumidityToHomematicTimed
alias: 'Timed: Provide Temp Aussen to Homematic' alias: 'Timed: Provide Temp Aussen to Homematic'
description: '' description: ''
trigger: triggers:
- platform: time_pattern - minutes: /5
minutes: /5 trigger: time_pattern
action: actions:
- service: homematic.set_variable_value - data_template:
data_template:
entity_id: homematic.ccu2 entity_id: homematic.ccu2
name: ZWHumidity name: ZWHumidity
value: '{{ states.sensor[''0x14b457fffe0bde4c_humidity''].state }}' value: '{{ states.sensor[''4in1sensoroutside_temperature''].state }}'
action: homematic.set_variable_value
initial_state: true initial_state: true
- id: standlamp_on - id: standlamp_on
alias: Stehlampe ein Abends alias: Stehlampe ein Abends
@@ -286,27 +286,6 @@
- data: - data:
entity_id: group.all_covers entity_id: group.all_covers
service: cover.open_cover 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' - id: '1582149264429'
alias: 'Aus: Lichter beim Verlassen morgens' alias: 'Aus: Lichter beim Verlassen morgens'
description: '' description: ''
@@ -320,6 +299,13 @@
conditions: conditions:
- condition: time - condition: time
before: '9:00' 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: actions:
- device_id: e872770fe15a488c9f5a5604b1ada0eb - device_id: e872770fe15a488c9f5a5604b1ada0eb
domain: light domain: light
@@ -1055,9 +1041,8 @@
trigger: time trigger: time
- trigger: numeric_state - trigger: numeric_state
entity_id: entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux - sensor.4in1sensoroutside_illuminance
attribute: illuminance_lux below: 50
below: 200
conditions: conditions:
- condition: state - condition: state
entity_id: input_boolean.baby_bed entity_id: input_boolean.baby_bed
@@ -1433,7 +1418,7 @@
entity_id: cover.00115a498e0439 entity_id: cover.00115a498e0439
mode: single mode: single
- id: '1746267440046' - id: '1746267440046'
alias: 'Anwesenheit: Alles aus wenn niemand zuhaus''' alias: 'Abwesenheit: Alles aus wenn niemand zuhaus'''
description: '' description: ''
triggers: triggers:
- trigger: state - trigger: state
@@ -1456,9 +1441,12 @@
data: {} data: {}
target: target:
entity_id: switch.tv_studio entity_id: switch.tv_studio
area_id: 1d171e588f714f2f8bd7f2abdeb22a85
- action: light.turn_off - action: light.turn_off
target: target:
area_id: 1d171e588f714f2f8bd7f2abdeb22a85 area_id:
- 1d171e588f714f2f8bd7f2abdeb22a85
- kinderzimmer
data: data:
transition: 5 transition: 5
mode: single mode: single
@@ -1681,7 +1669,7 @@
conditions: conditions:
- condition: numeric_state - condition: numeric_state
entity_id: sensor.4in1sensoroutside_illuminance entity_id: sensor.4in1sensoroutside_illuminance
below: 200 below: 50
actions: actions:
- choose: - choose:
- conditions: - conditions:
@@ -1724,3 +1712,50 @@
- light.stehlampestudio - light.stehlampestudio
- light.stimmungslichtstudio - light.stimmungslichtstudio
mode: restart 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

View File

@@ -140,9 +140,6 @@ cover.bedroom_cover:
friendly_name: Schlafzimmer rechts friendly_name: Schlafzimmer rechts
cover.children_cover: cover.children_cover:
friendly_name: Kinderzimmer friendly_name: Kinderzimmer
switch.smartplug3:
friendly_name: Weihnachtsstern
icon: mdi:star
light.wzstehlampe: light.wzstehlampe:
friendly_name: Stehlampe friendly_name: Stehlampe
icon: mdi:floor-lamp icon: mdi:floor-lamp