RZL Door: Show Power Consumption and Link to Dashboard
This commit is contained in:
parent
a149fed592
commit
4574c90aff
1 changed files with 20 additions and 0 deletions
|
|
@ -137,6 +137,14 @@ const config: Config = {
|
|||
},
|
||||
defaultValue: ""
|
||||
},
|
||||
powerConsumption: {
|
||||
state: {
|
||||
name: "/service/power/hauptraum/power",
|
||||
type: (msg) =>
|
||||
(Number.parseFloat(msg.toString()) / 1000).toFixed(2) + " kW"
|
||||
},
|
||||
defaultValue: ""
|
||||
},
|
||||
projector: {
|
||||
state: {
|
||||
name: "/service/beamer/state",
|
||||
|
|
@ -434,6 +442,12 @@ const config: Config = {
|
|||
text: "Open Status Page",
|
||||
icon: mdi("open-in-new")
|
||||
},
|
||||
{
|
||||
type: "link", // eslint-disable-next-line max-len
|
||||
link: "http://kunterbunt.vm.rzl/dashboard/db/allgemeines-copy-ranlvor?orgId=1",
|
||||
text: "RZL-Dashboard",
|
||||
icon: mdi("open-in-new")
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Anwesend",
|
||||
|
|
@ -451,6 +465,12 @@ const config: Config = {
|
|||
text: "Deko",
|
||||
topic: "deko",
|
||||
icon: mdi("invert-colors")
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Power Hauptraum",
|
||||
topic: "powerConsumption",
|
||||
icon: mdi("speedometer")
|
||||
}
|
||||
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue