if "enegy" in sensor or "energy" in sensor: # typo in ess json
description["**unit_of_measuremnt**"] = "Wh"
description["icon"] = "mdi:gauge"
please set it to
if "enegy" in sensor or "energy" in sensor: # typo in ess json
description["unit_of_measurement"] = "Wh"
description["icon"] = "mdi:gauge"
Hi,
In essmqtt.py there is a wrong attribute:
please set it to if "enegy" in sensor or "energy" in sensor: # typo in ess json description["unit_of_measurement"] = "Wh" description["icon"] = "mdi:gauge"
Thanks for the great work!
Patrick