Fix "Unable to find entity" at Waze component (#21087)
Should fix https://github.com/home-assistant/home-assistant/issues/20953 (Unable to create this issue on my HA platform)
This commit is contained in:
parent
eb573c2701
commit
b44ff38f5a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||||
sensor = WazeTravelTime(name, origin, destination, region,
|
sensor = WazeTravelTime(name, origin, destination, region,
|
||||||
incl_filter, excl_filter, realtime)
|
incl_filter, excl_filter, realtime)
|
||||||
|
|
||||||
add_entities([sensor], True)
|
add_entities([sensor])
|
||||||
|
|
||||||
# Wait until start event is sent to load this component.
|
# Wait until start event is sent to load this component.
|
||||||
hass.bus.listen_once(
|
hass.bus.listen_once(
|
||||||
|
|
Loading…
Add table
Reference in a new issue