Skip to content
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

Fix coreGreenberet/homematicip-rest-api#409 #410

Merged
merged 8 commits into from
May 26, 2021

Conversation

schiegg
Copy link
Contributor

@schiegg schiegg commented May 23, 2021

Add support for channel parsing in SECURITY_ZONES and SECURITY_AND_ALARM

Co-Authored-By: Hoytron [email protected]

@coreGreenberet
Copy link
Collaborator

thanks for the PR.
Could you update the https://github.com/coreGreenberet/homematicip-rest-api/blob/master/homematicip_demo/json_data/home.json also with the new group settings?
At the moment this PR is failing as the test suite can't be parsed with the new fields

@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #410 (ba56d20) into master (c1177e4) will increase coverage by 0.00%.
The diff coverage is 91.66%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #410   +/-   ##
=======================================
  Coverage   96.52%   96.53%           
=======================================
  Files          42       42           
  Lines        8315     8336   +21     
=======================================
+ Hits         8026     8047   +21     
  Misses        289      289           
Impacted Files Coverage Δ
homematicip/group.py 77.70% <33.33%> (+0.02%) ⬆️
homematicip/functionalHomes.py 100.00% <100.00%> (ø)
tests/test_groups.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1177e4...ba56d20. Read the comment docs.

@coreGreenberet
Copy link
Collaborator

thx

@coreGreenberet coreGreenberet merged commit dbc84a5 into hahn-th:master May 26, 2021
schiegg referenced this pull request in schiegg/home-assistant-core Jul 3, 2021
Pull request home-assistant#51407 addresses the changes done in coreGreenberet/homematicip-rest-api#410 only by updating the dependency to the newer released version of it, making it aware of the new channel indexes.
However it currently fails the integration checks [as mentioned by @frenck](home-assistant#51407 (review)).
It seems that the local homeassistant test suite also has a dedicated version of the test data written [here](https://github.com/coreGreenberet/homematicip-rest-api/blob/d7c1b2c231603603b543e57eff1c0bcd6fd5e268/homematicip_demo/json_data/home.json#L8598). 
So maybe we also have to manually sync these changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants