mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 18:28:43 +00:00
Bed LED scripts
This commit is contained in:
@@ -37,12 +37,11 @@ automation:
|
||||
data_template:
|
||||
entity_id: light.master_bedroom
|
||||
brightness_pct: >-
|
||||
|
||||
{% if not is_state('input_select.house_mode', 'day') %}
|
||||
40
|
||||
{% else %}
|
||||
100
|
||||
{% endif %}
|
||||
{% if not is_state('input_select.house_mode', 'day') %} 40 {% else %} 100 {% endif %}
|
||||
- service: script.bed_led_on
|
||||
data_template:
|
||||
brightness_pct: >-
|
||||
{% if not is_state('input_select.house_mode', 'day') %} 40 {% else %} 100 {% endif %}
|
||||
|
||||
button_1_double:
|
||||
- service: light.turn_off
|
||||
@@ -71,7 +70,6 @@ automation:
|
||||
data_template:
|
||||
entity_id:
|
||||
- light.bedside
|
||||
- light.bed_led
|
||||
brightness_pct: >-
|
||||
|
||||
{% if not is_state('input_select.house_mode', 'day') %}
|
||||
@@ -79,6 +77,7 @@ automation:
|
||||
{% else %}
|
||||
100
|
||||
{% endif %}
|
||||
- service: script.bed_led_on
|
||||
|
||||
button_3_single:
|
||||
- service: media_player.media_play_pause
|
||||
|
||||
Reference in New Issue
Block a user