Fix sense doing I/O in the event loop (#35523)

When the websocket is created `SSLContext.load_default_certs` is called
each time which opens up the system default ssl certs file and reads it in

Normally this goes unnoticed, however since there are frequent connects
and disconnects of the websocket it was noticeable.
This commit is contained in:
J. Nick Koston 2020-05-12 10:48:51 -05:00 committed by GitHub
parent 1bb01dccf5
commit 68179e2672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"domain": "sense",
"name": "Sense",
"documentation": "https://www.home-assistant.io/integrations/sense",
"requirements": ["sense_energy==0.7.1"],
"requirements": ["sense_energy==0.7.2"],
"codeowners": ["@kbickar"],
"config_flow": true
}

View File

@ -1907,7 +1907,7 @@ sendgrid==6.2.1
sense-hat==2.2.0
# homeassistant.components.sense
sense_energy==0.7.1
sense_energy==0.7.2
# homeassistant.components.sentry
sentry-sdk==0.13.5

View File

@ -768,7 +768,7 @@ samsungctl[websocket]==0.7.1
samsungtvws[websocket]==1.4.0
# homeassistant.components.sense
sense_energy==0.7.1
sense_energy==0.7.2
# homeassistant.components.sentry
sentry-sdk==0.13.5