Skip to content
Snippets Groups Projects
Commit 51773f33 authored by Petro31's avatar Petro31 Committed by Paulus Schoutsen
Browse files

Add person support for Waze Travel Time (#21471)

Adds person to the list of TRACKABLE_DOMAINS domains.  _get_location_from_entity will handle the person domain without any changes.
parent 822b6328
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ REGIONS = ['US', 'NA', 'EU', 'IL', 'AU'] ...@@ -44,7 +44,7 @@ REGIONS = ['US', 'NA', 'EU', 'IL', 'AU']
SCAN_INTERVAL = timedelta(minutes=5) SCAN_INTERVAL = timedelta(minutes=5)
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5) MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5)
TRACKABLE_DOMAINS = ['device_tracker', 'sensor', 'zone'] TRACKABLE_DOMAINS = ['device_tracker', 'sensor', 'zone', 'person']
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_ORIGIN): cv.string, vol.Required(CONF_ORIGIN): cv.string,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment