Add add_devices back to rpi_camera (#12947)

* Add add_devices back to rpi_camera
pull/12940/head
Michael Pusterhofer 2018-03-06 20:44:37 +01:00 committed by Johann Kellerman
parent dc94079d74
commit 9086119082
1 changed files with 2 additions and 0 deletions

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