Hi,
I’m wondering if there is a way to set a ThingProperty Unit when using the MultiLevelSensor capabilty with the LevelProperty.
This is how I have it setup right now and I’m able to get my value as a Number but without a Unit.
const char* sensorTypes[] = {"MultiLevelSensor", nullptr};
ThingDevice soilMoistureSensor("soilMoistureSensor", "Analog Soil Moisture Sensor", sensorTypes);
ThingProperty moistureLevel("moistureLevel", "Percent of moisture in the soil", NUMBER, "LevelProperty");
LevelProperty mentions an optional Unit but I’m not sure how to set it using webthing-arduino.