Remove dependencies and requirements (#23024)
* Remove dependencies and requirements * Revert "Remove dependencies and requirements" This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7. * Remove dependencies and requirements * Revert "Remove dependencies and requirements" This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621. * Remove dependencies and requirements * Fix flake8 complaints * Fix more flake8 complaints * Revert non-component removals
This commit is contained in:
1 parent
f7d4c48199
commit
2c07bfb9e0
1156 files changed
+2
-2320
No files matched your search
@@ -28,9 +28,6 @@ from .smartapp import (
|
||||
unload_smartapp_endpoint, validate_installed_app,
|
||||
validate_webhook_requirements)
|
||||
|
||||
REQUIREMENTS = ['pysmartapp==0.3.2', 'pysmartthings==0.6.7']
|
||||
DEPENDENCIES = ['webhook']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
@@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
CAPABILITY_TO_ATTRIB = {
|
||||
'accelerationSensor': 'acceleration',
|
||||
'contactSensor': 'contact',
|
||||
|
||||
@@ -17,8 +17,6 @@ from homeassistant.const import (
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
ATTR_OPERATION_STATE = 'operation_state'
|
||||
MODE_TO_STATE = {
|
||||
'auto': STATE_AUTO,
|
||||
|
||||
@@ -11,8 +11,6 @@ from homeassistant.const import ATTR_BATTERY_LEVEL
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
VALUE_TO_STATE = {
|
||||
'closed': STATE_CLOSED,
|
||||
'closing': STATE_CLOSING,
|
||||
|
||||
@@ -8,8 +8,6 @@ from homeassistant.components.fan import (
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
VALUE_TO_SPEED = {
|
||||
0: SPEED_OFF,
|
||||
1: SPEED_LOW,
|
||||
|
||||
@@ -11,8 +11,6 @@ import homeassistant.util.color as color_util
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
|
||||
async def async_setup_platform(
|
||||
hass, config, async_add_entities, discovery_info=None):
|
||||
|
||||
@@ -6,8 +6,6 @@ from homeassistant.components.lock import LockDevice
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
ST_STATE_LOCKED = 'locked'
|
||||
ST_LOCK_ATTR_MAP = {
|
||||
'codeId': 'code_id',
|
||||
|
||||
@@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene
|
||||
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
|
||||
async def async_setup_platform(
|
||||
hass, config, async_add_entities, discovery_info=None):
|
||||
|
||||
@@ -10,8 +10,6 @@ from homeassistant.const import (
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
Map = namedtuple("map", "attribute name default_unit device_class")
|
||||
|
||||
CAPABILITY_TO_SENSORS = {
|
||||
|
||||
@@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice
|
||||
from . import SmartThingsEntity
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
|
||||
DEPENDENCIES = ['smartthings']
|
||||
|
||||
|
||||
async def async_setup_platform(
|
||||
hass, config, async_add_entities, discovery_info=None):
|
||||
|
||||
Reference in new issue
Block a user