Add add_devices back to rpi_camera (#12947)

* Add add_devices back to rpi_camera
This commit is contained in:
Michael Pusterhofer 2018-03-06 20:44:37 +01:00 committed by Johann Kellerman
parent dc94079d74
commit 9086119082

View file

@ -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."""