✨ feat: get_connected_object_devices(connected_object_id) #155
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/get-connected-object-devices"
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
Devices of one connected object — narrower than
get_devices(site_id)(only the entries whose parent CO is this one). Endpoint returned 200 live; exact payload shape wasn't captured in the field notes, so entries pass through as-is (noted in the docstring). Seedocs/energy.comwatt.com/devices.md→ Connected objects.Evidence
AttributeError: 'ComwattClient' object has no attribute 'get_connected_object_devices'; baselinepytest= 182 passed.ComwattAPIError, asserting method/path/query);pytest= 185 passed;mypyclean.Merge Danger
Door: two-way — purely additive; revert restores the previous client exactly.
Blast Radius: minimal — one new public method on
ConnectedObjectsMixin, nothing existing touched.Closes #98
WIP: ✨ feat: get_connected_object_devices(connected_object_id)to ✨ feat: get_connected_object_devices(connected_object_id)