mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 02:47:44 +00:00
Use new buttons in sensors dashboard
This commit is contained in:
@@ -26,17 +26,17 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: binary_sensor.multisensor_motion
|
entity: binary_sensor.multisensor_motion
|
||||||
name: Living room
|
name: Living room
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [default, with_state_indicator]
|
template: [v3_button, with_state_indicator]
|
||||||
entity: binary_sensor.kitchen_motion_occupancy
|
entity: binary_sensor.kitchen_motion_occupancy
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
variables:
|
variables:
|
||||||
state_indicator_id: automation.lighting_kitchen_motion_on
|
state_indicator_id: automation.lighting_kitchen_motion_on
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [default, with_state_indicator]
|
template: [v3_button, with_state_indicator]
|
||||||
entity: group.hallway_motion
|
entity: group.hallway_motion
|
||||||
name: Hallway
|
name: Hallway
|
||||||
variables:
|
variables:
|
||||||
@@ -44,34 +44,26 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: binary_sensor.living_room_right_window
|
entity: binary_sensor.living_room_right_window
|
||||||
name: Living room
|
name: Living room
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: binary_sensor.bedroom_left_window
|
entity: binary_sensor.bedroom_left_window
|
||||||
name: Bedroom left
|
name: Bedroom left
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: binary_sensor.bedroom_right_window
|
entity: binary_sensor.bedroom_right_window
|
||||||
name: Bedroom right
|
name: Bedroom right
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: binary_sensor.kitchen_window
|
entity: binary_sensor.kitchen_window
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: input_boolean.georgi_home
|
|
||||||
tap_action:
|
|
||||||
action: call-service
|
|
||||||
service: input_boolean.toggle
|
|
||||||
service_data:
|
|
||||||
entity_id: input_boolean.georgi_home
|
|
||||||
- type: custom:button-card
|
|
||||||
template: default
|
|
||||||
entity: binary_sensor.front_door
|
entity: binary_sensor.front_door
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: v3_button
|
||||||
entity: binary_sensor.bedroom_door
|
entity: binary_sensor.bedroom_door
|
||||||
|
|||||||
Reference in New Issue
Block a user