Adjust type hints for CameraEntityFeature (#82191)
This commit is contained in:
parent
4f7b583f19
commit
5d78632d04
5 changed files with 7 additions and 7 deletions
|
@ -175,7 +175,7 @@ class ProtectCamera(ProtectDeviceEntity, Camera):
|
|||
self._stream_source = ( # pylint: disable=attribute-defined-outside-init
|
||||
None if disable_stream else rtsp_url
|
||||
)
|
||||
self._attr_supported_features: int = (
|
||||
self._attr_supported_features = (
|
||||
CameraEntityFeature.STREAM if self._stream_source else 0
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue