From 68179e26728241ee0eefe59be7de6b0a1ab669f4 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 12 May 2020 10:48:51 -0500 Subject: [PATCH] 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. --- homeassistant/components/sense/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/sense/manifest.json b/homeassistant/components/sense/manifest.json index d0bed82673..deadf759f0 100644 --- a/homeassistant/components/sense/manifest.json +++ b/homeassistant/components/sense/manifest.json @@ -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 } diff --git a/requirements_all.txt b/requirements_all.txt index 788b8362b2..c11e2da829 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6b4d46f9f0..274b8e7ab0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -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