From f1075644f8198abfdce925848386bd1c891594dc Mon Sep 17 00:00:00 2001
From: Martin Hjelmare <marhje52@gmail.com>
Date: Wed, 24 Aug 2022 00:00:54 +0200
Subject: [PATCH] Bump pymysensors to 0.24.0 (#77201)

---
 homeassistant/components/mysensors/gateway.py    | 3 ---
 homeassistant/components/mysensors/manifest.json | 2 +-
 requirements_all.txt                             | 2 +-
 requirements_test_all.txt                        | 2 +-
 4 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/homeassistant/components/mysensors/gateway.py b/homeassistant/components/mysensors/gateway.py
index 7f13035f55c..c93e0380757 100644
--- a/homeassistant/components/mysensors/gateway.py
+++ b/homeassistant/components/mysensors/gateway.py
@@ -196,7 +196,6 @@ async def _get_gateway(
             in_prefix=topic_in_prefix,
             out_prefix=topic_out_prefix,
             retain=retain,
-            loop=hass.loop,
             event_callback=None,
             persistence=persistence,
             persistence_file=persistence_file,
@@ -206,7 +205,6 @@ async def _get_gateway(
         gateway = mysensors.AsyncSerialGateway(
             device,
             baud=baud_rate,
-            loop=hass.loop,
             event_callback=None,
             persistence=persistence,
             persistence_file=persistence_file,
@@ -216,7 +214,6 @@ async def _get_gateway(
         gateway = mysensors.AsyncTCPGateway(
             device,
             port=tcp_port,
-            loop=hass.loop,
             event_callback=None,
             persistence=persistence,
             persistence_file=persistence_file,
diff --git a/homeassistant/components/mysensors/manifest.json b/homeassistant/components/mysensors/manifest.json
index dafdd7c86bc..a340e1ef4da 100644
--- a/homeassistant/components/mysensors/manifest.json
+++ b/homeassistant/components/mysensors/manifest.json
@@ -2,7 +2,7 @@
   "domain": "mysensors",
   "name": "MySensors",
   "documentation": "https://www.home-assistant.io/integrations/mysensors",
-  "requirements": ["pymysensors==0.22.1"],
+  "requirements": ["pymysensors==0.24.0"],
   "after_dependencies": ["mqtt"],
   "codeowners": ["@MartinHjelmare", "@functionpointer"],
   "config_flow": true,
diff --git a/requirements_all.txt b/requirements_all.txt
index b1ae90221f5..ad81c61920d 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -1692,7 +1692,7 @@ pymsteams==0.1.12
 pymyq==3.1.4
 
 # homeassistant.components.mysensors
-pymysensors==0.22.1
+pymysensors==0.24.0
 
 # homeassistant.components.netgear
 pynetgear==0.10.7
diff --git a/requirements_test_all.txt b/requirements_test_all.txt
index 5d83beb5c5f..d34de5e090a 100644
--- a/requirements_test_all.txt
+++ b/requirements_test_all.txt
@@ -1181,7 +1181,7 @@ pymonoprice==0.3
 pymyq==3.1.4
 
 # homeassistant.components.mysensors
-pymysensors==0.22.1
+pymysensors==0.24.0
 
 # homeassistant.components.netgear
 pynetgear==0.10.7
-- 
GitLab