Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 1.41 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.41 KB

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.