mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-11-05 12:08:43 +00:00
Use glance for lights on home screen
This commit is contained in:
+19
-30
@@ -6,39 +6,28 @@ cards:
|
|||||||
# Column 1: Active Controls
|
# Column 1: Active Controls
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: entities
|
- type: glance
|
||||||
title: Lights
|
title: Lights
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- type: custom:fold-entity-row
|
- entity: light.living_room_main_lights
|
||||||
head:
|
tap_action:
|
||||||
entity: light.living_room_main_lights
|
action: call-service
|
||||||
name: Living room main lights
|
service: light.toggle
|
||||||
toggle: true
|
service_data:
|
||||||
entities:
|
entity_id: light.living_room_main_lights
|
||||||
- type: custom:slider-entity-row
|
- entity: light.pc
|
||||||
entity: light.living_room_main_lights
|
tap_action:
|
||||||
name: Brightness
|
action: call-service
|
||||||
hide_state: true
|
service: light.toggle
|
||||||
step: 5
|
service_data:
|
||||||
- type: custom:slider-entity-row
|
entity_id: light.pc
|
||||||
entity: light.living_room_main_lights
|
- entity: light.bedside_light
|
||||||
name: Temperature
|
tap_action:
|
||||||
attribute: color_temp
|
action: call-service
|
||||||
hide_state: true
|
service: light.bedside_light
|
||||||
step: 5
|
service_data:
|
||||||
- light.living_room_1
|
entity_id: light.pc
|
||||||
- light.living_room_2
|
|
||||||
- light.living_room_3
|
|
||||||
- light.living_room_4
|
|
||||||
- type: custom:slider-entity-row
|
|
||||||
entity: light.pc
|
|
||||||
toggle: true
|
|
||||||
step: 5
|
|
||||||
- type: custom:slider-entity-row
|
|
||||||
entity: light.bedside_light
|
|
||||||
toggle: true
|
|
||||||
step: 5
|
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Devices
|
title: Devices
|
||||||
|
|||||||
Reference in New Issue
Block a user