mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Update mqtt_eventstream.py (#14923)
* Update mqtt_eventstream.py Remove a line setting an internal state mqtt_eventstream.initialized to True since: 1. No other platform is doing this 2. This will create an annoying entity/item in the user interface which the user will have to explicitly hide * Update mqtt_eventstream.py
This commit is contained in:
parent
1c561eaf0d
commit
576c806e86
@ -116,5 +116,4 @@ def async_setup(hass, config):
|
|||||||
if sub_topic:
|
if sub_topic:
|
||||||
yield from mqtt.async_subscribe(sub_topic, _event_receiver)
|
yield from mqtt.async_subscribe(sub_topic, _event_receiver)
|
||||||
|
|
||||||
hass.states.async_set('{domain}.initialized'.format(domain=DOMAIN), True)
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user