From 8d251c190fd15b5096a6fce038697b4eb72a31aa Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Tue, 1 Oct 2019 22:02:43 +0200 Subject: [PATCH] Delete here_travel_time dead code COORDINATE_SCHEMA (#27090) --- homeassistant/components/here_travel_time/sensor.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/homeassistant/components/here_travel_time/sensor.py b/homeassistant/components/here_travel_time/sensor.py index ba4908fe85c..8fd4b4fe94a 100755 --- a/homeassistant/components/here_travel_time/sensor.py +++ b/homeassistant/components/here_travel_time/sensor.py @@ -93,13 +93,6 @@ TRACKABLE_DOMAINS = ["device_tracker", "sensor", "zone", "person"] NO_ROUTE_ERROR_MESSAGE = "HERE could not find a route based on the input" -COORDINATE_SCHEMA = vol.Schema( - { - vol.Inclusive(CONF_DESTINATION_LATITUDE, "coordinates"): cv.latitude, - vol.Inclusive(CONF_DESTINATION_LONGITUDE, "coordinates"): cv.longitude, - } -) - PLATFORM_SCHEMA = vol.All( cv.has_at_least_one_key(CONF_DESTINATION_LATITUDE, CONF_DESTINATION_ENTITY_ID), cv.has_at_least_one_key(CONF_ORIGIN_LATITUDE, CONF_ORIGIN_ENTITY_ID),