mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Update plugwise module to 0.16.8 (#68082)
This commit is contained in:
parent
cc046e64f5
commit
b138a759b6
@ -2,7 +2,7 @@
|
|||||||
"domain": "plugwise",
|
"domain": "plugwise",
|
||||||
"name": "Plugwise",
|
"name": "Plugwise",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/plugwise",
|
"documentation": "https://www.home-assistant.io/integrations/plugwise",
|
||||||
"requirements": ["plugwise==0.16.6"],
|
"requirements": ["plugwise==0.16.8"],
|
||||||
"codeowners": ["@CoMPaTech", "@bouwew", "@brefra", "@frenck"],
|
"codeowners": ["@CoMPaTech", "@bouwew", "@brefra", "@frenck"],
|
||||||
"zeroconf": ["_plugwise._tcp.local."],
|
"zeroconf": ["_plugwise._tcp.local."],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
|
@ -267,7 +267,7 @@ async def async_setup_entry(
|
|||||||
"""Set up the Smile sensors from a config entry."""
|
"""Set up the Smile sensors from a config entry."""
|
||||||
coordinator = hass.data[DOMAIN][config_entry.entry_id]
|
coordinator = hass.data[DOMAIN][config_entry.entry_id]
|
||||||
|
|
||||||
entities: list[PlugwiseSensorEnity] = []
|
entities: list[PlugwiseSensorEntity] = []
|
||||||
for device_id, device in coordinator.data.devices.items():
|
for device_id, device in coordinator.data.devices.items():
|
||||||
for description in SENSORS:
|
for description in SENSORS:
|
||||||
if (
|
if (
|
||||||
@ -277,7 +277,7 @@ async def async_setup_entry(
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
entities.append(
|
entities.append(
|
||||||
PlugwiseSensorEnity(
|
PlugwiseSensorEntity(
|
||||||
coordinator,
|
coordinator,
|
||||||
device_id,
|
device_id,
|
||||||
description,
|
description,
|
||||||
@ -287,7 +287,7 @@ async def async_setup_entry(
|
|||||||
async_add_entities(entities)
|
async_add_entities(entities)
|
||||||
|
|
||||||
|
|
||||||
class PlugwiseSensorEnity(PlugwiseEntity, SensorEntity):
|
class PlugwiseSensorEntity(PlugwiseEntity, SensorEntity):
|
||||||
"""Represent Plugwise Sensors."""
|
"""Represent Plugwise Sensors."""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
@ -1214,7 +1214,7 @@ plexauth==0.0.6
|
|||||||
plexwebsocket==0.0.13
|
plexwebsocket==0.0.13
|
||||||
|
|
||||||
# homeassistant.components.plugwise
|
# homeassistant.components.plugwise
|
||||||
plugwise==0.16.6
|
plugwise==0.16.8
|
||||||
|
|
||||||
# homeassistant.components.plum_lightpad
|
# homeassistant.components.plum_lightpad
|
||||||
plumlightpad==0.0.11
|
plumlightpad==0.0.11
|
||||||
|
@ -799,7 +799,7 @@ plexauth==0.0.6
|
|||||||
plexwebsocket==0.0.13
|
plexwebsocket==0.0.13
|
||||||
|
|
||||||
# homeassistant.components.plugwise
|
# homeassistant.components.plugwise
|
||||||
plugwise==0.16.6
|
plugwise==0.16.8
|
||||||
|
|
||||||
# homeassistant.components.plum_lightpad
|
# homeassistant.components.plum_lightpad
|
||||||
plumlightpad==0.0.11
|
plumlightpad==0.0.11
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Lisa Bios",
|
"name": "Zone Lisa Bios",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": [
|
"preset_modes": [
|
||||||
@ -66,7 +66,7 @@
|
|||||||
"mode": "heat",
|
"mode": "heat",
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 16.5,
|
"temperature": 16.5,
|
||||||
"setpoint": 13,
|
"setpoint": 13.0,
|
||||||
"battery": 67
|
"battery": 67
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -79,7 +79,7 @@
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Floor kraan",
|
"name": "Floor kraan",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
@ -98,12 +98,12 @@
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Bios Cv Thermostatic Radiator ",
|
"name": "Bios Cv Thermostatic Radiator ",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 17.2,
|
"temperature": 17.2,
|
||||||
"setpoint": 13,
|
"setpoint": 13.0,
|
||||||
"battery": 62,
|
"battery": 62,
|
||||||
"temperature_difference": -0.2,
|
"temperature_difference": -0.2,
|
||||||
"valve_position": 0.0
|
"valve_position": 0.0
|
||||||
@ -118,7 +118,7 @@
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Lisa WK",
|
"name": "Zone Lisa WK",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": [
|
"preset_modes": [
|
||||||
@ -194,12 +194,12 @@
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Thermostatic Radiator Jessie",
|
"name": "Thermostatic Radiator Jessie",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 17.1,
|
"temperature": 17.1,
|
||||||
"setpoint": 15,
|
"setpoint": 15.0,
|
||||||
"battery": 62,
|
"battery": 62,
|
||||||
"temperature_difference": 0.1,
|
"temperature_difference": 0.1,
|
||||||
"valve_position": 0.0
|
"valve_position": 0.0
|
||||||
@ -255,9 +255,6 @@
|
|||||||
"model": "Unknown",
|
"model": "Unknown",
|
||||||
"name": "OnOff",
|
"name": "OnOff",
|
||||||
"vendor": null,
|
"vendor": null,
|
||||||
"lower_bound": 10,
|
|
||||||
"upper_bound": 90,
|
|
||||||
"resolution": 1,
|
|
||||||
"binary_sensors": {
|
"binary_sensors": {
|
||||||
"heating_state": true
|
"heating_state": true
|
||||||
},
|
},
|
||||||
@ -360,7 +357,7 @@
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Thermostat Jessie",
|
"name": "Zone Thermostat Jessie",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": [
|
"preset_modes": [
|
||||||
@ -406,7 +403,7 @@
|
|||||||
"mode": "auto",
|
"mode": "auto",
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 17.2,
|
"temperature": 17.2,
|
||||||
"setpoint": 15,
|
"setpoint": 15.0,
|
||||||
"battery": 37
|
"battery": 37
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -419,12 +416,12 @@
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Thermostatic Radiator Badkamer",
|
"name": "Thermostatic Radiator Badkamer",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 19.1,
|
"temperature": 19.1,
|
||||||
"setpoint": 14,
|
"setpoint": 14.0,
|
||||||
"battery": 51,
|
"battery": 51,
|
||||||
"temperature_difference": -0.4,
|
"temperature_difference": -0.4,
|
||||||
"valve_position": 0.0
|
"valve_position": 0.0
|
||||||
@ -439,7 +436,7 @@
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Thermostat Badkamer",
|
"name": "Zone Thermostat Badkamer",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": [
|
"preset_modes": [
|
||||||
@ -485,7 +482,7 @@
|
|||||||
"mode": "auto",
|
"mode": "auto",
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 18.9,
|
"temperature": 18.9,
|
||||||
"setpoint": 14,
|
"setpoint": 14.0,
|
||||||
"battery": 92
|
"battery": 92
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -519,7 +516,7 @@
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "CV Kraan Garage",
|
"name": "CV Kraan Garage",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": [
|
"preset_modes": [
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
"model": "Generic heater",
|
"model": "Generic heater",
|
||||||
"name": "OpenTherm",
|
"name": "OpenTherm",
|
||||||
"vendor": "Techneco",
|
"vendor": "Techneco",
|
||||||
"lower_bound": -10,
|
|
||||||
"upper_bound": 40,
|
|
||||||
"resolution": 1,
|
|
||||||
"compressor_state": true,
|
"compressor_state": true,
|
||||||
"binary_sensors": {
|
"binary_sensors": {
|
||||||
"dhw_state": false,
|
"dhw_state": false,
|
||||||
@ -37,8 +34,7 @@
|
|||||||
},
|
},
|
||||||
"switches": {
|
"switches": {
|
||||||
"dhw_cm_switch": false
|
"dhw_cm_switch": false
|
||||||
},
|
}
|
||||||
"cooling_active": false
|
|
||||||
},
|
},
|
||||||
"015ae9ea3f964e668e490fa39da3870b": {
|
"015ae9ea3f964e668e490fa39da3870b": {
|
||||||
"class": "gateway",
|
"class": "gateway",
|
||||||
@ -65,8 +61,8 @@
|
|||||||
"model": "Anna",
|
"model": "Anna",
|
||||||
"name": "Anna",
|
"name": "Anna",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 4,
|
"lower_bound": 4.0,
|
||||||
"upper_bound": 30,
|
"upper_bound": 30.0,
|
||||||
"resolution": 0.1,
|
"resolution": 0.1,
|
||||||
"preset_modes": [
|
"preset_modes": [
|
||||||
"no_frost",
|
"no_frost",
|
||||||
@ -107,10 +103,10 @@
|
|||||||
"mode": "heat",
|
"mode": "heat",
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 19.3,
|
"temperature": 19.3,
|
||||||
"setpoint": 21,
|
"setpoint": 21.0,
|
||||||
"illuminance": 86.0,
|
"illuminance": 86.0,
|
||||||
"cooling_activation_outdoor_temperature": 21.0,
|
"cooling_activation_outdoor_temperature": 21.0,
|
||||||
"cooling_deactivation_threshold": 4
|
"cooling_deactivation_threshold": 4.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ async def test_diagnostics(
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Lisa Bios",
|
"name": "Zone Lisa Bios",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
||||||
@ -63,7 +63,7 @@ async def test_diagnostics(
|
|||||||
"last_used": "Badkamer Schema",
|
"last_used": "Badkamer Schema",
|
||||||
"schedule_temperature": 15.0,
|
"schedule_temperature": 15.0,
|
||||||
"mode": "heat",
|
"mode": "heat",
|
||||||
"sensors": {"temperature": 16.5, "setpoint": 13, "battery": 67},
|
"sensors": {"temperature": 16.5, "setpoint": 13.0, "battery": 67},
|
||||||
},
|
},
|
||||||
"b310b72a0e354bfab43089919b9a88bf": {
|
"b310b72a0e354bfab43089919b9a88bf": {
|
||||||
"class": "thermo_sensor",
|
"class": "thermo_sensor",
|
||||||
@ -74,7 +74,7 @@ async def test_diagnostics(
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Floor kraan",
|
"name": "Floor kraan",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
@ -93,12 +93,12 @@ async def test_diagnostics(
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Bios Cv Thermostatic Radiator ",
|
"name": "Bios Cv Thermostatic Radiator ",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 17.2,
|
"temperature": 17.2,
|
||||||
"setpoint": 13,
|
"setpoint": 13.0,
|
||||||
"battery": 62,
|
"battery": 62,
|
||||||
"temperature_difference": -0.2,
|
"temperature_difference": -0.2,
|
||||||
"valve_position": 0.0,
|
"valve_position": 0.0,
|
||||||
@ -113,7 +113,7 @@ async def test_diagnostics(
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Lisa WK",
|
"name": "Zone Lisa WK",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
||||||
@ -160,12 +160,12 @@ async def test_diagnostics(
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Thermostatic Radiator Jessie",
|
"name": "Thermostatic Radiator Jessie",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 17.1,
|
"temperature": 17.1,
|
||||||
"setpoint": 15,
|
"setpoint": 15.0,
|
||||||
"battery": 62,
|
"battery": 62,
|
||||||
"temperature_difference": 0.1,
|
"temperature_difference": 0.1,
|
||||||
"valve_position": 0.0,
|
"valve_position": 0.0,
|
||||||
@ -216,9 +216,6 @@ async def test_diagnostics(
|
|||||||
"model": "Unknown",
|
"model": "Unknown",
|
||||||
"name": "OnOff",
|
"name": "OnOff",
|
||||||
"vendor": None,
|
"vendor": None,
|
||||||
"lower_bound": 10,
|
|
||||||
"upper_bound": 90,
|
|
||||||
"resolution": 1,
|
|
||||||
"binary_sensors": {"heating_state": True},
|
"binary_sensors": {"heating_state": True},
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"water_temperature": 70.0,
|
"water_temperature": 70.0,
|
||||||
@ -307,7 +304,7 @@ async def test_diagnostics(
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Thermostat Jessie",
|
"name": "Zone Thermostat Jessie",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
||||||
@ -330,7 +327,7 @@ async def test_diagnostics(
|
|||||||
"last_used": "CV Jessie",
|
"last_used": "CV Jessie",
|
||||||
"schedule_temperature": 15.0,
|
"schedule_temperature": 15.0,
|
||||||
"mode": "auto",
|
"mode": "auto",
|
||||||
"sensors": {"temperature": 17.2, "setpoint": 15, "battery": 37},
|
"sensors": {"temperature": 17.2, "setpoint": 15.0, "battery": 37},
|
||||||
},
|
},
|
||||||
"680423ff840043738f42cc7f1ff97a36": {
|
"680423ff840043738f42cc7f1ff97a36": {
|
||||||
"class": "thermo_sensor",
|
"class": "thermo_sensor",
|
||||||
@ -341,12 +338,12 @@ async def test_diagnostics(
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "Thermostatic Radiator Badkamer",
|
"name": "Thermostatic Radiator Badkamer",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"sensors": {
|
"sensors": {
|
||||||
"temperature": 19.1,
|
"temperature": 19.1,
|
||||||
"setpoint": 14,
|
"setpoint": 14.0,
|
||||||
"battery": 51,
|
"battery": 51,
|
||||||
"temperature_difference": -0.4,
|
"temperature_difference": -0.4,
|
||||||
"valve_position": 0.0,
|
"valve_position": 0.0,
|
||||||
@ -361,7 +358,7 @@ async def test_diagnostics(
|
|||||||
"model": "Lisa",
|
"model": "Lisa",
|
||||||
"name": "Zone Thermostat Badkamer",
|
"name": "Zone Thermostat Badkamer",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 99.9,
|
"upper_bound": 99.9,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
||||||
@ -384,7 +381,7 @@ async def test_diagnostics(
|
|||||||
"last_used": "Badkamer Schema",
|
"last_used": "Badkamer Schema",
|
||||||
"schedule_temperature": 15.0,
|
"schedule_temperature": 15.0,
|
||||||
"mode": "auto",
|
"mode": "auto",
|
||||||
"sensors": {"temperature": 18.9, "setpoint": 14, "battery": 92},
|
"sensors": {"temperature": 18.9, "setpoint": 14.0, "battery": 92},
|
||||||
},
|
},
|
||||||
"675416a629f343c495449970e2ca37b5": {
|
"675416a629f343c495449970e2ca37b5": {
|
||||||
"class": "router",
|
"class": "router",
|
||||||
@ -413,7 +410,7 @@ async def test_diagnostics(
|
|||||||
"model": "Tom/Floor",
|
"model": "Tom/Floor",
|
||||||
"name": "CV Kraan Garage",
|
"name": "CV Kraan Garage",
|
||||||
"vendor": "Plugwise",
|
"vendor": "Plugwise",
|
||||||
"lower_bound": 0,
|
"lower_bound": 0.0,
|
||||||
"upper_bound": 100.0,
|
"upper_bound": 100.0,
|
||||||
"resolution": 0.01,
|
"resolution": 0.01,
|
||||||
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
|
||||||
|
@ -56,8 +56,7 @@ async def test_anna_as_smt_climate_sensor_entities(
|
|||||||
async def test_anna_climate_sensor_entities(
|
async def test_anna_climate_sensor_entities(
|
||||||
hass: HomeAssistant, mock_smile_anna: MagicMock, init_integration: MockConfigEntry
|
hass: HomeAssistant, mock_smile_anna: MagicMock, init_integration: MockConfigEntry
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test creation of climate related sensor entities as single master thermostat."""
|
"""Test creation of climate related sensor entities."""
|
||||||
mock_smile_anna.single_master_thermostat.return_value = False
|
|
||||||
state = hass.states.get("sensor.opentherm_outdoor_temperature")
|
state = hass.states.get("sensor.opentherm_outdoor_temperature")
|
||||||
assert state
|
assert state
|
||||||
assert float(state.state) == 3.0
|
assert float(state.state) == 3.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user