uglify stuff to make the linter happy

This commit is contained in:
Ranlvor 2018-09-02 03:10:19 +02:00
parent 741314ac8d
commit f06d624f9f
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E
2 changed files with 9 additions and 7 deletions

View file

@ -64,7 +64,8 @@ const config: Config = {
snackbarLedOnline: {
state: {
name: "tele/tasmota-snackbar/LWT",
type: types.option({ Online: "on", online: "on", Offline: "off", offline: "off" })
type: types.option({ Online: "on", online: "on",
Offline: "off", offline: "off" })
},
defaultValue: "off"
},
@ -262,7 +263,7 @@ const config: Config = {
"12": "Fire Pattern"
},
icon: mdi("settings"),
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline == "on"
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline === "on"
},
{
type: "slider",
@ -271,7 +272,7 @@ const config: Config = {
min: 0,
max: 100,
icon: mdi("brightness-7"),
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline == "on"
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline === "on"
},
{
type: "slider",
@ -280,8 +281,8 @@ const config: Config = {
min: 0,
max: 20,
icon: mdi("speedometer"),
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline == "on"
},
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline === "on"
}
]
},
twinkle: {