From 758fcc9b001e971d08f0092285f9ab285f4bcd3d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 19 Oct 2019 11:33:21 -0700 Subject: [PATCH] Remove helper imports relying on installed requirements (#27898) --- homeassistant/helpers/state.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/homeassistant/helpers/state.py b/homeassistant/helpers/state.py index 2f49a566a32..4cb7fb85bff 100644 --- a/homeassistant/helpers/state.py +++ b/homeassistant/helpers/state.py @@ -11,11 +11,9 @@ from homeassistant.loader import bind_hass, async_get_integration, IntegrationNo import homeassistant.util.dt as dt_util from homeassistant.components.notify import ATTR_MESSAGE, SERVICE_NOTIFY from homeassistant.components.sun import STATE_ABOVE_HORIZON, STATE_BELOW_HORIZON -from homeassistant.components.mysensors.switch import ATTR_IR_CODE, SERVICE_SEND_IR_CODE from homeassistant.components.cover import ATTR_POSITION, ATTR_TILT_POSITION from homeassistant.const import ( ATTR_ENTITY_ID, - ATTR_OPTION, SERVICE_ALARM_ARM_AWAY, SERVICE_ALARM_ARM_HOME, SERVICE_ALARM_DISARM, @@ -41,7 +39,6 @@ from homeassistant.const import ( STATE_OPEN, STATE_UNKNOWN, STATE_UNLOCKED, - SERVICE_SELECT_OPTION, ) from homeassistant.core import Context, State, DOMAIN as HASS_DOMAIN from .typing import HomeAssistantType @@ -54,8 +51,6 @@ GROUP_DOMAIN = "group" # Each item is a service with a list of required attributes. SERVICE_ATTRIBUTES = { SERVICE_NOTIFY: [ATTR_MESSAGE], - SERVICE_SEND_IR_CODE: [ATTR_IR_CODE], - SERVICE_SELECT_OPTION: [ATTR_OPTION], SERVICE_SET_COVER_POSITION: [ATTR_POSITION], SERVICE_SET_COVER_TILT_POSITION: [ATTR_TILT_POSITION], }