move browser_mod to devices

This commit is contained in:
2020-04-25 01:55:08 +03:00
parent 9c8a164304
commit 4d63f2a462
+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