Fix home-assistant UI
This commit is contained in:
parent
c3a680a437
commit
7df49ed810
|
@ -625,6 +625,22 @@ in {
|
|||
wohnzimmerstack = {
|
||||
type = "vertical-stack";
|
||||
cards = [
|
||||
{
|
||||
type = "entities";
|
||||
title = "Wohnzimmer";
|
||||
entities = [
|
||||
"input_number.target_temperature_wohnzimmer"
|
||||
"group.wohnzimmer_lights"
|
||||
{
|
||||
entity = "button.restart_${esp.wohnzimmer}";
|
||||
name = "Klimasensor Neustarten";
|
||||
}
|
||||
{
|
||||
entity = "button.${sensor.wohnzimmer}_force_calibration";
|
||||
name = "CO2 Kalibrieren";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "custom:mini-graph-card";
|
||||
entities = [
|
||||
|
@ -743,14 +759,6 @@ in {
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "entities";
|
||||
entities = [
|
||||
"input_number.target_temperature_wohnzimmer"
|
||||
"group.wohnzimmer_lights"
|
||||
"button.restart_${esp.wohnzimmer}"
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "logbook";
|
||||
entities = [
|
||||
|
@ -765,6 +773,17 @@ in {
|
|||
kuechenstack = {
|
||||
type = "vertical-stack";
|
||||
cards = [
|
||||
{
|
||||
type = "entities";
|
||||
title = "Küche";
|
||||
entities = [
|
||||
"input_number.target_temperature_kueche"
|
||||
{
|
||||
entity = "button.restart_${esp.kueche}";
|
||||
name = "Klimasensor Neustarten";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "custom:mini-graph-card";
|
||||
entities = [
|
||||
|
@ -863,13 +882,6 @@ in {
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "entities";
|
||||
entities = [
|
||||
"input_number.target_temperature_kueche"
|
||||
"button.restart_${esp.kueche}"
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "logbook";
|
||||
entities = [
|
||||
|
@ -882,6 +894,22 @@ in {
|
|||
schlafzimmerstack = {
|
||||
type = "vertical-stack";
|
||||
cards = [
|
||||
{
|
||||
type = "entities";
|
||||
title = "Schlafzimmer";
|
||||
entities = [
|
||||
"input_number.target_temperature_schlafzimmer"
|
||||
"group.schlafzimmer_lights"
|
||||
{
|
||||
entity = "button.restart_${esp.schlafzimmer}";
|
||||
name = "Klimasensor Neustarten";
|
||||
}
|
||||
{
|
||||
entity = "button.${sensor.schlafzimmer}_force_calibration";
|
||||
name = "CO2 Kalibrieren";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "custom:mini-graph-card";
|
||||
entities = [
|
||||
|
@ -1025,14 +1053,6 @@ in {
|
|||
decimals = 1;
|
||||
points_per_hour = 3;
|
||||
}
|
||||
{
|
||||
type = "entities";
|
||||
entities = [
|
||||
"input_number.target_temperature_schlafzimmer"
|
||||
"group.schlafzimmer_lights"
|
||||
"button.restart_${esp.schlafzimmer}"
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "logbook";
|
||||
entities = [
|
||||
|
@ -1047,6 +1067,16 @@ in {
|
|||
badstack = {
|
||||
type = "vertical-stack";
|
||||
cards = [
|
||||
{
|
||||
type = "entities";
|
||||
title = "Bad";
|
||||
entities = [
|
||||
{
|
||||
entity = "button.restart_${esp.bad}";
|
||||
name = "Klimasensor Neustarten";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "custom:mini-graph-card";
|
||||
entities = [
|
||||
|
@ -1144,61 +1174,12 @@ in {
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "entities";
|
||||
entities = [
|
||||
"button.restart_${esp.bad}"
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "logbook";
|
||||
entities = ["switch.lueftung_bad"];
|
||||
}
|
||||
];
|
||||
};
|
||||
flurstack = {
|
||||
type = "vertical-stack";
|
||||
cards = [
|
||||
{
|
||||
type = "custom:mini-graph-card";
|
||||
entities = [
|
||||
{
|
||||
entity = "sensor.wohnungstur";
|
||||
name = "Wohnungstür";
|
||||
color = colors.window;
|
||||
show_fill = true;
|
||||
aggregate_func = "max";
|
||||
smoothing = false;
|
||||
}
|
||||
];
|
||||
show = {
|
||||
labels = true;
|
||||
};
|
||||
lower_bound = 0;
|
||||
upper_bound = 1;
|
||||
hour24 = true;
|
||||
decimals = 1;
|
||||
points_per_hour = 3;
|
||||
hours_to_show = 24;
|
||||
update_interval = 30;
|
||||
line_width = 2;
|
||||
state_map = [
|
||||
{
|
||||
value = 0;
|
||||
label = "Zu";
|
||||
}
|
||||
{
|
||||
value = 1;
|
||||
label = "Auf";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "logbook";
|
||||
entities = ["binary_sensor.wohnungstuer"];
|
||||
}
|
||||
];
|
||||
};
|
||||
in {
|
||||
views = [
|
||||
{
|
||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
|||
Subproject commit 4eb141adb452095df972996b66254d42960a0b8e
|
||||
Subproject commit 88a8d8df40648d6f919fb813fcd27465b981b40c
|
Loading…
Reference in a new issue