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

Ensure floating point values are truncated for int formats #361

Merged
merged 4 commits into from
Jul 29, 2021

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Jul 24, 2021

  • Solves XX.0 unexpectedly appearing in events and get chars

@codecov
Copy link

codecov bot commented Jul 24, 2021

Codecov Report

Merging #361 (7b8a336) into dev (18767c2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev     #361   +/-   ##
=======================================
  Coverage   91.01%   91.02%           
=======================================
  Files          20       20           
  Lines        1937     1939    +2     
  Branches      224      225    +1     
=======================================
+ Hits         1763     1765    +2     
  Misses        131      131           
  Partials       43       43           
Impacted Files Coverage Δ
pyhap/camera.py 77.21% <100.00%> (ø)
pyhap/characteristic.py 100.00% <100.00%> (ø)

@bdraco bdraco marked this pull request as ready for review July 24, 2021 14:48
@ikalchev ikalchev merged commit ee3ef9a into ikalchev:dev Jul 29, 2021
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.

2 participants