From 8bbf13ef9fb3bfa0a8f7bd14e34ddb3bbc66056a Mon Sep 17 00:00:00 2001 From: pvizeli Date: Thu, 9 Mar 2017 15:10:39 +0100 Subject: [PATCH] Fix lint --- homeassistant/components/android_ip_webcam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/android_ip_webcam.py b/homeassistant/components/android_ip_webcam.py index fd0320982f9..31ce2923f58 100644 --- a/homeassistant/components/android_ip_webcam.py +++ b/homeassistant/components/android_ip_webcam.py @@ -24,7 +24,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow from homeassistant.components.camera.mjpeg import ( - CONF_MJPEG_URL, CONF_STILL_IMAGE_URL, DOMAIN as MJPEG_DOMAIN) + CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) DOMAIN = 'android_ip_webcam' REQUIREMENTS = ["pydroid-ipcam==0.3"] @@ -212,7 +212,7 @@ def async_setup(hass, config): webcams[host] = cam mjpeg_camera = { - CONF_PLATFORM: MJPEG_DOMAIN, + CONF_PLATFORM: 'mjpeg', CONF_MJPEG_URL: cam.mjpeg_url, CONF_STILL_IMAGE_URL: cam.image_url, CONF_NAME: name,