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

home-assistant / home-assistant-cli / 274 / 4
72%
dev: 72%

Build:
DEFAULT BRANCH: dev
Ran 09 Feb 2019 10:44PM UTC
Files 23
Run time 1s
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

09 Feb 2019 10:40PM UTC coverage: 75.361% (-2.6%) from 77.997%
TOXENV=cov

push

travis-ci-com

maxandersen
Device, Area and event support

Why:

 * HA is exposing more and more functionallity tied to Device and
   Area registries. Nice to be able to edit areas especially without
   requiring use of browser UI.
 * Monitoring events can be tedious. Lets have a way to monitor.

This change addreses the need by:

 * add initial basic support of access websocket api.
   Currently no sharing of connection. One connection
   made per request, similar to rest api.
 * Add `device list` and `assign` command for devices.
   - list takes a match/filter similar to `entity list`
     i.e. `hass-cli device list 'Kitchen.*Light'
   - assign takes an area name or id together with
     one or more devices specificed by id/name or match.
     i.e. `device assign "Kitchen" --match "Kitchen" 'Ceiling Lamp' 32342334
 * Autocompletion for area names.
 * fixes for setuptools bug that cause build failures
   when dist folder present.
 * Finally a crude but working `entity watch` that simply just
   listen to event bus and print them out. Takes optional argument
   for event types.

1147 of 1522 relevant lines covered (75.36%)

0.75 hits per line

Source Files on job 274.4 (TOXENV=cov)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 205
  • Travis Job 274.4
  • 237ade81 on github
  • Prev Job for TOXENV=cov on dev (#262.4)
  • Next Job for TOXENV=cov on dev (#275.4)
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