uwap-home: Add heating controls office

This commit is contained in:
Ranlvor 2020-11-06 19:36:51 +01:00
parent 39c364c742
commit fdb49f79a5
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -201,9 +201,13 @@ const config: Config = {
"temperature-control/bedroom/target", 21.5), "temperature-control/bedroom/target", 21.5),
...topicTasmota("fanOffice", "sonoff-office-fan"), ...topicTasmota("fanOffice", "sonoff-office-fan"),
...topicHomeBoolean("fanOfficeAuto", "temperature-control/office"), ...topicHomeBoolean("fanOfficeAuto", "temperature-control/office"),
...topicHomeBoolean("heaterOfficeAuto",
"temperature-control/office_heating"),
...topicHomeBoolean("lueftenHint", "lueften"), ...topicHomeBoolean("lueftenHint", "lueften"),
...topicHomeNumber("fanOfficeTarget", ...topicHomeNumber("fanOfficeTarget",
"temperature-control/office/target", 21.5), "temperature-control/office/target", 21.5),
...topicHomeNumber("heaterOfficeTarget",
"temperature-control/office_heating/target", 21.5),
...topicBulbNumber("hallway", "brightness"), ...topicBulbNumber("hallway", "brightness"),
...topicBulbState("hallway"), ...topicBulbState("hallway"),
...topicBulbNumber("hallway2", "brightness"), ...topicBulbNumber("hallway2", "brightness"),
@ -317,10 +321,14 @@ const config: Config = {
text: "Ein/Ausschalten", text: "Ein/Ausschalten",
icon: svg(icons.mdiPower) icon: svg(icons.mdiPower)
}, },
{
type: "section",
text: "Lüftungs-Automatik"
},
{ {
type: "toggle", type: "toggle",
topic: "fanOfficeAuto", topic: "fanOfficeAuto",
text: "Automatik", text: "On/Off",
icon: svg(icons.mdiAirConditioner) icon: svg(icons.mdiAirConditioner)
}, },
{ {
@ -336,6 +344,30 @@ const config: Config = {
{ value: 20, label: "20°C" }, { value: 20, label: "20°C" },
{ value: 25, label: "25°C" } { value: 25, label: "25°C" }
] ]
},
{
type: "section",
text: "Heizungs-Automatik"
},
{
type: "toggle",
topic: "heaterOfficeAuto",
text: "On/Off",
icon: svg(icons.mdiRadiator)
},
{
type: "slider",
min: 15,
max: 25,
step: 0.1,
text: "Zieltemperatur",
icon: svg(icons.mdiOilTemperature),
topic: "heaterOfficeTarget",
marks: [
{ value: 15, label: "15°C" },
{ value: 20, label: "20°C" },
{ value: 25, label: "25°C" }
]
} }
] ]
}, },