mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 18:57:43 +00:00
Add fire tablet
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
script:
|
||||
fire_toggle_brightness:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.fire1_screen
|
||||
data_template:
|
||||
brightness: >
|
||||
{% if state_attr('light.fire1_screen', 'brightness') == 255 %}
|
||||
30
|
||||
{% elif state_attr('light.fire1_screen', 'brightness') <= 35 %}
|
||||
128
|
||||
{% else %}
|
||||
255
|
||||
{% endif %}
|
||||
@@ -2,13 +2,20 @@
|
||||
browser_mod:
|
||||
|
||||
script:
|
||||
browser_fire_low:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.fire1_screen
|
||||
data:
|
||||
brightness_pct: 30
|
||||
browser_hallway_low:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.browser_hallway
|
||||
data:
|
||||
brightness_pct: 10
|
||||
brightness_pct: 20
|
||||
browser_kitchen_low:
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
@@ -20,6 +27,7 @@ script:
|
||||
sequence:
|
||||
- service: script.browser_hallway_low
|
||||
- service: script.browser_kitchen_low
|
||||
- service: script.browser_fire_low
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ script:
|
||||
- light.hallway_main
|
||||
- light.browser_kitchen
|
||||
- light.browser_hallway
|
||||
- light.fire1_screen
|
||||
- light.living_room_ambient
|
||||
- light.bedside
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user