Merge pull request #39 from Ranlvor/patch-14
Show number of WLAN-devices
This commit is contained in:
commit
07ec53d312
1 changed files with 14 additions and 0 deletions
|
|
@ -130,6 +130,13 @@ const config : Config = {
|
||||||
values: {},
|
values: {},
|
||||||
type: msg => JSON.parse(msg.toString()).join(", ")
|
type: msg => JSON.parse(msg.toString()).join(", ")
|
||||||
},
|
},
|
||||||
|
devices_status: {
|
||||||
|
state: "/service/status/devices",
|
||||||
|
command: "",
|
||||||
|
defaultValue: "",
|
||||||
|
values: {},
|
||||||
|
type: types.string
|
||||||
|
},
|
||||||
infoscreen: {
|
infoscreen: {
|
||||||
state: "/service/openhab/out/pca301_infoscreen/state",
|
state: "/service/openhab/out/pca301_infoscreen/state",
|
||||||
command: "/service/openhab/in/pca301_infoscreen/command",
|
command: "/service/openhab/in/pca301_infoscreen/command",
|
||||||
|
|
@ -495,7 +502,14 @@ const config : Config = {
|
||||||
text: "Anwesend",
|
text: "Anwesend",
|
||||||
topic: "presence_status",
|
topic: "presence_status",
|
||||||
icon: mdi("account")
|
icon: mdi("account")
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "text",
|
||||||
|
text: "Devices",
|
||||||
|
topic: "devices_status",
|
||||||
|
icon: mdi("wifi")
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
infoscreen: {
|
infoscreen: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue