Commit Graph

4 Commits

Author SHA1 Message Date
Steven B.
b5f49a3c8a Fix lens mask required component and state ()
Fixes a few issues with the lens mask since migrating it into its own
module:

- The module didn't provide itself as the container and hence the
feature was accessing the same properties on the device.
- `enabled` getter on the module incorrect but not picked up due to the
previous issue.
- No `REQUIRED_COMPONENT` set to ensure the module only created if
available.

Also changes attribute names to `enabled` from `state` to avoid
confusion with device states.
2024-12-19 14:52:25 +01:00
Steven B.
ba273f308e Add LensMask module to smartcam ()
Ensures no error with devices that do not have the `lens_mask` component.
2024-12-17 20:15:42 +00:00
Steven B.
8814d94989 Provide alternative camera urls () 2024-12-05 16:49:35 +00:00
Steven B.
2bda54fcb1 Rename smartcamera to smartcam () 2024-11-23 09:07:47 +01:00