mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Convert stream source to method (#23905)
* Convert stream source to method * Use async with
This commit is contained in:
@@ -47,8 +47,7 @@ class FFmpegCamera(Camera):
|
||||
"""Return supported features."""
|
||||
return SUPPORT_STREAM
|
||||
|
||||
@property
|
||||
def stream_source(self):
|
||||
async def stream_source(self):
|
||||
"""Return the stream source."""
|
||||
return self._input.split(' ')[-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user