Skip to content

0.3.1

Choose a tag to compare

@MateoGreil MateoGreil released this 05 Jul 08:38

Feature release: seven new read endpoints and an internal refactor of the client into domain modules. No breaking changes — Python ≥ 3.10 still required.

Added

  • get_connected_objects() — list connected objects for a site or gateway (GET /connectedobjects). (#31)
  • get_connected_object() — fetch a single connected object by id (GET /connectedobjects/{id}). (#32)
  • get_measure_keys() — per-site measurement inventory, a flat catalogue of every (device, measureKind) pair (GET /measurekeys/measurekeys). (#33)
  • get_tiles() — dashboard tile configuration for a site (GET /tiles). (#34)
  • get_device_kinds() — device-kind catalogue by site UID (GET /devicekinds/by-site-uid/{siteUid}). (#35)
  • get_ecowatt() — RTE EcoWatt grid-stress forecast (GET /ecowatt). (#36)
  • get_electricity_price() — EDF Tempo calendar / tariff structure for a site (GET /electricityprice). (#37)

Changed

  • ♻️ Split the monolithic client.py into domain mixin modules (_auth, _sites, _devices, _aggregations, _connected_objects, _grid, _core). Purely internal — the public ComwattClient API is unchanged. (#38)

Full Changelog: 0.3.0...0.3.1