show office led lwt

because it takes a few seconds to respond to a brightness request when current state ist standby, but it immediatly leaves standby giving feedback that something is happening
This commit is contained in:
Ranlvor 2022-01-15 14:37:46 +01:00
parent 53911db686
commit eab431f13b
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -463,6 +463,13 @@ const config: Config = {
}, },
defaultValue: "0" defaultValue: "0"
}, },
wled_office_lwt: {
state: {
name: "home-rust/led-strip-office/lwt",
type: types.string
},
defaultValue: "unknown"
},
twitch_status_uwap: { twitch_status_uwap: {
state: { state: {
name: "tele/twitch/uwap", name: "tele/twitch/uwap",
@ -806,6 +813,12 @@ const config: Config = {
icon: svg(icons.mdiBrightness7), icon: svg(icons.mdiBrightness7),
topic: "wled_office_brightness" topic: "wled_office_brightness"
}, },
{
type: "text",
text: "Status",
icon: svg(icons.mdiRefresh),
topic: "wled_office_lwt"
},
{ {
type: "link", type: "link",
link: "http://192.168.0.66/", link: "http://192.168.0.66/",