uglify the code for the linter

This commit is contained in:
Ranlvor 2020-11-10 23:44:34 +01:00
parent 94aafdfbdd
commit dc2728b59a
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -184,7 +184,8 @@ const config: Config = {
heaterDiningroomTsoll: { heaterDiningroomTsoll: {
state: { state: {
name: "tele/home-rust/fritzbox/device/diningroom/tsoll", name: "tele/home-rust/fritzbox/device/diningroom/tsoll",
type: (msg) => ((parseFloat(msg.toString().split(" ")[1])/2).toString()) type: (msg) => ((parseFloat(msg.toString().split(" ")[1])
/2).toString())
}, },
command: { command: {
name: "home-rust/fritzbox/device/diningroom/tsoll/set", name: "home-rust/fritzbox/device/diningroom/tsoll/set",