Config für Hauptseite erweiter

This commit is contained in:
Carsten Keller 2024-02-16 20:32:18 +01:00
parent afaa27a0ea
commit bd590172b4
Signed by: carsten
GPG Key ID: F120DCD2D6C1CC54

View File

@ -1,6 +1,9 @@
export interface Config { export interface Config {
abfall: Abfall; abfall: Abfall;
abfall_after: Abfall; abfall_after: Abfall;
heizmodus: Heizprogramm;
fensterzf: Fensterstatus;
aussenklima: Aussenklima;
} }
export interface Abfall { export interface Abfall {
@ -11,6 +14,21 @@ export interface Abfall {
type: string; type: string;
} }
export interface Heizprogramm {
uri: string;
state: string;
}
export interface Fensterstatus {
uri: string;
state: string;
}
export interface Aussenklima {
uri: string;
temp: string;
feuchte: string;
}
export const cfg: Config = { export const cfg: Config = {
"abfall": { "abfall": {
@ -26,5 +44,18 @@ export const cfg: Config = {
"date": "trashschedule.0.nextAfter.dateFormat", "date": "trashschedule.0.nextAfter.dateFormat",
"in_days": "trashschedule.0.nextAfter.daysLeft", "in_days": "trashschedule.0.nextAfter.daysLeft",
"type": "trashschedule.0.nextAfter.typesText" "type": "trashschedule.0.nextAfter.typesText"
},
"heizmodus": {
"uri": "/heizmodus",
"state": "hm-rega.0.3897"
},
"fensterzf": {
"uri": "/fensterzf",
"state": "0_userdata.0.OPEN_WINDOWS.COUNT"
},
"aussenklima": {
"uri": "/aussenklima",
"temp": "hm-rpc.0.000EDD89B3A1C4.1.ACTUAL_TEMPERATURE",
"feuchte": "hm-rpc.0.000EDD89B3A1C4.1.HUMIDITY"
} }
} }