Class KobotAnalogSensor

  • All Implemented Interfaces:
    crackers.kobots.mqtt.homeassistant.KobotHAEntity , kotlin.Comparable

    
    public class KobotAnalogSensor
    extends KobotSensor<KobotAnalogSensor.Companion.AnalogDevice, String>
                        

    Analog (value) sensor, single state. Note that any value that specifies a deviceClass will be expected to provide the appropriate unitOfMeasurement: e.g. current requires either "mA" or "A" for units. These are defined at the device-class page.

    Any value to be transmitted must be pre-converted to the appropriate string.