1
0
Fork 0

Readd alert badges

This commit is contained in:
Malte Brandy 2022-01-05 21:26:45 +01:00
parent 860596b692
commit d319f5b6ae

View file

@ -455,7 +455,7 @@ in
(badge modes.wohnzimmer) (badge modes.wohnzimmer)
(badge modes.kueche) (badge modes.kueche)
(badge modes.schlafzimmer) (badge modes.schlafzimmer)
]; ] ++ alertbadges;
envstack = envstack =
{ {
type = "vertical-stack"; type = "vertical-stack";
@ -731,12 +731,14 @@ in
{ {
views = [ views = [
{ {
icon = "mdi:switch"; inherit alertbadges; cards = [ icon = "mdi:switch";
(cards.modeSwitcher modes.wohnzimmer) badges = alertbadges;
(cards.modeSwitcher modes.kueche) cards = [
(cards.modeSwitcher modes.schlafzimmer) (cards.modeSwitcher modes.wohnzimmer)
(cards.modeSwitcher modes.flat) (cards.modeSwitcher modes.kueche)
]; (cards.modeSwitcher modes.schlafzimmer)
(cards.modeSwitcher modes.flat)
];
} }
{ icon = "mdi:sofa"; inherit badges; cards = [ wohnzimmerstack ]; } { icon = "mdi:sofa"; inherit badges; cards = [ wohnzimmerstack ]; }
{ icon = "mdi:countertop"; inherit badges; cards = [ kuechenstack ]; } { icon = "mdi:countertop"; inherit badges; cards = [ kuechenstack ]; }
@ -744,7 +746,7 @@ in
{ icon = "mdi:shower-head"; inherit badges; cards = [ badstack ]; } { icon = "mdi:shower-head"; inherit badges; cards = [ badstack ]; }
{ icon = "mdi:door-closed"; inherit badges; cards = [ flurstack ]; } { icon = "mdi:door-closed"; inherit badges; cards = [ flurstack ]; }
{ icon = "mdi:city"; inherit badges; cards = [ envstack ]; } { icon = "mdi:city"; inherit badges; cards = [ envstack ]; }
{ icon = "mdi:floor-plan"; inherit alertbadges; cards = [ wohnzimmerstack kuechenstack schlafzimmerstack badstack ]; } { icon = "mdi:floor-plan"; badges = alertbadges; cards = [ wohnzimmerstack kuechenstack schlafzimmerstack badstack ]; }
]; ];
}; };
}; };