Add browser_mod config for kitchen. Automate based on it

This commit is contained in:
2020-04-24 23:46:13 +03:00
parent 3e8d38bb5f
commit 0d1bd2e2cf
8 changed files with 176 additions and 43 deletions
+54
View File
@@ -0,0 +1,54 @@
# https://github.com/thomasloven/hass-browser_mod
browser_mod:
prefix: "browser_"
devices:
40b846ed-78c5016a:
name: browser_kitchen
automation:
- alias: Browser mod · Kitchen · Night brightness
trigger:
platform: state
entity_id: input_select.house_mode
to: "night"
action:
- service: browser_mod.no_blackout
data:
deviceID: "40b846ed-78c5016a"
brightness: 1
- alias: Browser mod · Kitchen · Day brightness
trigger:
platform: state
entity_id: input_select.house_mode
from: "night"
action:
- service: browser_mod.no_blackout
data:
deviceID: "40b846ed-78c5016a"
brightness: 255
- alias: Browser mod · Kitchen · Home
trigger:
platform: state
entity_id: input_boolean.georgi_home
to: "on"
action:
- service: browser_mod.no_blackout
data:
deviceID: "40b846ed-78c5016a"
- alias: Browser mod · Kitchen · Away
trigger:
platform: state
entity_id: input_boolean.georgi_home
to: "off"
action:
- service: browser_mod.blackout
data:
deviceID: "40b846ed-78c5016a"
homeassistant:
customize:
binary_sensor.browser_kitchen:
friendly_name: Kitchen Motion