mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Bump pysensibo 1.0.35 (#100245)
* Bump pysensibo 1.0.34 * 1.0.35 * Mod tests * revert refactoring * Fix tests
This commit is contained in:
parent
4a86892d82
commit
06ade74711
@ -15,5 +15,5 @@
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["pysensibo"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["pysensibo==1.0.33"]
|
||||
"requirements": ["pysensibo==1.0.35"]
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user