/sensor.yandex_maps

A platform which give you the time it will take to drive.

Primary LanguagePythonMIT LicenseMIT

sensor.yandex_maps

BuyMeCoffee custom_updater

A platform which give you the time it will take to drive.

Data is fetched from yandex.ru.

example

Installation

To get started put /custom_components/yandex_maps/sensor.py here:
<config directory>/custom_components/yandex_maps/sensor.py

Example configuration.yaml

sensor:
  platform: yandex_maps
  start: 'device_tracker.my_phone'
  destination: '29.361133,54.991133'
  name: Time to work

Configuration variables

key type description
platform (Required) string The platform name.
start (Required) string ID of an entity which have latitude and longitude attributes, or GPS coordinates like '29.361133,54.991133'.
destination (Required) string ID of an entity which have latitude and longitude attributes, or GPS coordinates like '29.361133,54.991133'.
name (Required) string Name of the sensor.