From c8556f69e71486ad45874661a0c885b510079969 Mon Sep 17 00:00:00 2001
From: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
Date: Sun, 20 Oct 2024 15:25:13 +0200
Subject: [PATCH] Bump plugwise to v1.4.3 (#128773)

---
 homeassistant/components/plugwise/manifest.json    |  2 +-
 requirements_all.txt                               |  2 +-
 requirements_test_all.txt                          |  2 +-
 .../plugwise/fixtures/m_adam_jip/all_data.json     |  2 +-
 .../m_adam_multiple_devices_per_zone/all_data.json | 14 +++++++-------
 .../plugwise/snapshots/test_diagnostics.ambr       | 14 +++++++-------
 6 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/homeassistant/components/plugwise/manifest.json b/homeassistant/components/plugwise/manifest.json
index b1ce8961110..89378ae5b90 100644
--- a/homeassistant/components/plugwise/manifest.json
+++ b/homeassistant/components/plugwise/manifest.json
@@ -7,6 +7,6 @@
   "integration_type": "hub",
   "iot_class": "local_polling",
   "loggers": ["plugwise"],
-  "requirements": ["plugwise==1.4.0"],
+  "requirements": ["plugwise==1.4.3"],
   "zeroconf": ["_plugwise._tcp.local."]
 }
diff --git a/requirements_all.txt b/requirements_all.txt
index e793bbb3e47..21e9a4b3d76 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -1612,7 +1612,7 @@ plexauth==0.0.6
 plexwebsocket==0.0.14
 
 # homeassistant.components.plugwise
-plugwise==1.4.0
+plugwise==1.4.3
 
 # homeassistant.components.plum_lightpad
 plumlightpad==0.0.11
diff --git a/requirements_test_all.txt b/requirements_test_all.txt
index ebaa06569d5..8f1b8879cbe 100644
--- a/requirements_test_all.txt
+++ b/requirements_test_all.txt
@@ -1319,7 +1319,7 @@ plexauth==0.0.6
 plexwebsocket==0.0.14
 
 # homeassistant.components.plugwise
-plugwise==1.4.0
+plugwise==1.4.3
 
 # homeassistant.components.plum_lightpad
 plumlightpad==0.0.11
diff --git a/tests/components/plugwise/fixtures/m_adam_jip/all_data.json b/tests/components/plugwise/fixtures/m_adam_jip/all_data.json
index 50c3fa5a7dc..ec2095648b8 100644
--- a/tests/components/plugwise/fixtures/m_adam_jip/all_data.json
+++ b/tests/components/plugwise/fixtures/m_adam_jip/all_data.json
@@ -86,7 +86,7 @@
     },
     "457ce8414de24596a2d5e7dbc9c7682f": {
       "available": true,
-      "dev_class": "zz_misc",
+      "dev_class": "zz_misc_plug",
       "location": "9e4433a9d69f40b3aefd15e74395eaec",
       "model": "Aqara Smart Plug",
       "model_id": "lumi.plug.maeu01",
diff --git a/tests/components/plugwise/fixtures/m_adam_multiple_devices_per_zone/all_data.json b/tests/components/plugwise/fixtures/m_adam_multiple_devices_per_zone/all_data.json
index 7a61bf10602..a182b1ac8dd 100644
--- a/tests/components/plugwise/fixtures/m_adam_multiple_devices_per_zone/all_data.json
+++ b/tests/components/plugwise/fixtures/m_adam_multiple_devices_per_zone/all_data.json
@@ -2,7 +2,7 @@
   "devices": {
     "02cf28bfec924855854c544690a609ef": {
       "available": true,
-      "dev_class": "vcr",
+      "dev_class": "vcr_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "cd143c07248f491493cea0533bc3d669",
       "model": "Plug",
@@ -23,7 +23,7 @@
     },
     "21f2b542c49845e6bb416884c55778d6": {
       "available": true,
-      "dev_class": "game_console",
+      "dev_class": "game_console_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "cd143c07248f491493cea0533bc3d669",
       "model": "Plug",
@@ -44,7 +44,7 @@
     },
     "4a810418d5394b3f82727340b91ba740": {
       "available": true,
-      "dev_class": "router",
+      "dev_class": "router_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "cd143c07248f491493cea0533bc3d669",
       "model": "Plug",
@@ -65,7 +65,7 @@
     },
     "675416a629f343c495449970e2ca37b5": {
       "available": true,
-      "dev_class": "router",
+      "dev_class": "router_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "cd143c07248f491493cea0533bc3d669",
       "model": "Plug",
@@ -158,7 +158,7 @@
     },
     "78d1126fc4c743db81b61c20e88342a7": {
       "available": true,
-      "dev_class": "central_heating_pump",
+      "dev_class": "central_heating_pump_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "c50f167537524366a5af7aa3942feb1e",
       "model": "Plug",
@@ -192,7 +192,7 @@
     },
     "a28f588dc4a049a483fd03a30361ad3a": {
       "available": true,
-      "dev_class": "settop",
+      "dev_class": "settop_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "cd143c07248f491493cea0533bc3d669",
       "model": "Plug",
@@ -309,7 +309,7 @@
     },
     "cd0ddb54ef694e11ac18ed1cbce5dbbd": {
       "available": true,
-      "dev_class": "vcr",
+      "dev_class": "vcr_plug",
       "firmware": "2019-06-21T02:00:00+02:00",
       "location": "cd143c07248f491493cea0533bc3d669",
       "model": "Plug",
diff --git a/tests/components/plugwise/snapshots/test_diagnostics.ambr b/tests/components/plugwise/snapshots/test_diagnostics.ambr
index 30aae633125..d187e0355bf 100644
--- a/tests/components/plugwise/snapshots/test_diagnostics.ambr
+++ b/tests/components/plugwise/snapshots/test_diagnostics.ambr
@@ -4,7 +4,7 @@
     'devices': dict({
       '02cf28bfec924855854c544690a609ef': dict({
         'available': True,
-        'dev_class': 'vcr',
+        'dev_class': 'vcr_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'cd143c07248f491493cea0533bc3d669',
         'model': 'Plug',
@@ -25,7 +25,7 @@
       }),
       '21f2b542c49845e6bb416884c55778d6': dict({
         'available': True,
-        'dev_class': 'game_console',
+        'dev_class': 'game_console_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'cd143c07248f491493cea0533bc3d669',
         'model': 'Plug',
@@ -46,7 +46,7 @@
       }),
       '4a810418d5394b3f82727340b91ba740': dict({
         'available': True,
-        'dev_class': 'router',
+        'dev_class': 'router_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'cd143c07248f491493cea0533bc3d669',
         'model': 'Plug',
@@ -67,7 +67,7 @@
       }),
       '675416a629f343c495449970e2ca37b5': dict({
         'available': True,
-        'dev_class': 'router',
+        'dev_class': 'router_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'cd143c07248f491493cea0533bc3d669',
         'model': 'Plug',
@@ -166,7 +166,7 @@
       }),
       '78d1126fc4c743db81b61c20e88342a7': dict({
         'available': True,
-        'dev_class': 'central_heating_pump',
+        'dev_class': 'central_heating_pump_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'c50f167537524366a5af7aa3942feb1e',
         'model': 'Plug',
@@ -200,7 +200,7 @@
       }),
       'a28f588dc4a049a483fd03a30361ad3a': dict({
         'available': True,
-        'dev_class': 'settop',
+        'dev_class': 'settop_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'cd143c07248f491493cea0533bc3d669',
         'model': 'Plug',
@@ -323,7 +323,7 @@
       }),
       'cd0ddb54ef694e11ac18ed1cbce5dbbd': dict({
         'available': True,
-        'dev_class': 'vcr',
+        'dev_class': 'vcr_plug',
         'firmware': '2019-06-21T02:00:00+02:00',
         'location': 'cd143c07248f491493cea0533bc3d669',
         'model': 'Plug',
-- 
GitLab