This commit is contained in:
Bastian Schnorbus
2025-07-09 18:29:23 +02:00
parent 06f8ce2587
commit fcda3db410
3 changed files with 143 additions and 37 deletions

View File

@@ -250,16 +250,17 @@
message: Watch out! Update for Home Assistant is available. message: Watch out! Update for Home Assistant is available.
- id: '1550446484812' - id: '1550446484812'
alias: 'Morgens: Lichter ein' alias: 'Morgens: Lichter ein'
trigger: triggers:
- hours: '4' - hours: '4'
minutes: '45' minutes: '45'
platform: time_pattern trigger: time_pattern
condition: [] conditions: []
action: actions:
- device_id: 528e131b5e274f58bb37a9d102283acb - action: light.turn_on
domain: light metadata: {}
entity_id: light.klampekuehlschrank data: {}
type: turn_on target:
entity_id: light.klampekuehlschrank_2
- id: '1566136553211' - id: '1566136553211'
alias: sonos_nachtmodus alias: sonos_nachtmodus
trigger: trigger:
@@ -1191,32 +1192,6 @@
entity_id: switch.steckdosestaubsauger entity_id: switch.steckdosestaubsauger
data: {} data: {}
mode: single mode: single
- id: '1720361062467'
alias: Staubsauger aufladen beenden
description: ''
triggers:
- type: power
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: 0787189732ed6dda5e4a284573275121
domain: sensor
trigger: device
below: 1
for:
hours: 0
minutes: 3
seconds: 0
conditions:
- condition: device
type: is_on
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: a47844873a186b57bb2e5392b4c7dbde
domain: switch
actions:
- data: {}
action: switch.turn_off
target:
entity_id: switch.steckdosestaubsauger
mode: single
- id: '1720388603797' - id: '1720388603797'
alias: 'Notification Waterleak: Keller' alias: 'Notification Waterleak: Keller'
description: '' description: ''
@@ -1530,3 +1505,92 @@
data: data:
transition: 5 transition: 5
mode: single mode: single
- id: '1749903651302'
alias: Staubsauger aufladen beenden wenn fertig
description: ''
triggers:
- type: power
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: 0787189732ed6dda5e4a284573275121
domain: sensor
trigger: device
below: 1
conditions:
- condition: device
type: is_on
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: a47844873a186b57bb2e5392b4c7dbde
domain: switch
actions:
- type: turn_off
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: a47844873a186b57bb2e5392b4c7dbde
domain: switch
mode: single
- id: '1750266193868'
alias: Rollo relativ bis dunkel
description: ''
triggers:
- trigger: time_pattern
minutes: /5
conditions:
- condition: time
after: '14:30:00'
before: '17:30:00'
- condition: numeric_state
entity_id: sensor.motionschlafzimmer_illuminance
above: 100
- condition: numeric_state
entity_id: sensor.hv_og_szi_001_temperatur
above: 20
- condition: numeric_state
entity_id: cover.bedroom_cover_l
attribute: current_position
above: 20
- condition: numeric_state
entity_id: sensor.daily_forecast
attribute: temperature
above: 21
actions:
- action: cover.set_cover_position
metadata: {}
data:
position: '{{ state_attr(''cover.bedroom_cover_r'',''current_position'') |int
-10 | int }}'
target:
entity_id: cover.bedroom_cover_r
- action: cover.set_cover_position
metadata: {}
data:
position: '{{ state_attr(''cover.bedroom_cover_l'',''current_position'') |int
-10 | int }}'
target:
entity_id: cover.bedroom_cover_l
mode: single
- id: '1751406407819'
alias: Rollo - Runter um morgens abzudunkeln
description: ''
triggers:
- trigger: sun
event: sunrise
offset: -00:20:00
conditions:
- condition: numeric_state
entity_id: cover.bedroom_cover_l
attribute: current_position
above: 15
actions:
- action: cover.close_cover
metadata: {}
data: {}
target:
entity_id:
- cover.bedroom_cover_l
- cover.bedroom_cover_r
- action: cover.set_cover_position
metadata: {}
data:
position: 15
target:
entity_id: cover.00115a498e0439
mode: single

View File

@@ -190,13 +190,13 @@ influxdb:
template: template:
- trigger: - trigger:
- platform: state - platform: state
entity_id: binary_sensor.0x00158d0007e21f31_occupancy entity_id: binary_sensor.motionwohnzimmer_occupancy
from: "off" from: "off"
to: "on" to: "on"
binary_sensor: binary_sensor:
name: bewegung_studio_occupancy_delayed_off name: bewegung_wohnzimmer_occupancy_delayed
state: 'on' state: 'on'
auto_off: '00:20:00' auto_off: '01:30:00'
- trigger: - trigger:
- platform: time_pattern - platform: time_pattern
@@ -289,6 +289,12 @@ mqtt:
state_topic: "shellies/shellyht-F939CE/sensor/battery" state_topic: "shellies/shellyht-F939CE/sensor/battery"
unit_of_measurement: "%" unit_of_measurement: "%"
cover: cover:
- name: studio_shades
command_topic: "esp32/output"
payload_available: true
payload_open: "up"
payload_close: "down"
payload_stop: "stop"
- name: bedroom_cover_r - name: bedroom_cover_r
command_topic: "shellies/shellyswitch25-76D19E/roller/0/command" command_topic: "shellies/shellyswitch25-76D19E/roller/0/command"
position_topic: "shellies/shellyswitch25-76D19E/roller/0/pos" position_topic: "shellies/shellyswitch25-76D19E/roller/0/pos"

View File

@@ -375,3 +375,39 @@
entity_only: true entity_only: true
switch.tv_studio: switch.tv_studio:
entity_only: true entity_only: true
- id: '1750265499247'
name: Lüften Schlafzimmer Spalt
entities:
cover.bedroom_cover_l:
current_position: 4
friendly_name: Schlafzimmer (links)
supported_features: 15
state: open
cover.bedroom_cover_r:
current_position: 11
friendly_name: Schlafzimmer (rechts)
supported_features: 15
state: open
metadata:
cover.bedroom_cover_l:
entity_only: true
cover.bedroom_cover_r:
entity_only: true
- id: '1750265631415'
name: Lüften Schlafzimmer Nacht
entities:
cover.bedroom_cover_l:
current_position: 17
friendly_name: Schlafzimmer (links)
supported_features: 15
state: open
cover.bedroom_cover_r:
current_position: 13
friendly_name: Schlafzimmer (rechts)
supported_features: 15
state: open
metadata:
cover.bedroom_cover_l:
entity_only: true
cover.bedroom_cover_r:
entity_only: true