Refactor browser lights

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent 0af54c6d90
commit aab2163bf3
6 changed files with 33 additions and 36 deletions
+22 -6
View File
@@ -1,11 +1,27 @@
# https://github.com/thomasloven/hass-browser_mod
browser_mod:
prefix: "browser_"
devices:
40b846ed-78c5016a:
name: browser_kitchen
9c6af9cc-98bd8a5f:
name: browser_hallway
script:
browser_hallway_low:
sequence:
- service: light.turn_on
entity_id:
- light.browser_hallway
data:
brightness_pct: 10
browser_kitchen_low:
sequence:
- service: light.turn_on
entity_id:
- light.browser_kitchen
data:
brightness_pct: 1
browsers_low:
sequence:
- service: script.browser_hallway_low
- service: script.browser_kitchen_low
homeassistant:
customize: