Added IKEA Zigbee button blueprint/automation, changed automations for xmas.
This commit is contained in:
195
automations.yaml
195
automations.yaml
@@ -51,9 +51,17 @@
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- kuche
|
||||
- wohnzimmer
|
||||
- schlafzimmer
|
||||
device_id:
|
||||
- 53a27edf581fcf40f3bc8b253b1ee369
|
||||
- 4e8211f6c1ad515c79d7a26f3d7c9a27
|
||||
- c64e7c3dcda7f1c23e456959f2c60f39
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
- 98a9eef603f8c8ae6200c4834a3dbf4f
|
||||
- 32d15eec63fe68d5770813d47da53657
|
||||
- 9f42805af5b7e423023595390342b9ac
|
||||
- 063e41329df7b29bbaa8df2f508ee6cb
|
||||
data:
|
||||
transition: 2
|
||||
mode: single
|
||||
@@ -98,6 +106,10 @@
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
|
||||
- type: turn_off
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
area_id:
|
||||
@@ -258,7 +270,9 @@
|
||||
- service: light.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.awtrix_b8658c_indicator_1
|
||||
entity_id:
|
||||
- light.awtrix_desk_indicator_1
|
||||
- light.awtrix_kitchen_indicator_1
|
||||
mode: single
|
||||
- id: '1625481640348'
|
||||
alias: 'Anruf: Beim Telefonieren Musik pausieren'
|
||||
@@ -346,7 +360,9 @@
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.awtrix_b8658c_matrix
|
||||
entity_id:
|
||||
- light.awtrix_desk_matrix
|
||||
- light.awtrix_kitchen_matrix
|
||||
mode: single
|
||||
- id: '1630914505161'
|
||||
alias: Beim Verlassen der Wohnung alles abschalten
|
||||
@@ -365,6 +381,7 @@
|
||||
- schlafzimmer
|
||||
- kuche
|
||||
- kinderzimmer
|
||||
data: {}
|
||||
- type: turn_off
|
||||
device_id: 6d1be741876624a70ab5b01b54c6fd6f
|
||||
entity_id: switch.kuche_musik
|
||||
@@ -373,11 +390,16 @@
|
||||
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
|
||||
entity_id: switch.flur_raumduft
|
||||
domain: switch
|
||||
- type: turn_off
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- schlafzimmer
|
||||
- wohnzimmer
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1632477389492'
|
||||
alias: Licht beim Heimkommen einschalten
|
||||
@@ -405,6 +427,10 @@
|
||||
- 32d15eec63fe68d5770813d47da53657
|
||||
- 53a27edf581fcf40f3bc8b253b1ee369
|
||||
data: {}
|
||||
- type: turn_on
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1648485179021'
|
||||
alias: Schalte den Fernseher mit WoL ein
|
||||
@@ -415,66 +441,6 @@
|
||||
- service: wake_on_lan.send_magic_packet
|
||||
data:
|
||||
mac: a8:23:fe:5d:4c:f8
|
||||
- id: '1670088470265'
|
||||
alias: Licht beim Heimkommen einschalten (XMas)
|
||||
description: Nur während Dunkelphase
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: person.marcus_scholz
|
||||
to: home
|
||||
from: not_home
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: sun
|
||||
before: sunrise
|
||||
before_offset: '+1'
|
||||
- condition: sun
|
||||
after_offset: '-1'
|
||||
after: sunset
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
device_id:
|
||||
- 32d15eec63fe68d5770813d47da53657
|
||||
- 53a27edf581fcf40f3bc8b253b1ee369
|
||||
- 1ee1168af484d17fe81b226ac1c5d2ae
|
||||
- c64e7c3dcda7f1c23e456959f2c60f39
|
||||
data: {}
|
||||
- device_id: c64e7c3dcda7f1c23e456959f2c60f39
|
||||
domain: select
|
||||
entity_id: select.kuche_preset
|
||||
type: select_option
|
||||
option: X-Mas
|
||||
mode: single
|
||||
- id: '1670088606575'
|
||||
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
||||
description: Nur wenn jemand zuhause ist
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: '-1:00'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
state: home
|
||||
action:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
device_id:
|
||||
- c64e7c3dcda7f1c23e456959f2c60f39
|
||||
- 1ee1168af484d17fe81b226ac1c5d2ae
|
||||
- type: turn_on
|
||||
device_id: c64e7c3dcda7f1c23e456959f2c60f39
|
||||
entity_id: light.kuche
|
||||
domain: light
|
||||
- device_id: c64e7c3dcda7f1c23e456959f2c60f39
|
||||
domain: select
|
||||
entity_id: select.kuche_preset
|
||||
type: select_option
|
||||
option: X-Mas
|
||||
mode: single
|
||||
- id: '1675778284738'
|
||||
alias: Stündliche Zeitansage
|
||||
description: ''
|
||||
@@ -508,7 +474,11 @@
|
||||
enabled: true
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: awtrix_b8658c/notify
|
||||
topic: awtrix_desk/notify
|
||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: awtrix_kitchen/notify
|
||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||
variables:
|
||||
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
||||
@@ -742,3 +712,98 @@
|
||||
- Fireworks
|
||||
- BrickBreaker
|
||||
- Radar
|
||||
- id: '1699969052661'
|
||||
alias: 'Awtrix: Matrix einschalten'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: person.marcus_scholz
|
||||
to: home
|
||||
from: not_home
|
||||
condition: []
|
||||
action:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.awtrix_desk_matrix
|
||||
- light.awtrix_kitchen_matrix
|
||||
mode: single
|
||||
- id: '1700482951854'
|
||||
alias: Licht bei Sonnenuntergang einschalten (XMas)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: '-1:00'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
state: home
|
||||
action:
|
||||
- service: script.moodlight_xmas
|
||||
data: {}
|
||||
- type: turn_on
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1700483035319'
|
||||
alias: Licht bei Sonnenaufgang ausschalten (XMas)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
offset: '+1:00'
|
||||
condition: []
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
area_id:
|
||||
- schlafzimmer
|
||||
device_id:
|
||||
- 53a27edf581fcf40f3bc8b253b1ee369
|
||||
- 4e8211f6c1ad515c79d7a26f3d7c9a27
|
||||
- c64e7c3dcda7f1c23e456959f2c60f39
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
- 98a9eef603f8c8ae6200c4834a3dbf4f
|
||||
- 32d15eec63fe68d5770813d47da53657
|
||||
- 9f42805af5b7e423023595390342b9ac
|
||||
- 063e41329df7b29bbaa8df2f508ee6cb
|
||||
data:
|
||||
transition: 2
|
||||
- type: turn_off
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1701774106609'
|
||||
alias: Wohnzimmer STYRBAR Moodlight Remote control
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: EPMatt/ikea_e2001_e2002.yaml
|
||||
input:
|
||||
integration: ZHA
|
||||
controller_device: f3b032ad1f3ccc658a7d4588cc0e5c0c
|
||||
helper_last_controller_event: input_text.styrbar_wohnzimmer_moodlight_letztes_event
|
||||
action_button_up_short:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
action_button_down_short:
|
||||
- service: light.turn_off
|
||||
data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
action_button_left_short:
|
||||
- service: script.wled_random_effect
|
||||
data: {}
|
||||
action_button_right_short:
|
||||
- service: script.wled_random_palette
|
||||
data: {}
|
||||
|
Reference in New Issue
Block a user