• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

home-assistant / home-assistant-cli / 414
72%

Build:
DEFAULT BRANCH: dev
Ran 22 Feb 2019 01:46AM UTC
Jobs 1
Files 24
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
414

push

travis-ci-com

maxandersen
feat: `map` for entities and multiple map services

Why:

 * openstreetmap isn't always the best option.
 * there are more than just configuration with location info.

This change addreses the need by:

 * introduce a `--service` option to let you choose which
   map service to use. currently: openstreetmap, google and bing
   implemented
 * add optional entity parameter to lookup and it has
   latitiude and longitude in its state it will be mapped.
 * bing has extra feature of allowing showing a name/label, here
   `friendly_name` is used otherwise `entity_id`

Example usage:

`hass-cli map person.max`
`hass-cli --service bing device_tracker.maxs_phone`

Future idea: allow to map multiple points, can be done as directions
in google but Bing has better support.

1220 of 1639 relevant lines covered (74.44%)

0.74 hits per line

Jobs
ID Job ID Ran Files Coverage
4 414.4 (TOXENV=cov) 22 Feb 2019 01:46AM UTC 0
74.44
Travis Job 414.4
Source Files on build 414
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #414
  • 542c0db8 on github
  • Prev Build on dev (#409)
  • Next Build on dev (#422)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc