Geo location trigger added (#16967)

* zone trigger supports entity id pattern

* fixed lint error

* fixed test code

* initial version of new geo_location trigger

* revert to original

* simplified code and added tests

* refactored geo_location trigger to be based on a source defined by the entity

* amended test cases

* small refactorings
This commit is contained in:
Malte Franken 2018-10-23 05:01:01 +11:00 committed by Paulus Schoutsen
parent 42a444712b
commit 75e42acfe7
3 changed files with 346 additions and 0 deletions

View file

@ -129,6 +129,7 @@ CONF_SENSOR_TYPE = 'sensor_type'
CONF_SENSORS = 'sensors'
CONF_SHOW_ON_MAP = 'show_on_map'
CONF_SLAVE = 'slave'
CONF_SOURCE = 'source'
CONF_SSL = 'ssl'
CONF_STATE = 'state'
CONF_STATE_TEMPLATE = 'state_template'