From a77375b0ee003c7672b2886e7b540ae38dc1afdf Mon Sep 17 00:00:00 2001 From: Philipp Grimm Date: Mon, 13 May 2024 12:45:04 +0200 Subject: [PATCH] test fire_last_message_received --- custom_components/eltako/gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.