custom-components / sensor.yandex_maps

A platform which give you the time it will take to drive.
MIT License
25 stars 25 forks source link

Extend start and destination possible values #7

Closed h4 closed 5 years ago

h4 commented 5 years ago

Now it is possible to configure both sensor's start and destination either raw coords, device_tracker entity or zone entity.

For example, I add two sensors:

sensor:
  - platform: yandex_maps
    start: 'device_tracker.mikhails_iphone'
    destination: 'zone.home'
    name: Time to home
  - platform: yandex_maps
    start: 'zone.home'
    destination: 'zone.work'

And it is more helpful for me now

image

LakMuSer commented 4 years ago

Hello! Add ability to avoid tolls roads. Thank you.