fix(dashboard-zuhause): use options.type per filter for auto-entities lights
Lichter rendern korrekt als mushroom-light-card. Vorher fehlte das
options-Feld pro filter-include — auto-entities pushte rohe entity_ids
in die grid.cards, was 'Konfigurationsfehler' produzierte.
Pattern jetzt:
filter:
include:
- domain: light
area: <id>
options:
type: custom:mushroom-light-card
fill_container: true
Sensoren-Chips, Cover-Cards und Handtuchheizung-Toggle waren OK.
This commit is contained in:
+90
-18
@@ -269,7 +269,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "wohnzimmer"
|
"area": "wohnzimmer",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -301,7 +305,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "kuche"
|
"area": "kuche",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -333,7 +341,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "esszimmer"
|
"area": "esszimmer",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -392,7 +404,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "schlafzimmer"
|
"area": "schlafzimmer",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -445,7 +461,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "kinderzimmer"
|
"area": "kinderzimmer",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -498,7 +518,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "badezimmer"
|
"area": "badezimmer",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -550,7 +574,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "wc"
|
"area": "wc",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -597,7 +625,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "buro"
|
"area": "buro",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -645,7 +677,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "gastezimmer"
|
"area": "gastezimmer",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -677,7 +713,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "gaderobe"
|
"area": "gaderobe",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -722,7 +762,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "speis"
|
"area": "speis",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -774,7 +818,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "technikraum"
|
"area": "technikraum",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -800,7 +848,11 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "gang"
|
"area": "gang",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -830,23 +882,43 @@
|
|||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "terrasse"
|
"area": "terrasse",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "garage"
|
"area": "garage",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "eingang"
|
"area": "eingang",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "grillplatz"
|
"area": "grillplatz",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"domain": "light",
|
"domain": "light",
|
||||||
"area": "ruheplatz"
|
"area": "ruheplatz",
|
||||||
|
"options": {
|
||||||
|
"type": "custom:mushroom-light-card",
|
||||||
|
"fill_container": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user