Releases: albertparis/hass-aigues-barcelona-2captcha
Releases · albertparis/hass-aigues-barcelona-2captcha
0.6.0
Added
- Automatic login with 2Captcha integration - no more manual token copying
- 2Captcha API rate limiting with cooldown periods to prevent balance exhaustion
- Service
aigues_barcelona.reset_and_refresh_datato clear and reimport statistics - Full compatibility with Home Assistant Energy Dashboard
- Comprehensive test suite for API client and sensor
Changed
- Renamed project to "Aigües de Barcelona (2Captcha)" to reflect 2Captcha integration
- Repository ownership transferred to @albertparis
- Updated scan interval from 4 hours to 8 hours to match documentation and reduce API load
Fixed
- Auto-relogin when server rejects JWT token with "Invalid JWT" error
- Energy dashboard statistics calculation - fixed negative values issue
- Statistics import now correctly calculates cumulative sum from baseline
- Statistics import error when metadata doesn't exist during reset operations
- KeyError for existing config entries upgrading from versions without 2Captcha
- Separated token refresh errors from consumption request errors in logs
- Duplicate statistics import prevention
- Switched from absolute meter readings to incremental consumption values to prevent negative readings