Closed jes1417 closed 3 years ago
See commit https://github.com/eseglem/hass-wattbox/commit/4b273e65617585d0d50a537871350796a6a9c1ce this will resolve the issue. UNIT_PERCENTAGE was change in const.py and init.py to PERCENTAGE. I have not programmed in a while but this was as simple as they get.
I downloaded the init.py and const.py file, placed them in the custom_component folder, rebooted HA then uncommented my config but it won't pass configuration validation.
Ok So I did end up getting this to work with these two files in place, my problem was I had rolled back to 0.114 and the changes didn't work with that version of HA after upgrading again to the latest beta the component started working.
I was just about to ask if you were still on 115 glad to see you it worked for you.
Broke because of https://github.com/home-assistant/core/pull/39383 and https://github.com/eseglem/hass-wattbox/pull/4 should fix it.
Component is not working with HA on the newest beta. System upgraded but threw a lot of errors during startup and eventually started with this error.
The server also won't restart now as the config checker is throwing an error. I am going to have to remove the repo from hacs to get my system to start up properly.