uwap-home: add projector
This commit is contained in:
parent
db62d59f67
commit
8c91dee9b8
1 changed files with 15 additions and 0 deletions
|
|
@ -289,6 +289,7 @@ const config: Config = {
|
||||||
|
|
||||||
...topicTasmota("fanBedroom", "sonoff-bedroom-fan"),
|
...topicTasmota("fanBedroom", "sonoff-bedroom-fan"),
|
||||||
...topicTasmota("fanOffice", "sonoff-office-fan"),
|
...topicTasmota("fanOffice", "sonoff-office-fan"),
|
||||||
|
...topicTasmota("tasmotaProjector", "tasmota-projector"),
|
||||||
...topicHomeBoolean("fanBedroomAuto", "temperature-control/bedroom"),
|
...topicHomeBoolean("fanBedroomAuto", "temperature-control/bedroom"),
|
||||||
...topicHomeBoolean("fanOfficeAuto", "temperature-control/office"),
|
...topicHomeBoolean("fanOfficeAuto", "temperature-control/office"),
|
||||||
...topicHomeNumber("fanBedroomTarget",
|
...topicHomeNumber("fanBedroomTarget",
|
||||||
|
|
@ -848,6 +849,20 @@ const config: Config = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
projector: {
|
||||||
|
name: "Beamer",
|
||||||
|
position: [410, 230],
|
||||||
|
icon: svg(icons.mdiProjector).color(({tasmotaProjectorState}) =>
|
||||||
|
(tasmotaProjectorState === "on" ? hex("#00FF00") : hex("#000000"))),
|
||||||
|
ui: [
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
topic: "tasmotaProjectorState",
|
||||||
|
text: "Ein/Ausschalten",
|
||||||
|
icon: svg(icons.mdiPower)
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
livingroomLight: {
|
livingroomLight: {
|
||||||
name: "Wohnzimmer",
|
name: "Wohnzimmer",
|
||||||
position: [450, 200],
|
position: [450, 200],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue