I am using a Time of Flight sensor to detect the distance of an object. The sensor data is collected via ESP8266 device running tasmota firmware (v.12.2.0). From tasmota’s UI, I can tell the distance is correctly measured and represented as xxx mm.
With tasmota integration (HA @ 2022.10.5), this sensor is automatically surfaced but the unit is mistakenly set to cm (It shows the same value xxx but with a cm suffix).
(screenshot removed due to new user constraint)
I don’t know how to get the auto discovery message from the tasmota side and therefore couldn’t tell whether the unit is left out from the beginning or HA simply uses a default unit somehow.
Any idea to debug this?