Skip to content

Commit

Permalink
Teach-In buttons for lights, covers, and climate added
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Mar 14, 2024
1 parent 7ede857 commit 6ad71b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/eltako/eltako_integration_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
if gateway_device_type is None:
LOGGER.error(f"[{LOG_PREFIX}] USB device {gateway_config[CONF_DEVICE_TYPE]} is not supported!!!")
return False
general_settings[CONF_ENABLE_TEACH_IN_BUTTONS] = GatewayDeviceType.is_transceiver(gateway_device_type)
general_settings[CONF_ENABLE_TEACH_IN_BUTTONS] = True # GatewayDeviceType.is_transceiver(gateway_device_type) # should only be disabled for decentral gateways

LOGGER.info(f"[{LOG_PREFIX}] Initializes Gateway Device '{gateway_description}'")
gateway_name = gateway_config.get(CONF_NAME, None) # from configuration
Expand Down

0 comments on commit 6ad71b8

Please sign in to comment.