summeractive is now a JSON-Value instead of a dedicated topic

This commit is contained in:
Ranlvor 2020-11-16 10:04:37 +01:00
parent 424aef1991
commit 9a070dcc2b
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -208,8 +208,8 @@ const config: Config = {
},
heaterBedroomSummermode: {
state: {
name: "tele/home-rust/fritzbox/device/bedroom/summeractive",
type: (msg) => (msg.toString().split(" ")[1])
name: "tele/home-rust/fritzbox/device/bedroom",
type: types.json("summeractive")
},
defaultValue: "1"
},