New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(plugin): hass-cli raw ws for websocket apis #274
Merged
Merged
Conversation
This file contains 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
houndci-bot
reviewed
Aug 30, 2019
houndci-bot
reviewed
Aug 30, 2019
maxandersen
force-pushed
the
wsraw
branch
5 times, most recently
from
August 30, 2019 16:14
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
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 get
toaccess websocket api.
This change addreses the need by:
hass-cli raw ws <method> --json <optional data>
command.Example:
Resolves: