Added Sleepingroom (clock) automations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user