1
mirror of https://github.com/home-assistant/core synced 2024-09-28 03:04:04 +02:00

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:
Eliran Turgeman 2019-02-15 12:48:27 +02:00 committed by Martin Hjelmare
parent eb573c2701
commit b44ff38f5a

View File

@ -70,7 +70,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
sensor = WazeTravelTime(name, origin, destination, region,
incl_filter, excl_filter, realtime)
add_entities([sensor], True)
add_entities([sensor])
# Wait until start event is sent to load this component.
hass.bus.listen_once(