cmroche / greeclimate

Python package for controlling Gree based minisplit systems
GNU General Public License v3.0
44 stars 22 forks source link

fix: invalid device state after bind #100

Open cmroche opened 3 months ago

cmroche commented 3 months ago

Immediately call for as state update as soon as the device is bound, add a signal that can be used to check that the device has received it's first state update.

Removed unused, optional, wait_for parameter on update_state and send_device_state

CLOSES #99

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.79%. Comparing base (7122cdd) to head (fbf9748). Report is 1 commits behind head on master.

Files Patch % Lines
greeclimate/device.py 90.90% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #100 +/- ## ========================================== + Coverage 95.75% 95.79% +0.04% ========================================== Files 8 8 Lines 730 737 +7 ========================================== + Hits 699 706 +7 Misses 31 31 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.