I am creating an MQTT client to send some dewpoints to home assistant. I am using automatic MQTT discovery. In my message to the discovery topic homeassistant/#, I use "dev_cla": "dewpoint". But then I get the following error in the log view of home assistant:
Error 'expected SensorDeviceClass or one of 'date', 'enum', 'timestamp', 'absolute_humidity', 'apparent_power', 'aqi', 'area', 'atmospheric_pressure', 'battery', 'blood_glucose_concentration', 'carbon_monoxide', 'carbon_dioxide', 'conductivity', 'current', 'data_rate', 'data_size', 'distance', 'duration', 'energy', 'energy_distance', 'energy_storage', 'frequency', 'gas', 'humidity', 'illuminance', 'irradiance', 'moisture', 'monetary', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'ph', 'pm1', 'pm10', 'pm25', 'pm4', 'power_factor', 'power', 'precipitation', 'precipitation_intensity', 'pressure', 'reactive_energy', 'reactive_power', 'signal_strength', 'sound_pressure', 'speed', 'sulphur_dioxide', 'temperature', 'volatile_organic_compounds', 'volatile_organic_compounds_parts', 'voltage', 'volume', 'volume_storage', 'volume_flow_rate', 'water', 'weight', 'wind_direction', 'wind_speed'
for dictionary value @ data['device_class']' when processing MQTT discovery message topic: 'homeassistant/sensor/C6CFC7267C2B-dewpoint/config',
message: [...]
I could of course just use “temperature” as the device class, as the dew point is a temperature. Is this what am I supposed to do? Or is home assistant just missing support for dew points?