mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
fix formatting to make houndci-bot happy
This commit is contained in:
@@ -26,7 +26,9 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
|
||||
})
|
||||
|
||||
async def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||
|
||||
async def async_setup_platform(hass,
|
||||
config, async_add_devices, discovery_info=None):
|
||||
"""Set up the Family Hub Camera."""
|
||||
from pyfamilyhublocal import FamilyHubCam
|
||||
address = config.get(CONF_IP)
|
||||
@@ -38,7 +40,6 @@ async def async_setup_platform(hass, config, async_add_devices, discovery_info=N
|
||||
async_add_devices([FamilyHubCamera(name, family_hub_cam)], True)
|
||||
|
||||
|
||||
|
||||
class FamilyHubCamera(Camera):
|
||||
|
||||
def __init__(self, name, family_hub_cam):
|
||||
|
Reference in New Issue
Block a user