Skip to content

Commit 600e5e6

Browse files
authored
Do not subscribe to service_registered event (#119)
Fixes #40
1 parent 35f1912 commit 600e5e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/remote_homeassistant/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
EVENT_CALL_SERVICE,
2828
EVENT_HOMEASSISTANT_STOP,
2929
EVENT_STATE_CHANGED,
30-
EVENT_SERVICE_REGISTERED,
3130
CONF_EXCLUDE,
3231
CONF_ENTITIES,
3332
CONF_ENTITY_ID,
@@ -144,7 +143,7 @@
144143
HEARTBEAT_INTERVAL = 20
145144
HEARTBEAT_TIMEOUT = 5
146145

147-
INTERNALLY_USED_EVENTS = [EVENT_STATE_CHANGED, EVENT_SERVICE_REGISTERED]
146+
INTERNALLY_USED_EVENTS = [EVENT_STATE_CHANGED]
148147

149148

150149
def async_yaml_to_config_entry(instance_conf):

0 commit comments

Comments
 (0)