kirei / python-chargeamps

Charge Amps API bindings for Python
Other
7 stars 4 forks source link

Power metering for Schuko #7

Open jschlyter opened 2 years ago

jschlyter commented 2 years ago

Investigate if power metering for Schuko works as expected (https://github.com/kirei/hass-chargeamps/issues/27)

jschlyter commented 2 years ago

@fredriklj please check if you get any readings from the Schuko outlet on your Halo

elden1337 commented 2 years ago

i think the cause for this could be that the two switches (on a Halo) don't get a proper unique identifier. They get the same as their sensor from the superclass:

https://github.com/kirei/hass-chargeamps/blob/b99ed088c539cf6d0eb56bfb08e3cef19b466151/custom_components/chargeamps/init.py#L410