I'm trying to get the value from a Z-Wave plugin device to be published to MQTT, but it seems that decimal values are not expected/permitted?
I'm seeing this in the debug log:
And nothing is published to MQTT?
I'm seeing this in the debug log:
Code:
4/23/2022 10:08:45 PM 126773 | HSEvent VALUE_CHANGE| 1024| C2212F1D-045-Q195| 946.59| 872.052| 477 4/23/2022 10:08:45 PM 126776 | DoHsEvent MQTT Publish hs4/out/Servers-Watts=946.59|872.052 at Microsoft.VisualBasic.CompilerServices.IntegerType.FromStrin g (System.String Value) [0x00055] in <d1dad1a8bba2460091cc7ed2c3f04e36>:0 at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (System.String Value) [0x00001] in <d1dad1a8bba2460091cc7ed2c3f04e36>:0 at MCSMQTTHS4_2020.MqttAppModule.DoHsEvent () [0x003af] in <47f2d86f4a5249fe85102b83235e8e96>:0 Line 0 Conversion from string "946.59" to type 'Integer' is not valid.
Comment