Zeige Status der Lötarbeitsplätze an
This commit is contained in:
parent
8a37cf2c95
commit
44203687b4
1 changed files with 40 additions and 0 deletions
|
|
@ -110,6 +110,18 @@ const config : Config = {
|
|||
defaultValue: "OFF",
|
||||
values: { on: "ON", off: "OFF" }
|
||||
},
|
||||
loetarbeitsplatz4: {
|
||||
state: "stat/sonoff4/POWER",
|
||||
command: "",
|
||||
defaultValue: "OFF",
|
||||
values: { on: "ON", off: "OFF" }
|
||||
},
|
||||
loetarbeitsplatz5: {
|
||||
state: "stat/sonoff5/POWER",
|
||||
command: "",
|
||||
defaultValue: "OFF",
|
||||
values: { on: "ON", off: "OFF" }
|
||||
},
|
||||
door_status: {
|
||||
state: "/service/status",
|
||||
command: "",
|
||||
|
|
@ -435,6 +447,34 @@ const config : Config = {
|
|||
}
|
||||
]
|
||||
},
|
||||
loetarbeitsplatz4: {
|
||||
name: "Lötarbeitsplatz",
|
||||
position: [205, 455],
|
||||
icon: "eyedropper-variant",
|
||||
iconColor: ({loetarbeitsplatz4}) => loetarbeitsplatz4 == "on" ? hex("#FF0000") : hex("#000000"),
|
||||
ui: [
|
||||
{
|
||||
type: "text",
|
||||
text: "Status",
|
||||
topic: "loetarbeitsplatz4",
|
||||
icon: "eyedropper-variant"
|
||||
}
|
||||
]
|
||||
},
|
||||
loetarbeitsplatz5: {
|
||||
name: "Lötarbeitsplatz",
|
||||
position: [205, 405],
|
||||
icon: "eyedropper-variant",
|
||||
iconColor: ({loetarbeitsplatz5}) => loetarbeitsplatz5 == "on" ? hex("#FF0000") : hex("#000000"),
|
||||
ui: [
|
||||
{
|
||||
type: "text",
|
||||
text: "Status",
|
||||
topic: "loetarbeitsplatz5",
|
||||
icon: "eyedropper-variant"
|
||||
}
|
||||
]
|
||||
},
|
||||
alarm: {
|
||||
name: "Alarm",
|
||||
position: [340, 250],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue