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

Merge char improvements, doc changes, version 1.1.9 #79

Merged
merged 5 commits into from
Apr 6, 2018
Merged

Conversation

ikalchev
Copy link
Owner

@ikalchev ikalchev commented Apr 6, 2018

No description provided.

ikalchev and others added 5 commits March 29, 2018 22:26
* Merged set_value and get_hap_value

* Small improvements
* Added helper method '_validate_value'
* Added helper method '_get_default_value'
* Raise ValueError if properties are invalid
* Added __slots__

* Additional changes

* New method: update_value (use for value updates from HAP-python)
* Rename: to_HAP to to_dict
* New method: from_dict (use during loading of chars)

* Addressed comments

* Fixed errors, small mistakes

* Added debug statements

* Changed '_LOGGER' to 'logger'

* Changed raise error to return None

* Raising ValueErrors with custom msg

* Bugfix, added additional logger.error statements

* Rearanged functions

* Added error_msg parameter

* Added tests

* Added '/htmlcov' to .gitignore
@codecov-io
Copy link

codecov-io commented Apr 6, 2018

Codecov Report

Merging #79 into master will increase coverage by 1.74%.
The diff coverage is 96.42%.

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
+ Coverage   42.48%   44.22%   +1.74%     
==========================================
  Files          12       12              
  Lines        1224     1230       +6     
  Branches      120      119       -1     
==========================================
+ Hits          520      544      +24     
+ Misses        691      676      -15     
+ Partials       13       10       -3
Impacted Files Coverage Δ
pyhap/service.py 65.21% <0%> (ø) ⬆️
pyhap/accessory_driver.py 37.56% <0%> (ø) ⬆️
pyhap/__init__.py 100% <100%> (ø) ⬆️
pyhap/accessory.py 56.73% <100%> (ø) ⬆️
pyhap/characteristic.py 100% <100%> (+20.68%) ⬆️

Copy link
Contributor

@cdce8p cdce8p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ikalchev ikalchev merged commit 084bb73 into master Apr 6, 2018
@cdce8p
Copy link
Contributor

cdce8p commented Apr 6, 2018

@ikalchev Could you create a new release (for Github)?

@ikalchev
Copy link
Owner Author

ikalchev commented Apr 6, 2018

Done

@cdce8p
Copy link
Contributor

cdce8p commented Apr 6, 2018

Thanks 👍

ikalchev pushed a commit that referenced this pull request Apr 25, 2018
* Remove breaking change description from README.

* Characteristic improvements (#73)

* Merged set_value and get_hap_value

* Small improvements
* Added helper method '_validate_value'
* Added helper method '_get_default_value'
* Raise ValueError if properties are invalid
* Added __slots__

* Additional changes

* New method: update_value (use for value updates from HAP-python)
* Rename: to_HAP to to_dict
* New method: from_dict (use during loading of chars)

* Addressed comments

* Fixed errors, small mistakes

* Added debug statements

* Changed '_LOGGER' to 'logger'

* Changed raise error to return None

* Raising ValueErrors with custom msg

* Bugfix, added additional logger.error statements

* Rearanged functions

* Added error_msg parameter

* Added tests

* Added '/htmlcov' to .gitignore

* Bump version number to 1.1.9
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.

None yet

3 participants