mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 10:18:44 +00:00
Add fold-entity-row and use it for lights
This commit is contained in:
+15
-3
@@ -10,9 +10,21 @@ cards:
|
|||||||
title: Lights
|
title: Lights
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: light.living_room_all_lights
|
- type: custom:fold-entity-row
|
||||||
- entity: light.living_room_main_lights
|
head:
|
||||||
- entity: light.pc
|
entity: light.living_room_all_lights
|
||||||
|
name: Living room lights
|
||||||
|
entities:
|
||||||
|
- type: custom:fold-entity-row
|
||||||
|
head:
|
||||||
|
entity: light.living_room_main_lights
|
||||||
|
name: Main lights
|
||||||
|
entities:
|
||||||
|
- light.living_room_1
|
||||||
|
- light.living_room_2
|
||||||
|
- light.living_room_3
|
||||||
|
- light.living_room_4
|
||||||
|
- light.pc
|
||||||
- entity: light.bedside_light
|
- entity: light.bedside_light
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
|
|||||||
@@ -10,11 +10,16 @@ cards:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: light.living_room_all_lights
|
- entity: light.living_room_all_lights
|
||||||
- entity: light.living_room_main_lights
|
name: All Lights
|
||||||
- entity: light.living_room_1
|
- type: custom:fold-entity-row
|
||||||
- entity: light.living_room_2
|
head:
|
||||||
- entity: light.living_room_3
|
entity: light.living_room_main_lights
|
||||||
- entity: light.living_room_4
|
name: Main lights
|
||||||
|
entities:
|
||||||
|
- light.living_room_1
|
||||||
|
- light.living_room_2
|
||||||
|
- light.living_room_3
|
||||||
|
- light.living_room_4
|
||||||
- entity: light.pc
|
- entity: light.pc
|
||||||
|
|
||||||
- type: "custom:mini-media-player"
|
- type: "custom:mini-media-player"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
custom_header:
|
custom_header:
|
||||||
compact_mode: true
|
compact_mode: true
|
||||||
editor_warnings: false
|
editor_warnings: false
|
||||||
|
hide_config: true
|
||||||
hide_help: true
|
hide_help: true
|
||||||
hide_unused: true
|
hide_unused: true
|
||||||
resources:
|
resources:
|
||||||
@@ -30,6 +31,9 @@ resources:
|
|||||||
url: /hacsfiles/aftership-card/aftership-card.js
|
url: /hacsfiles/aftership-card/aftership-card.js
|
||||||
- type: module
|
- type: module
|
||||||
url: /hacsfiles/config-template-card/config-template-card.js
|
url: /hacsfiles/config-template-card/config-template-card.js
|
||||||
|
- type: module
|
||||||
|
url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js
|
||||||
|
|
||||||
title: Sarah
|
title: Sarah
|
||||||
views:
|
views:
|
||||||
- !include lovelace/00_home.yaml
|
- !include lovelace/00_home.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user