mirror of
https://github.com/home-assistant/core
synced 2024-09-12 15:16:21 +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):
|
def ihc_setup(hass, config, conf, controller_id):
|
||||||
"""Set up the IHC component."""
|
"""Set up the IHC component."""
|
||||||
|
|
||||||
url = conf[CONF_URL]
|
url = conf[CONF_URL]
|
||||||
username = conf[CONF_USERNAME]
|
username = conf[CONF_USERNAME]
|
||||||
password = conf[CONF_PASSWORD]
|
password = conf[CONF_PASSWORD]
|
||||||
@ -289,7 +288,6 @@ def autosetup_ihc_products(
|
|||||||
hass: HomeAssistantType, config, ihc_controller, controller_id
|
hass: HomeAssistantType, config, ihc_controller, controller_id
|
||||||
):
|
):
|
||||||
"""Auto setup of IHC products from the IHC project file."""
|
"""Auto setup of IHC products from the IHC project file."""
|
||||||
|
|
||||||
project_xml = ihc_controller.get_project()
|
project_xml = ihc_controller.get_project()
|
||||||
if not project_xml:
|
if not project_xml:
|
||||||
_LOGGER.error("Unable to read project from IHC controller")
|
_LOGGER.error("Unable to read project from IHC controller")
|
||||||
|
@ -6,7 +6,6 @@ CONF_DIMMABLE = "dimmable"
|
|||||||
CONF_INFO = "info"
|
CONF_INFO = "info"
|
||||||
CONF_INVERTING = "inverting"
|
CONF_INVERTING = "inverting"
|
||||||
CONF_LIGHT = "light"
|
CONF_LIGHT = "light"
|
||||||
CONF_NAME = "name"
|
|
||||||
CONF_NODE = "node"
|
CONF_NODE = "node"
|
||||||
CONF_NOTE = "note"
|
CONF_NOTE = "note"
|
||||||
CONF_OFF_ID = "off_id"
|
CONF_OFF_ID = "off_id"
|
||||||
|
Loading…
Reference in New Issue
Block a user