diff --git a/homeassistant/components/sensibo/manifest.json b/homeassistant/components/sensibo/manifest.json index 42964ddce8f..016b3a1e9d9 100644 --- a/homeassistant/components/sensibo/manifest.json +++ b/homeassistant/components/sensibo/manifest.json @@ -15,5 +15,5 @@ "iot_class": "cloud_polling", "loggers": ["pysensibo"], "quality_scale": "platinum", - "requirements": ["pysensibo==1.0.33"] + "requirements": ["pysensibo==1.0.35"] } diff --git a/requirements_all.txt b/requirements_all.txt index 2e71011cda6..e038c435aca 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2001,7 +2001,7 @@ pysaj==0.0.16 pyschlage==2023.9.1 # homeassistant.components.sensibo -pysensibo==1.0.33 +pysensibo==1.0.35 # homeassistant.components.serial # homeassistant.components.zha diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f6b8a315835..21065157095 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1502,7 +1502,7 @@ pysabnzbd==1.1.1 pyschlage==2023.9.1 # homeassistant.components.sensibo -pysensibo==1.0.33 +pysensibo==1.0.35 # homeassistant.components.serial # homeassistant.components.zha diff --git a/tests/components/sensibo/fixtures/data.json b/tests/components/sensibo/fixtures/data.json index 8be6d1e173a..96657df50d3 100644 --- a/tests/components/sensibo/fixtures/data.json +++ b/tests/components/sensibo/fixtures/data.json @@ -608,7 +608,7 @@ "isGeofenceOnExitEnabled": false, "isClimateReactGeofenceOnExitEnabled": false, "isMotionGeofenceOnExitEnabled": false, - "serial": "0987654321", + "serial": "0987654329", "sensorsCalibration": { "temperature": 0.0, "humidity": 0.0 @@ -699,7 +699,7 @@ "ssid": "Sensibo-09876", "password": null }, - "macAddress": "00:01:00:01:00:01", + "macAddress": "00:03:00:03:00:03", "autoOffMinutes": null, "autoOffEnabled": false, "antiMoldTimer": null, diff --git a/tests/components/sensibo/test_climate.py b/tests/components/sensibo/test_climate.py index 688a373b8f0..52b22570957 100644 --- a/tests/components/sensibo/test_climate.py +++ b/tests/components/sensibo/test_climate.py @@ -90,18 +90,26 @@ async def test_climate( assert state1.state == "heat" assert state1.attributes == { "hvac_modes": [ - "heat_cool", "cool", - "dry", - "fan_only", "heat", + "dry", + "heat_cool", + "fan_only", "off", ], "min_temp": 10, "max_temp": 20, "target_temp_step": 1, - "fan_modes": ["low", "medium", "quiet"], - "swing_modes": ["fixedmiddletop", "fixedtop", "stopped"], + "fan_modes": [ + "quiet", + "low", + "medium", + ], + "swing_modes": [ + "stopped", + "fixedtop", + "fixedmiddletop", + ], "current_temperature": 21.2, "temperature": 25, "current_humidity": 32.9, @@ -113,13 +121,14 @@ async def test_climate( assert state2.state == "off" - assert not state3 + assert state3 + assert state3.state == "off" found_log = False logs = caplog.get_records("setup") for log in logs: if ( log.message - == "Device Bedroom not correctly registered with Sensibo cloud. Skipping device" + == "Device Bedroom not correctly registered with remote on Sensibo cloud." ): found_log = True break diff --git a/tests/components/sensibo/test_sensor.py b/tests/components/sensibo/test_sensor.py index 24dbdef1fe3..0978b829608 100644 --- a/tests/components/sensibo/test_sensor.py +++ b/tests/components/sensibo/test_sensor.py @@ -18,7 +18,7 @@ async def test_sensor( hass: HomeAssistant, entity_registry_enabled_by_default: None, load_int: ConfigEntry, - monkeypatch: pytest.pytest.MonkeyPatch, + monkeypatch: pytest.MonkeyPatch, get_data: SensiboData, ) -> None: """Test the Sensibo sensor."""