5 Commits

Author SHA1 Message Date
Steven B.
589d15091a
Add smartcam child device support for smartcam hubs () 2025-01-14 08:38:04 +00:00
Steven B.
2e3b1bc376
Add tests for dump_devinfo parent/child smartcam fixture generation ()
Currently the dump_devinfo fixture generation tests do not test
generation for hub and their children.

This PR enables tests for `smartcam` hubs and their child fixtures. It
does not enable support for `smart` hub fixtures as not all the fixtures
currently have the required info. This can be addressed in a subsequent
PR.
2025-01-08 22:51:35 +01:00
Steven B.
8cb5c2e180
Update dump_devinfo for raw discovery json and common redactors ()
This PR does a few related things to dump_devinfo:

- Store the raw discovery result in the fixture.
- Consolidate redaction logic so it's not duplicated in dump_devinfo.
- Update existing fixtures to:
  - Store raw discovery result under `result`
  - Use `SCRUBBED_CHILD_DEVICE_ID` everywhere
  - Have correct values as per the consolidated redactors.
2024-12-11 14:18:44 +01:00
Steven B.
2bda54fcb1
Rename smartcamera to smartcam () 2024-11-23 09:07:47 +01:00
Steven B.
e209d40a6d
Use _get_device_info methods for smart and iot devs in devtools () 2024-11-18 14:53:11 +00:00