diff --git a/custom_components/eltako/gateway.py b/custom_components/eltako/gateway.py index 3ad0594a..d6ffc2e4 100644 --- a/custom_components/eltako/gateway.py +++ b/custom_components/eltako/gateway.py @@ -210,7 +210,7 @@ async def async_setup(self): self.hass, event_id, self._callback_send_message_to_serial_bus ) - event_id = config_helpers.get_bus_event_type(self.gateway.base_id, SIGNAL_RECEIVE_MESSAGE) + event_id = config_helpers.get_bus_event_type(self.base_id, SIGNAL_RECEIVE_MESSAGE) async_dispatcher_connect(self.hass, event_id, self.process_messages) # Register home assistant service for sending arbitrary telegrams.