diff --git a/automations.yaml b/automations.yaml index 6d6f99b..248fdfd 100644 --- a/automations.yaml +++ b/automations.yaml @@ -70,8 +70,9 @@ action: light.turn_off mode: single - id: '1623673821789' - alias: Gute Nacht! - description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet. + alias: Schlafen gehen + description: Schalte alles (außer Schlafzimmer) aus und schließ die Wohnungstür, + sobald das Schlaftracking startet. triggers: - trigger: state entity_id: @@ -95,6 +96,11 @@ device_id: 6d1be741876624a70ab5b01b54c6fd6f entity_id: switch.kuche_musik domain: switch + - action: lock.lock + metadata: {} + target: + entity_id: lock.flur_wohnungstur + data: {} - data: message: Gute Nacht! action: notify.mobile_app_le2123 @@ -251,7 +257,7 @@ action: tts.speak mode: single - id: '1623954512941' - alias: Licht im Schlafzimmer zum Aufwachen einschalten + alias: Aufwachen description: Nach der Alarmquittierung triggers: - trigger: state @@ -273,6 +279,11 @@ device_id: 68868390eda35e969ec60a13020f2407 data: {} action: light.turn_on + - action: lock.unlock + metadata: {} + target: + entity_id: lock.flur_wohnungstur + data: {} mode: single - id: '1624820688449' alias: 'Anruf: Beim Klingeln grün blinken' @@ -439,7 +450,7 @@ action: light.turn_on mode: single - id: '1630914505161' - alias: Beim Verlassen der Wohnung alles abschalten + alias: Wohnung verlassen description: '' triggers: - entity_id: person.marcus_scholz @@ -475,6 +486,11 @@ device_id: - 231cd7ec37e32690faf126105b03ee02 - a6d24e7d93c114723bf525e9eac1c2df + - action: lock.lock + metadata: {} + target: + entity_id: lock.flur_wohnungstur + data: {} - type: turn_off device_id: c4ead7f6227e2ee4c43c4b0df829cd84 entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0 @@ -1438,22 +1454,40 @@ device_id: 6d1be741876624a70ab5b01b54c6fd6f entity_id: 621e4377a089b7f5d92c7c9f2cc171a1 domain: switch - - id: epaper_daily_demotivational_quote alias: Epaper tägliches Demotivationszitat description: Wählt täglich ein festes Zitat aus der lokalen Zitatbibliothek aus. triggers: - - trigger: homeassistant - event: start - - trigger: time - at: "00:00:00" + - trigger: homeassistant + event: start + - trigger: time + at: 00:00:00 conditions: [] actions: - - action: input_select.select_option - target: - entity_id: input_select.epaper_demotivationszitat - data: - option: >- - {% set quotes = state_attr('input_select.epaper_demotivationszitat', 'options') %} - {{ quotes[(now().strftime('%j') | int - 1) % (quotes | count)] }} + - action: input_select.select_option + target: + entity_id: input_select.epaper_demotivationszitat + data: + option: '{% set quotes = state_attr(''input_select.epaper_demotivationszitat'', + ''options'') %} {{ quotes[(now().strftime(''%j'') | int - 1) % (quotes | count)] + }}' + mode: single +- id: '1785863986502' + alias: SmartMirror neu laden + description: '' + triggers: + - trigger: time + at: 00:00:10 + conditions: [] + actions: + - action: button.press + metadata: {} + target: + entity_id: button.touchkio_smartmirror_refresh + data: {} + - action: button.press + metadata: {} + target: + entity_id: button.touchkio_raspberrypi_refresh + data: {} mode: single