Bram Gerritsen
Bram Gerritsen
I'll have a look later. It is compatibilty issue with HA 2024.3 and lower. Upgrading to HA 2024.4 should fix.
Powercalc downloads JSON file containing full library meta data each startup, so it knows which profiles there are. If there are new ones or existing once have an update. Apparently...
Could you also enable debug logging? https://docs.powercalc.nl/troubleshooting/debug-logging/ That should log some more and hopefully provide some more insight in the exact reason why the Epson profile cannot be downloaded.
Might be some casing issue somewhere. As this API call is working: https://api.powercalc.nl/download/epson/ET-3760%20Series But this doesn't: https://api.powercalc.nl/download/Epson/ET-3760%20Series Looking at your error logs it's trying the second one. `custom_components.powercalc.power_profile.error.ProfileDownloadError: Failed to...
I have made one small change. https://github.com/bramstroker/homeassistant-powercalc/commit/dcd2e315b06422e51977ca8fbb50f54edbd4585c Could you try again by rebooting HA?
> Thank you! Yes, it’s loading fine now. I first I could write a model validator as part of the PR actions. I’m getting the duplicate device, which others have...
> Also, I see the local model downloader does a `lower()` on the manufacturer. I was thinking the remote should do the same. > > ``` > +++ b/custom_components/powercalc/power_profile/loader/remote.py >...
Powercalc groups does not support negative figures for an energy sensor. It expects it to only ever increase in value. So that would probably be the reason for this issue....
@michalk-k I suspect restore data data, which powercalc and other HA entities uses to restore the sensor to latest known value after startup. These are stored in `config/.storage/core.restore_state`. Also powercalc...
Btw, today I worked on a subtracting group sensor. Just finished that development, will be in next release. Might also be useful for your use case: https://docs.powercalc.nl/sensor-types/group/subtract/