Command 'value' not supported by type 'OnOffValue': No enum constant

Hello I send float values via MQTT python to openhab(statement see bellow).

All values arrive correctly. I can display all values (data and float) correctly. However, the following message appears in the log list.

“Command ‘value’ not supported by type ‘OnOffValue’: No enum constantCommand ‘value’ not supported by type ‘OnOffValue’: No enum constant”

What am I doing wrong or how can I avoid the message.

my python statetment

publish.single(MQTT_PATH+"/wert1", werte[6], hostname=MQTT_SERVER, port=1883, auth={‘username’: “openhabian”, ‘password’: “xx”})

werte[6] is float value

thank you for helping

You are most probably did asign a switch channel which is expecting an ON/OFF command. Check this channel.

Thank you for response. How can I check. I assign on the same way as other values. Other values are ok

How did you create the Things and Channels?
Via a .things file, please post that file
Via PaperUI or autodetected, please post a screenshot.

This is a number channel, I would not expect the posted message to be caused by this channel.

I deleted everything even the Binding and asign everything new .

There is no message in the log file.

I have no idea why. I made everything on the same way …

Thank You for support

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.