OH 4.0.4 Docker.
Thing:
Type switch : LandingCeilingLight [ stateTopic="shellies/bulb-2/color/0", commandTopic="shellies/bulb-2/color/0/set", on="{\"turn\":\"on\",\"mode\":
\"white\",\"brightness\":\"100\",\"temp\":\"3000\"}", off="{\"turn\":\"off\",\"mode\":\"white\"}" ]
Item:
Switch swLandingCeilingLight "Ceiling Light[]" <switch> (groupSwitch_MAPDB, groupAllOff, groupAlarmPartArmLightsOff, groupAlarmFullArmLightsOff) {chan
nel="mqtt:topic:mosquitto:shelly:LandingCeilingLight"}
This all works, apart from the error I am seeing in the log
2023-11-29 20:43:07.781 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command 'off' from channel 'mqtt:topic:mosquitto:shelly:LandingCeilingLight' not supported by type 'OnOffValue': No enum constant org.openhab.core.library.types.OnOffType.off
Output from MQTT that feeds into stateTopic:
shellies/bulb-2/color/0 off
I cannot for the life of me see why I am getting this error, the binding does not seem to accept the value ‘off’ (or ‘on’ for that matter) any suggestions would be gratefully received, I am at a loss.
FWIW if I remove the stateTopic section completely it all still works and the error goes away, however if the state is changed outside of OH control it is then not reflected within OH, which makes me sad.
Cheers!