I have an MQTT Voltage sensor in HomeAssistant which I would like to be able to include in the HomeKit integration bridge, however that doesn’t support sensors of the voltage type.
I therefore tried taking the voltage sensor value and repackaging it into a template sensor with a different unit of measurement or device class. I tried making it into a temperature value which does allow it to show up in Apple Home, but for some reason it rounds the value and loses the decimal places, which are important.
i.e. 12.25v in the HomeAssistant MQTT sensor, becomes 12.25 numeric value in HomeAssistant, but for some reason ends up 12.0 degrees in Apple Home.
Does anybody have any idea why this might be happening, or can suggest a better way of accomplishing the goal? Thanks