first of all… THANX for this integration!!!
I’m in Canada, and needed to make a few changes to get it to work. Had to modify eow.py and sensor.py and customize.yaml as follows
change to canadian website
BASE_HOSTNAME = “eyeonwater.ca”
MEASUREMENT_CUBICMETERS = “CM”
elif read_unit.upper() == MEASUREMENT_GALLONS:
elif read_unit.upper() == MEASUREMENT_CUBICMETERS:
this got me in and working, but homeassistant energy would not see the entity.
_attr_native_unit_of_measurement = ‘m\u00b3’
to allow display of units as cubic meters m^3. this alone would still not show the sensor in the energy dashboard.
after doing some reading, it appears home assistant wants to see this as a DEVICE_CLASS_WATER. to make this change, I updated my customize.yaml file in the HA root directory with the following entry.
This allows the entity to be added to the energy dashboard. Not sure if the numbers are displayed correctly (due to me reading cubic meters, but, I do get a number that corresponds to what is actually on the eyeonwater.ca page.
I hope this helps going forward, and again, thanx for writing this integration!!!