Fix home-assistant UI
This commit is contained in:
parent
c3a680a437
commit
7df49ed810
2 changed files with 54 additions and 73 deletions
|
@ -625,6 +625,22 @@ in {
|
||||||
wohnzimmerstack = {
|
wohnzimmerstack = {
|
||||||
type = "vertical-stack";
|
type = "vertical-stack";
|
||||||
cards = [
|
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";
|
type = "custom:mini-graph-card";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -743,14 +759,6 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "entities";
|
|
||||||
entities = [
|
|
||||||
"input_number.target_temperature_wohnzimmer"
|
|
||||||
"group.wohnzimmer_lights"
|
|
||||||
"button.restart_${esp.wohnzimmer}"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
type = "logbook";
|
type = "logbook";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -765,6 +773,17 @@ in {
|
||||||
kuechenstack = {
|
kuechenstack = {
|
||||||
type = "vertical-stack";
|
type = "vertical-stack";
|
||||||
cards = [
|
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";
|
type = "custom:mini-graph-card";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -863,13 +882,6 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "entities";
|
|
||||||
entities = [
|
|
||||||
"input_number.target_temperature_kueche"
|
|
||||||
"button.restart_${esp.kueche}"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
type = "logbook";
|
type = "logbook";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -882,6 +894,22 @@ in {
|
||||||
schlafzimmerstack = {
|
schlafzimmerstack = {
|
||||||
type = "vertical-stack";
|
type = "vertical-stack";
|
||||||
cards = [
|
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";
|
type = "custom:mini-graph-card";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -1025,14 +1053,6 @@ in {
|
||||||
decimals = 1;
|
decimals = 1;
|
||||||
points_per_hour = 3;
|
points_per_hour = 3;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "entities";
|
|
||||||
entities = [
|
|
||||||
"input_number.target_temperature_schlafzimmer"
|
|
||||||
"group.schlafzimmer_lights"
|
|
||||||
"button.restart_${esp.schlafzimmer}"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
type = "logbook";
|
type = "logbook";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -1047,6 +1067,16 @@ in {
|
||||||
badstack = {
|
badstack = {
|
||||||
type = "vertical-stack";
|
type = "vertical-stack";
|
||||||
cards = [
|
cards = [
|
||||||
|
{
|
||||||
|
type = "entities";
|
||||||
|
title = "Bad";
|
||||||
|
entities = [
|
||||||
|
{
|
||||||
|
entity = "button.restart_${esp.bad}";
|
||||||
|
name = "Klimasensor Neustarten";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
type = "custom:mini-graph-card";
|
type = "custom:mini-graph-card";
|
||||||
entities = [
|
entities = [
|
||||||
|
@ -1144,61 +1174,12 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "entities";
|
|
||||||
entities = [
|
|
||||||
"button.restart_${esp.bad}"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
type = "logbook";
|
type = "logbook";
|
||||||
entities = ["switch.lueftung_bad"];
|
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 {
|
in {
|
||||||
views = [
|
views = [
|
||||||
{
|
{
|
||||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
||||||
Subproject commit 4eb141adb452095df972996b66254d42960a0b8e
|
Subproject commit 88a8d8df40648d6f919fb813fcd27465b981b40c
|
Loading…
Reference in a new issue