Add add_devices back to rpi_camera (#12947)
* Add add_devices back to rpi_camera
This commit is contained in:
parent
dc94079d74
commit
9086119082
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
_LOGGER.error("'%s' is not a whitelisted directory", file_path)
|
||||
return False
|
||||
|
||||
add_devices([RaspberryCamera(setup_config)])
|
||||
|
||||
|
||||
class RaspberryCamera(Camera):
|
||||
"""Representation of a Raspberry Pi camera."""
|
||||
|
|
Loading…
Add table
Reference in a new issue