diff --git a/homeassistant/components/honeywell/__init__.py b/homeassistant/components/honeywell/__init__.py index 816d2abf78c..c79d99276b1 100644 --- a/homeassistant/components/honeywell/__init__.py +++ b/homeassistant/components/honeywell/__init__.py @@ -13,9 +13,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from .const import ( _LOGGER, CONF_COOL_AWAY_TEMPERATURE, - CONF_DEV_ID, CONF_HEAT_AWAY_TEMPERATURE, - CONF_LOC_ID, DOMAIN, ) @@ -70,15 +68,10 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b "Failed to initialize the Honeywell client: Connection error" ) from ex - loc_id = config_entry.data.get(CONF_LOC_ID) - dev_id = config_entry.data.get(CONF_DEV_ID) - devices = {} for location in client.locations_by_id.values(): - if not loc_id or location.locationid == loc_id: - for device in location.devices_by_id.values(): - if not dev_id or device.deviceid == dev_id: - devices[device.deviceid] = device + for device in location.devices_by_id.values(): + devices[device.deviceid] = device if len(devices) == 0: _LOGGER.debug("No devices found") diff --git a/homeassistant/components/honeywell/const.py b/homeassistant/components/honeywell/const.py index 32846563c44..28868812e24 100644 --- a/homeassistant/components/honeywell/const.py +++ b/homeassistant/components/honeywell/const.py @@ -7,7 +7,5 @@ CONF_COOL_AWAY_TEMPERATURE = "away_cool_temperature" CONF_HEAT_AWAY_TEMPERATURE = "away_heat_temperature" DEFAULT_COOL_AWAY_TEMPERATURE = 88 DEFAULT_HEAT_AWAY_TEMPERATURE = 61 -CONF_DEV_ID = "thermostat" -CONF_LOC_ID = "location" _LOGGER = logging.getLogger(__name__) RETRY = 3