diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 8769f73e365..c539156b759 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -230,7 +230,6 @@ def setup(hass, config): def ihc_setup(hass, config, conf, controller_id): """Set up the IHC component.""" - url = conf[CONF_URL] username = conf[CONF_USERNAME] password = conf[CONF_PASSWORD] @@ -289,7 +288,6 @@ def autosetup_ihc_products( hass: HomeAssistantType, config, ihc_controller, controller_id ): """Auto setup of IHC products from the IHC project file.""" - project_xml = ihc_controller.get_project() if not project_xml: _LOGGER.error("Unable to read project from IHC controller") diff --git a/homeassistant/components/ihc/const.py b/homeassistant/components/ihc/const.py index 30103e2bdba..c751d7990e4 100644 --- a/homeassistant/components/ihc/const.py +++ b/homeassistant/components/ihc/const.py @@ -6,7 +6,6 @@ CONF_DIMMABLE = "dimmable" CONF_INFO = "info" CONF_INVERTING = "inverting" CONF_LIGHT = "light" -CONF_NAME = "name" CONF_NODE = "node" CONF_NOTE = "note" CONF_OFF_ID = "off_id"