Since the new update, OpenHAB is sending my int
-values as float
-values to the mqtt
-broker.
It worked before but now it’s suddenly broken.
Items
Number example001 " " {channel="mqtt:topic:broker001:smarthome:example001"}
Switch example002 " " {channel="mqtt:topic:broker002:smarthome:example002"}
Things
Type number : example001 [stateTopic="smarthome/example001/status", commandTopic="smarthome/example001/status"]
Type switch : example002 [stateTopic="smarthome/example002/status", commandTopic="smarthome/example002/status", on="1", off="0"]
Rules
rule "dev001"
when
Item dev001 received update
then
example001.sendCommand(1)
example002.sendCommand(ON)
end
Result in MQTT
smarthome/example001/status=1.000000
smarthome/example002/status=1
What changed or what did I do wrong?