feat(plugin): hass-cli raw ws for websocket apis#274
Merged
maxandersen merged 2 commits intohome-assistant-ecosystem:devfrom Aug 30, 2019
Merged
feat(plugin): hass-cli raw ws for websocket apis#274maxandersen merged 2 commits intohome-assistant-ecosystem:devfrom
maxandersen merged 2 commits intohome-assistant-ecosystem:devfrom
Conversation
houndci-bot
reviewed
Aug 30, 2019
houndci-bot
reviewed
Aug 30, 2019
921c653 to
c47123e
Compare
Codecov Report
@@ Coverage Diff @@
## dev #274 +/- ##
==========================================
+ Coverage 74.91% 75.27% +0.35%
==========================================
Files 22 22
Lines 1539 1561 +22
==========================================
+ Hits 1153 1175 +22
Misses 386 386
Continue to review full report at Codecov.
|
Why: * HomeAssistant dropped python 3.5, no need for us to sustain more pain. This change addreses the need by: * Remove all references to python 3.5 in travis, circle and setup.* files.
Why:
* testing out websocket apis before there are commands for it
are tedious. would be nice to have ability like `raw get` to
access websocket api.
This change addreses the need by:
* introduce `hass-cli raw ws <method> --json <optional data>` command.
Example:
```
hass-cli raw ws config/area_registry/delete --json='{ "area_id":"2c8bf93c8082492f99c989896962f207" }'
```
* Fixed a few mypy / static check errors.
Resolves home-assistant-ecosystem#271
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why:
are tedious. would be nice to have ability like
raw gettoaccess websocket api.
This change addreses the need by:
hass-cli raw ws <method> --json <optional data>command.Example:
Resolves: