From 196ade4c3ac5cc303c51497f5c1a3319fe5e36f4 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Mon, 5 Oct 2026 07:02:07 +0200 Subject: [PATCH] Added Sleepingroom (clock) automations --- automations.yaml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/automations.yaml b/automations.yaml index 3287a2b..cb36b57 100644 --- a/automations.yaml +++ b/automations.yaml @@ -107,6 +107,11 @@ - 27 - 36 brightness_pct: 5 + - action: button.press + metadata: {} + target: + entity_id: button.schlafzimmeruhr_clear_digit_colors + data: {} - action: select.select_option metadata: {} target: @@ -248,6 +253,21 @@ device_id: ddf95b1e837e69c677460491a2600cd4 data: {} action: light.turn_on + - action: select.select_option + metadata: {} + target: + entity_id: select.schlafzimmeruhr_effect + data: + option: None + - action: esphome.sleepingroom_clock_set_gradient + data: + red1: 255 + green1: 40 + blue1: 0 + red2: 60 + green2: 0 + blue2: 120 + angle: 0 - data: cache: true media_player_entity_id: media_player.home_assistant_voice_0a7c6b_media_player @@ -1527,3 +1547,37 @@ entity_id: button.touchkio_raspberrypi_refresh data: {} mode: single +- id: '1791126911003' + alias: 'Schlafzimmeruhr: Außentemperatur anzeigen' + description: '' + triggers: + - trigger: state + entity_id: + - binary_sensor.schlafzimmeruhr_button_2 + to: + - 'on' + conditions: [] + actions: + - action: esphome.sleepingroom_clock_show_number + data: + value: '{{ states(''sensor.aussentemperatur'') | round(0) | int }}' + unit: C + duration: 10000 + mode: single +- id: '1791127515667' + alias: 'Schlafzimmeruhr: Sekunden anzeigen' + description: '' + triggers: + - trigger: state + entity_id: + - binary_sensor.schlafzimmeruhr_button_1 + to: + - 'on' + conditions: [] + actions: + - action: button.press + metadata: {} + target: + entity_id: button.schlafzimmeruhr_show_seconds + data: {} + mode: single