From 5d4e455fe8d017bd64a2d487efd54d2eed9f60c6 Mon Sep 17 00:00:00 2001 From: Dos Moonen Date: Tue, 2 Apr 2024 09:13:08 +0200 Subject: [PATCH] Bump solax to 3.1.0. 0.3.2 was succeeded by 0.3.4. 0.3.3 was yanked 0.3.4 was succeeded by 3.0.5. 3.0.5 is succeeded by 3.1.0. --- homeassistant/components/solax/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/solax/test_config_flow.py | 6 +++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/solax/manifest.json b/homeassistant/components/solax/manifest.json index d3f677fa89401c..be81dd65e89deb 100644 --- a/homeassistant/components/solax/manifest.json +++ b/homeassistant/components/solax/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://www.home-assistant.io/integrations/solax", "iot_class": "local_polling", "loggers": ["solax"], - "requirements": ["solax==0.3.2"] + "requirements": ["solax==3.1.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index f928cf8333a3f4..b25d2f69f72ed8 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2581,7 +2581,7 @@ solaredge-local==0.2.3 solaredge==0.0.2 # homeassistant.components.solax -solax==0.3.2 +solax==3.1.0 # homeassistant.components.somfy_mylink somfy-mylink-synergy==1.0.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index aabaf488caa561..6954cd09eb35ea 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1985,7 +1985,7 @@ soco==0.30.2 solaredge==0.0.2 # homeassistant.components.solax -solax==0.3.2 +solax==3.1.0 # homeassistant.components.somfy_mylink somfy-mylink-synergy==1.0.6 diff --git a/tests/components/solax/test_config_flow.py b/tests/components/solax/test_config_flow.py index c671fe39cecbd3..61bd9003439336 100644 --- a/tests/components/solax/test_config_flow.py +++ b/tests/components/solax/test_config_flow.py @@ -18,7 +18,11 @@ def __mock_real_time_api_success(): def __mock_get_data(): return InverterResponse( - data=None, serial_number="ABCDEFGHIJ", version="2.034.06", type=4 + data=None, + dongle_serial_number="ABCDEFGHIJ", + version="2.034.06", + type=4, + inverter_serial_number="XXXXXXX", )