Added
- New diagnostic sensor "API Requests (Week)" tracking all outgoing Husqvarna API calls with breakdown by endpoint, daily/weekly counts, and recent request history — helps users monitor quota consumption (700 req/week limit) (#370)
Changed
- Smart Water Control is now marked as tested and functional in the README — confirmed working on Gardena 19031-20 (#370)
Fixed
- Drastically reduce REST API usage: device commands (valve open/close, mower, power socket, buttons) no longer trigger a full
GET /locations+GET /locations/{id}re-fetch on every action. State is already kept current via the WebSocket, so each command now costs a singlePUT /commandrequest instead of three. Previously a few watering cycles per day could exhaust the 700 requests/week quota (#370) - Fix "API Requests (Week)" diagnostic sensor not appearing —
entity_categorywas a string literal instead ofEntityCategory.DIAGNOSTICanddevice_infowas a plain dict instead of aDeviceInfoinstance, causing silent registration failure on some HA versions (#370) - WebSocket reconnection no longer calls
authenticate()when the token is still valid, avoiding unnecessary token refresh API calls (#370)