For my PV I want to show and log the isolation resistance of my PV panels.
Unit of measurement of electric resistance is ohm = Ω
I get this value via MQTT (query of node-red using modbus/TCP). I have configured it as the following sensor:
- sensor:
state_topic: "fronius/inverter/isolation_resistance"
name: "Fronius Isolation resistance"
unique_id: "fronius_isolation_resistance"
object_id: "fronius_isolation_resistance"
I did not find any device class that matches resistance. Also I did not find a way to tell HA that this value is a integer value. HA loggs this sensors like it would be a string:
My question: How can I configure the sensor so that HA handles this as a number and not as a string?
2 posts - 2 participants