add automation corridor lights
This commit is contained in:
parent
80b8b3c152
commit
d5e261f752
|
|
@ -0,0 +1,17 @@
|
|||
# https://www.home-assistant.io/docs/automation/trigger/#event-trigger
|
||||
description: Flurlicht zum Stall automatisch ausschalten
|
||||
alias: Flurlicht Stall ausschalten
|
||||
id: efc3999b-f562-48d1-8bf7-add9332f94a6
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: switch.double_switch_node6_2
|
||||
to: "on"
|
||||
for: "00:06:00"
|
||||
action:
|
||||
- service: notify.dev_telegram
|
||||
data:
|
||||
message: Flurlicht zum Stall wird automatisch ausgeschaltet
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.licht_flur_zum_stall
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
# https://www.home-assistant.io/integrations/light.group/
|
||||
#
|
||||
# switch als Licht einbinden, so dass eine Grupperung als light möglich ist
|
||||
# https://community.home-assistant.io/t/light-groups-making-me-crazy/180978/6
|
||||
platform: switch
|
||||
name: Licht Flur zum Stall
|
||||
entity_id: switch.double_switch_node6_2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue