From daa7fbb28dfebc8743bc0d45b2177327a318c554 Mon Sep 17 00:00:00 2001 From: Philipp Grimm Date: Mon, 13 May 2024 15:27:55 +0200 Subject: [PATCH] test fire_last_message_received --- custom_components/eltako/const.py | 1 - custom_components/eltako/gateway.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/custom_components/eltako/const.py b/custom_components/eltako/const.py index c15c429c..c3157eb6 100644 --- a/custom_components/eltako/const.py +++ b/custom_components/eltako/const.py @@ -20,7 +20,6 @@ SIGNAL_RECEIVE_MESSAGE: Final = "receive_message" SIGNAL_SEND_MESSAGE: Final = "send_message" -SIGNAL_GATEWAY_CONNECTION_STATUS: Final = "gateway_connection_status" EVENT_BUTTON_PRESSED: Final = "btn_pressed" EVENT_CONTACT_CLOSED: Final = "contact_closed" diff --git a/custom_components/eltako/gateway.py b/custom_components/eltako/gateway.py index 88860f23..947f4802 100644 --- a/custom_components/eltako/gateway.py +++ b/custom_components/eltako/gateway.py @@ -217,9 +217,6 @@ 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.base_id, SIGNAL_RECEIVE_MESSAGE) - # async_dispatcher_connect(self.hass, event_id, self.process_messages) - # Register home assistant service for sending arbitrary telegrams. # # The service will be registered for each gateway, as the user