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: { heaterBedroomSummermode: {
state: { state: {
name: "tele/home-rust/fritzbox/device/bedroom/summeractive", name: "tele/home-rust/fritzbox/device/bedroom",
type: (msg) => (msg.toString().split(" ")[1]) type: types.json("summeractive")
}, },
defaultValue: "1" defaultValue: "1"
}, },