mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 18:28:43 +00:00
More sensors!
This commit is contained in:
@@ -45,8 +45,14 @@ cards:
|
||||
entity: sensor.front_door_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.living_room_right_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_door_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_left_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_right_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.kitchen_window_power
|
||||
- type: custom:battery-entity
|
||||
entity: sensor.bedroom_weather_power
|
||||
- type: custom:battery-entity
|
||||
|
||||
@@ -144,12 +144,12 @@
|
||||
# Living room window
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.living_room_right_window_on_off_wrapper
|
||||
- entity: binary_sensor.living_room_right_window
|
||||
state: "on"
|
||||
elements:
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: binary_sensor.living_room_right_window_on_off_wrapper
|
||||
entity: binary_sensor.living_room_right_window
|
||||
style:
|
||||
width: 7.8%
|
||||
height: 8.4%
|
||||
@@ -162,12 +162,12 @@
|
||||
# Master bedroom window
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
||||
- entity: binary_sensor.bedroom_right_window
|
||||
state: "on"
|
||||
elements:
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
||||
entity: binary_sensor.bedroom_right_window
|
||||
style:
|
||||
width: 7.5%
|
||||
height: 8.2%
|
||||
|
||||
@@ -34,12 +34,16 @@
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.front_door
|
||||
name: Door
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- default
|
||||
- with_state_indicator
|
||||
entity: binary_sensor.motion_2_ias_zone
|
||||
name: Hallway
|
||||
name: Motion
|
||||
variables:
|
||||
state_indicator_id: automation.lighting_hallway_day_mode_motion_turn_lights_on
|
||||
- type: custom:button-card
|
||||
|
||||
@@ -89,6 +89,10 @@
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.kitchen_window
|
||||
name: Window
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- default
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.living_room_right_window_on_off_wrapper
|
||||
entity: binary_sensor.living_room_right_window
|
||||
name: Window
|
||||
- type: custom:button-card
|
||||
template:
|
||||
|
||||
@@ -292,12 +292,12 @@
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: entity
|
||||
entity: binary_sensor.front_door_on_off_wrapper
|
||||
entity: binary_sensor.front_door
|
||||
- type: entity
|
||||
entity: binary_sensor.living_room_right_window_on_off_wrapper
|
||||
entity: binary_sensor.living_room_right_window
|
||||
name: Living room
|
||||
- type: entity
|
||||
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
||||
entity: binary_sensor.bedroom_right_window
|
||||
name: Bedroom
|
||||
|
||||
- type: vertical-stack
|
||||
|
||||
@@ -154,13 +154,13 @@
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
||||
name: Window
|
||||
entity: binary_sensor.bedroom_door
|
||||
name: Door
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- default
|
||||
- with_state_indicator
|
||||
entity: binary_sensor.motion_2_ias_zone
|
||||
name: Hallway
|
||||
variables:
|
||||
state_indicator_id: automation.lighting_hallway_day_mode_motion_turn_lights_on
|
||||
template: default
|
||||
entity: binary_sensor.bedroom_left_window
|
||||
name: Left window
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.bedroom_right_window
|
||||
name: Right window
|
||||
|
||||
Reference in New Issue
Block a user