✨ Add get_ecowatt (RTE EcoWatt grid-stress forecast) #36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/get-ecowatt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a single read-only client method for the RTE EcoWatt grid-stress forecast.
get_ecowatt(self) -> list[dict]→GET /ecowatt(no parameters).GREEN/ORANGE/REDstatusand a 24-entryhourlylist.Changes
comwatt_client/client.py: newget_ecowattmethod (same pattern/style asget_sites/get_tiles).tests/test_ecowatt.py: success + 500-error tests (mirrorstest_tiles.py, usesresponses).README.md: one method-list entry.Test plan
pytest— 83 passed (81 baseline + 2 new).mypy comwatt_client— clean.Draft — mark ready when you want it reviewed.
WIP: ✨ Add get_ecowatt (RTE EcoWatt grid-stress forecast)to ✨ Add get_ecowatt (RTE EcoWatt grid-stress forecast)