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:
parent
eb573c2701
commit
b44ff38f5a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user