Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions homeassistant/components/abode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from homeassistant.helpers import discovery
from homeassistant.helpers.entity import Entity

REQUIREMENTS = ['abodepy==0.15.0']

_LOGGER = logging.getLogger(__name__)

ATTRIBUTION = "Data provided by goabode.com"
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice

DEPENDENCIES = ['abode']

_LOGGER = logging.getLogger(__name__)

ICON = 'mdi:security'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['abode']


def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up a sensor for an Abode device."""
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

from . import DOMAIN as ABODE_DOMAIN, AbodeDevice

DEPENDENCIES = ['abode']

MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90)

_LOGGER = logging.getLogger(__name__)
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

from . import DOMAIN as ABODE_DOMAIN, AbodeDevice

DEPENDENCIES = ['abode']

_LOGGER = logging.getLogger(__name__)


Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

from . import DOMAIN as ABODE_DOMAIN, AbodeDevice

DEPENDENCIES = ['abode']

_LOGGER = logging.getLogger(__name__)


Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

from . import DOMAIN as ABODE_DOMAIN, AbodeDevice

DEPENDENCIES = ['abode']

_LOGGER = logging.getLogger(__name__)


Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['abode']

# Sensor types: Name, icon
SENSOR_TYPES = {
'temp': ['Temperature', DEVICE_CLASS_TEMPERATURE],
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/abode/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['abode']


def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up Abode switch devices."""
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/acer_projector/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
STATE_ON, STATE_OFF, STATE_UNKNOWN, CONF_NAME, CONF_FILENAME)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['pyserial==3.1.1']

_LOGGER = logging.getLogger(__name__)

CONF_TIMEOUT = 'timeout'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ads/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity

REQUIREMENTS = ['pyads==3.0.7']

_LOGGER = logging.getLogger(__name__)

DATA_ADS = 'data_ads'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ads/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
_LOGGER = logging.getLogger(__name__)

DEFAULT_NAME = 'ADS binary sensor'
DEPENDENCIES = ['ads']

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_ADS_VAR): cv.string,
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/ads/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
AdsEntity, STATE_KEY_BRIGHTNESS, STATE_KEY_STATE

_LOGGER = logging.getLogger(__name__)
DEPENDENCIES = ['ads']
DEFAULT_NAME = 'ADS Light'
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_ADS_VAR): cv.string,
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ads/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
_LOGGER = logging.getLogger(__name__)

DEFAULT_NAME = "ADS sensor"
DEPENDENCIES = ['ads']

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_ADS_VAR): cv.string,
vol.Optional(CONF_ADS_FACTOR): cv.positive_int,
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ads/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['ads']

DEFAULT_NAME = 'ADS Switch'

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/aftership/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from homeassistant.util import Throttle
from .const import DOMAIN

REQUIREMENTS = ['pyaftership==0.1.2']

_LOGGER = logging.getLogger(__name__)

ATTRIBUTION = 'Information provided by AfterShip'
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/airvisual/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle

REQUIREMENTS = ['pyairvisual==3.0.1']
_LOGGER = getLogger(__name__)

ATTR_CITY = 'city'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/aladdin_connect/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
STATE_OPENING, STATE_CLOSING, STATE_OPEN)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['aladdin_connect==0.3']

_LOGGER = logging.getLogger(__name__)

NOTIFICATION_ID = 'aladdin_notification'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alarmdecoder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from homeassistant.util import dt as dt_util
from homeassistant.components.binary_sensor import DEVICE_CLASSES_SCHEMA

REQUIREMENTS = ['alarmdecoder==1.13.2']

_LOGGER = logging.getLogger(__name__)

DOMAIN = 'alarmdecoder'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alarmdecoder/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['alarmdecoder']

SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime'
ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({
vol.Required(ATTR_CODE): cv.string,
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alarmdecoder/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
CONF_ZONE_RFID, CONF_ZONE_TYPE, CONF_ZONES, SIGNAL_REL_MESSAGE,
SIGNAL_RFX_MESSAGE, SIGNAL_ZONE_FAULT, SIGNAL_ZONE_RESTORE, ZONE_SCHEMA)

DEPENDENCIES = ['alarmdecoder']

_LOGGER = logging.getLogger(__name__)

ATTR_RF_BIT0 = 'rf_bit0'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alarmdecoder/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['alarmdecoder']


def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up for AlarmDecoder sensor devices."""
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alarmdotcom/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
from homeassistant.helpers.aiohttp_client import async_get_clientsession
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['pyalarmdotcom==0.3.2']

_LOGGER = logging.getLogger(__name__)

DEFAULT_NAME = 'Alarm.com'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alexa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
CONF_FLASH_BRIEFINGS = 'flash_briefings'
CONF_SMART_HOME = 'smart_home'

DEPENDENCIES = ['http']

ALEXA_ENTITY_SCHEMA = vol.Schema({
vol.Optional(smart_home.CONF_DESCRIPTION): cv.string,
vol.Optional(smart_home.CONF_DISPLAY_CATEGORIES): cv.string,
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/alpha_vantage/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity

REQUIREMENTS = ['alpha_vantage==2.1.0']

_LOGGER = logging.getLogger(__name__)

ATTR_CLOSE = 'close'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/amazon_polly/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from homeassistant.components.tts import PLATFORM_SCHEMA, Provider
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['boto3==1.9.16']

_LOGGER = logging.getLogger(__name__)

CONF_REGION = 'region_name'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ambient_station/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
ATTR_LAST_DATA, CONF_APP_KEY, DATA_CLIENT, DOMAIN, TOPIC_UPDATE,
TYPE_BINARY_SENSOR, TYPE_SENSOR)

REQUIREMENTS = ['aioambient==0.3.0']

_LOGGER = logging.getLogger(__name__)

DATA_CONFIG = 'config'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ambient_station/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['ambient_station']


async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ambient_station/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['ambient_station']


async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
Expand Down
3 changes: 0 additions & 3 deletions homeassistant/components/amcrest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
from homeassistant.helpers import discovery
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['amcrest==1.3.0']
DEPENDENCIES = ['ffmpeg']

_LOGGER = logging.getLogger(__name__)

CONF_AUTHENTICATION = 'authentication'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/amcrest/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS
from . import DATA_AMCREST, BINARY_SENSORS

DEPENDENCIES = ['amcrest']

_LOGGER = logging.getLogger(__name__)

SCAN_INTERVAL = timedelta(seconds=5)
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/amcrest/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

from . import DATA_AMCREST, STREAM_SOURCE_LIST, TIMEOUT

DEPENDENCIES = ['amcrest', 'ffmpeg']

_LOGGER = logging.getLogger(__name__)


Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/amcrest/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

from . import DATA_AMCREST, SENSORS

DEPENDENCIES = ['amcrest']

_LOGGER = logging.getLogger(__name__)

SCAN_INTERVAL = timedelta(seconds=10)
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/amcrest/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['amcrest']


async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/ampio/air_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import homeassistant.helpers.config_validation as cv
from homeassistant.util import Throttle

REQUIREMENTS = ['asmog==0.0.6']

_LOGGER = logging.getLogger(__name__)

ATTRIBUTION = 'Data provided by Ampio'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/android_ip_webcam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
from homeassistant.components.mjpeg.camera import (
CONF_MJPEG_URL, CONF_STILL_IMAGE_URL)

REQUIREMENTS = ['pydroid-ipcam==0.8']

_LOGGER = logging.getLogger(__name__)

ATTR_AUD_CONNS = 'Audio Connections'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/android_ip_webcam/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity

DEPENDENCIES = ['android_ip_webcam']


async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/android_ip_webcam/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP,
AndroidIPCamEntity)

DEPENDENCIES = ['android_ip_webcam']


async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/android_ip_webcam/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP,
AndroidIPCamEntity)

DEPENDENCIES = ['android_ip_webcam']


async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/androidtv/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

ANDROIDTV_DOMAIN = 'androidtv'

REQUIREMENTS = ['androidtv==0.0.15']

_LOGGER = logging.getLogger(__name__)

SUPPORT_ANDROIDTV = SUPPORT_PAUSE | SUPPORT_PLAY | \
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/anel_pwrctrl/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_USERNAME)
from homeassistant.util import Throttle

REQUIREMENTS = ['anel_pwrctrl-homeassistant==0.0.1.dev2']

_LOGGER = logging.getLogger(__name__)

CONF_PORT_RECV = 'port_recv'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/anthemav/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
STATE_ON)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['anthemav==1.1.10']

_LOGGER = logging.getLogger(__name__)

DOMAIN = 'anthemav'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/apcupsd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import homeassistant.helpers.config_validation as cv
from homeassistant.util import Throttle

REQUIREMENTS = ['apcaccess==0.0.13']

_LOGGER = logging.getLogger(__name__)

CONF_TYPE = 'type'
Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/apcupsd/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from homeassistant.components import apcupsd

DEFAULT_NAME = 'UPS Online Status'
DEPENDENCIES = [apcupsd.DOMAIN]

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})
Expand Down
Loading