diff --git a/config/lovelace/home_dashboard/preferences_dashboard.yaml b/config/lovelace/home_dashboard/preferences_dashboard.yaml index aace1eb..1e5a2bd 100644 --- a/config/lovelace/home_dashboard/preferences_dashboard.yaml +++ b/config/lovelace/home_dashboard/preferences_dashboard.yaml @@ -111,6 +111,8 @@ - type: divider - automation.tv_plex_setup_house_for_plex - automation.tv_plex_restore_house_after_plex + - light.browser_hallway + - light.browser_kitchen - type: vertical-stack cards: diff --git a/config/packages/modules/browser_mod.yaml b/config/packages/modules/browser_mod.yaml index 7bfdde6..02ba8b5 100644 --- a/config/packages/modules/browser_mod.yaml +++ b/config/packages/modules/browser_mod.yaml @@ -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: diff --git a/config/packages/modules/lighting/areas/hallway.yaml b/config/packages/modules/lighting/areas/hallway.yaml index 2983e93..949916e 100644 --- a/config/packages/modules/lighting/areas/hallway.yaml +++ b/config/packages/modules/lighting/areas/hallway.yaml @@ -28,9 +28,9 @@ automation: entity_id: - light.hue_white_1 - light.hue_1 - - light.browser_hallway data: brightness_pct: 1 + - service: script.browser_hallway_low - alias: Lighting · Hallway · Motion Off trigger: @@ -48,10 +48,7 @@ automation: sequence: - service: light.turn_off entity_id: light.hallway - - service: light.turn_on - entity_id: light.browser_hallway - data: - brightness_pct: 1 + - service: script.browser_hallway_low # Turn off in Night Mode default: - service: light.turn_off @@ -59,7 +56,4 @@ automation: - light.hue_white_1 - light.hue_1 - light.hallway - - service: light.turn_on - entity_id: light.browser_hallway - data: - brightness_pct: 1 + - service: script.browser_hallway_low diff --git a/config/packages/modules/lighting/areas/kitchen.yaml b/config/packages/modules/lighting/areas/kitchen.yaml index 2aea9da..8ea76bc 100644 --- a/config/packages/modules/lighting/areas/kitchen.yaml +++ b/config/packages/modules/lighting/areas/kitchen.yaml @@ -42,9 +42,9 @@ automation: entity_id: - light.hue_ambiance_6 - light.hue_ambiance_1 - - light.browser_kitchen data: brightness_pct: 1 + - service: script.browser_kitchen_low - alias: Lighting · Kitchen · Night · Motion off trigger: @@ -73,10 +73,7 @@ automation: - light.hue_ambiance_1 - light.kitchen_main - light.kitchen_secondary - - service: light.turn_on - entity_id: light.browser_kitchen - data: - brightness_pct: 1 + - service: script.browser_kitchen_low - alias: Lighting · Kitchen · Day · Motion off trigger: @@ -93,7 +90,4 @@ automation: # Turn off in Day Mode - service: light.turn_off entity_id: light.kitchen - - service: light.turn_on - entity_id: light.browser_kitchen - data: - brightness_pct: 1 + - service: script.browser_kitchen_low diff --git a/config/packages/routines/good_night.yaml b/config/packages/routines/good_night.yaml index abc1dd7..b014de7 100644 --- a/config/packages/routines/good_night.yaml +++ b/config/packages/routines/good_night.yaml @@ -46,12 +46,7 @@ script: - switch.cadmium - group.all_radiators - - service: light.turn_on - entity_id: - - light.browser_kitchen - - light.browser_hallway - data: - brightness_pct: 1 + - service: script.browsers_low - service: cover.close_cover entity_id: cover.living_room diff --git a/config/packages/routines/leaving_home.yaml b/config/packages/routines/leaving_home.yaml index 8e44930..ea99abf 100644 --- a/config/packages/routines/leaving_home.yaml +++ b/config/packages/routines/leaving_home.yaml @@ -19,12 +19,8 @@ script: - media_player.kitchen - media_player.living_room - - service: light.turn_on - entity_id: - - light.browser_hallway - - light.browser_kitchen - data: - brightness_pct: 1 + - service: script.browsers_low + - service: input_select.select_option entity_id: input_select.hallway_dashboard_mode data: