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

@ -20,10 +20,11 @@ export const tasmota = {
[`${name}_online`]: {
state: {
name: `tele/sonoff${id}/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"
},
}
}),
iconColor: (name: string, onColor: Color = hex("#00FF00")) =>
(state: State) => {