Skip to content

Commit

Permalink
Make main water shut-off a valve
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Jul 14, 2024
1 parent 18104e7 commit b920cd8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 15 deletions.
4 changes: 2 additions & 2 deletions dashboards/views/basement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,6 @@
switches:
- entity_id: light.workshop
name: Light
- entity_id: switch.main_water_shut_off_valve
name: Main water shut-off valve
- entity_id: valve.main_water_shut_off
name: Main water shut-off
tap_action: more-info # Prevents accidental toggles
5 changes: 2 additions & 3 deletions dashboards/views/ground-floor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@
- entity_id: light.living_room_ambiance
name: Ambiance
icon: mdi:floor-lamp-dual
- entity_id: switch.bookshelf_outlet
name: Bookshelf outlet
icon: mdi:power-socket-us
- entity_id: light.staircase
name: Staircase
- entity_id: media_player.living_room_tv
name: TV
icon: mdi:television
Expand Down
2 changes: 1 addition & 1 deletion dashboards/views/home.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- entity: binary_sensor.all_windows
- entity: binary_sensor.all_leaks
- entity: binary_sensor.kitchen_door_lock_jammed
- entity: switch.main_water_shut_off_valve
- entity: valve.main_water_shut_off
- entity: sensor.broadcast_queue
- !include ../cards/alarm.yaml

Expand Down
6 changes: 0 additions & 6 deletions packages/areas/living_room.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ homeassistant:
battery_warning_level: 25
sensor.living_room_temperature:
friendly_name: "Living room temperature"
switch.bookshelf_outlet:
friendly_name: "Bookshelf outlet"

cloud:
google_actions:
Expand All @@ -27,17 +25,13 @@ cloud:
- "light.living_room"
- "light.living_room_ambiance"
- "light.staircase"
- "switch.bookshelf_outlet"
entity_config:
light.living_room_ambiance:
aliases:
- "Living room lamp"
light.living_room:
aliases:
- "Living room spots"
switch.bookshelf_outlet:
aliases:
- "Christmas tree"

input_number:
living_room_thermostat_eco_setpoint:
Expand Down
2 changes: 0 additions & 2 deletions packages/areas/workshop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ homeassistant:
sensor.water_heater_leak_sensor_battery:
battery_type: "ER14250 3.6V"
battery_warning_level: 25
switch.main_water_shut_off_valve:
icon: "mdi:valve"

cloud:
google_actions:
Expand Down
2 changes: 1 addition & 1 deletion packages/misc/default_theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ template:
is_state('binary_sensor.all_leaks', 'on')
or is_state('binary_sensor.intrusion_activity', 'on')
or is_state('binary_sensor.kitchen_door_lock_jammed', 'on')
or is_state('switch.main_water_shut_off_valve', 'off')
or is_state('valve.main_water_shut_off', 'off')
}}
- unique_id: "db252c59-897b-4bd9-94a8-d5d17f48ed68"
name: "use_dark_theme"
Expand Down

0 comments on commit b920cd8

Please sign in to comment.