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:
parent
f46dc3c48e
commit
57ce182959
@ -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")
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user