wlcrs / huawei_solar

Home Assistant integration for Huawei Solar inverters via Modbus
GNU Affero General Public License v3.0
499 stars 80 forks source link

Change unit of insulation resistance to MOhm #734

Closed olebowle closed 2 weeks ago

olebowle commented 2 weeks ago

Thanks for making this entity available in v1.4.0!

The unit of insulation resistance as reported by the inverter is MOhm (as shown in FusionSolar) and not Ohm. Theoretically one could also set the native_unit_of_measurement to , but I'm not entirely sure if this breaks something in HA.

wlcrs commented 2 weeks ago

Thank you for spotting this and submitting this PR!