1
mirror of https://github.com/home-assistant/core synced 2024-08-31 05:57:13 +02:00

Remove unnecessary constant from ihc (#46268)

This commit is contained in:
tkdrob 2021-02-09 14:21:04 -05:00 committed by GitHub
parent f46dc3c48e
commit 57ce182959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View File

@ -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")

View File

@ -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"