Add Boolean Value Support in Channels of MQTT Subscribe Custom Sensor
As a Systems Engineer monitoring IoT/environmental devices via MQTT, I want the MQTT Subscribe Custom sensor to accept boolean JSON values (true/false) in channels — ideally mapped to defined states such as 1/0 with configurable Up/Down behavior — so that I can monitor devices like the Shelly Flood Gen4 directly in PRTG and get alerted on a flood event without building external payload-conversion middleware.
Background:
The MQTT Subscribe Custom sensor supports in Channels a float or an integer value only. But some IoT devices like Shelly Flood Gen4 sends flood status in JSON as boolean value (true|false), not 0 or 1 (the device has not option to change output value format, MQTT Broker has not option to map and convert value types as well).