Tradfri-Topics: Typofix (#99)

The all-lights and the kittchen sink topics currently do not work because
the config uses the wrong topic names. This commit fixes the issues.
This commit is contained in:
Ranlvor 2019-03-17 14:55:58 +01:00 committed by uwap
parent a149fed592
commit 8ac32ced41

View file

@ -22,12 +22,12 @@ export const topics: Topics = {
kitchenLightColor: {
state: {
name: "/service/openhab/out/kitchenLight_allColor_temperature"
name: "/service/openhab/out/kitchen_light_all_color_temperature"
+ "/state",
type: types.string
},
command: {
name: "/service/openhab/in/kitchenLight_allColor_temperature"
name: "/service/openhab/in/kitchen_light_all_color_temperature"
+ "/command",
type: types.string
},
@ -35,11 +35,11 @@ export const topics: Topics = {
},
kitchenLightBrightness: {
state: {
name: "/service/openhab/out/kitchenLight_allBrightness/state",
name: "/service/openhab/out/kitchen_light_all_brightness/state",
type: types.string
},
command: {
name: "/service/openhab/in/kitchenLight_allBrightness/command",
name: "/service/openhab/in/kitchen_light_all_brightness/command",
type: types.string
},
defaultValue: "0"
@ -47,12 +47,12 @@ export const topics: Topics = {
kitchenSinkLightBrightness: {
state: {
name: "/service/openhab/out/tradfri_0100_"
+ "gwb8d7af2b448f_65545Brightness/state",
+ "gwb8d7af2b448f_65545_brightness/state",
type: types.string
},
command: {
name: "/service/openhab/in/tradfri_0100_"
+ "gwb8d7af2b448f_65545Brightness/command",
+ "gwb8d7af2b448f_65545_brightness/command",
type: types.string
},
defaultValue: "0"