Skip to content

Conversation

RenierM26
Copy link
Contributor

@RenierM26 RenierM26 commented Feb 19, 2022

  • Improve handling of disc state.
  • Default Connection timeout, instead of bluepy default, if unable to connect to device after 40 seconds.

@RenierM26 RenierM26 marked this pull request as ready for review February 20, 2022 07:43
@Danielhiversen Danielhiversen merged commit 23efbec into sblibs:master Feb 21, 2022
@pascalwinters
Copy link

pascalwinters commented Feb 22, 2022

[copied to related PR]
@RenierM26 For me it's stable since the beginning of using this fix. Two remarks/questions:

  1. Maybe it's good, to mark this line as DEBUG:
    2022-02-20 11:12:40 WARNING (SyncWorker_2) [switchbot] Bluepy busy, waiting before retry

  2. I'm missing the log of reading each (I mean) 60 seconds the current status. Is this log event deleted?

@heisenberg2980
Copy link

@RenierM26 @pascalwinters as this has already been merged, do we need to open a PR for HA?

@pascalwinters
Copy link

@RenierM26 @pascalwinters as this has already been merged, do we need to open a PR for HA?

No, it’s aleady done and merged 😉
home-assistant/core#67025

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.

4 participants