mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
Bump Plugwise to v1.11.0 (#158067)
This commit is contained in:
@@ -8,6 +8,6 @@
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["plugwise"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["plugwise==1.10.0"],
|
||||
"requirements": ["plugwise==1.11.0"],
|
||||
"zeroconf": ["_plugwise._tcp.local."]
|
||||
}
|
||||
|
||||
Generated
+1
-1
@@ -1745,7 +1745,7 @@ plexauth==0.0.6
|
||||
plexwebsocket==0.0.14
|
||||
|
||||
# homeassistant.components.plugwise
|
||||
plugwise==1.10.0
|
||||
plugwise==1.11.0
|
||||
|
||||
# homeassistant.components.serial_pm
|
||||
pmsensor==0.4
|
||||
|
||||
Generated
+1
-1
@@ -1497,7 +1497,7 @@ plexauth==0.0.6
|
||||
plexwebsocket==0.0.14
|
||||
|
||||
# homeassistant.components.plugwise
|
||||
plugwise==1.10.0
|
||||
plugwise==1.11.0
|
||||
|
||||
# homeassistant.components.poolsense
|
||||
poolsense==0.0.8
|
||||
|
||||
@@ -91,6 +91,21 @@
|
||||
},
|
||||
"vendor": "Plugwise"
|
||||
},
|
||||
"c9293d1d68ee48fc8843c6f0dee2b6be": {
|
||||
"dev_class": "pumping",
|
||||
"members": [
|
||||
"854f8a9b0e7e425db97f1f110e1ce4b3",
|
||||
"ad4838d7d35c4d6ea796ee12ae5aedf8"
|
||||
],
|
||||
"model": "Group",
|
||||
"name": "Vloerverwarming",
|
||||
"sensors": {
|
||||
"electricity_consumed": 45.0,
|
||||
"electricity_produced": 0.0,
|
||||
"temperature": 20.1
|
||||
},
|
||||
"vendor": "Plugwise"
|
||||
},
|
||||
"da224107914542988a88561b4452b0f6": {
|
||||
"binary_sensors": {
|
||||
"plugwise_notification": false
|
||||
@@ -173,8 +188,12 @@
|
||||
"2568cc4b9c1e401495d4741a5f89bee1",
|
||||
"29542b2b6a6a4169acecc15c72a599b8"
|
||||
],
|
||||
"model": "Switchgroup",
|
||||
"model": "Group",
|
||||
"name": "Test",
|
||||
"sensors": {
|
||||
"electricity_consumed": 16.5,
|
||||
"electricity_produced": 0.0
|
||||
},
|
||||
"switches": {
|
||||
"relay": true
|
||||
},
|
||||
|
||||
@@ -96,6 +96,21 @@
|
||||
},
|
||||
"vendor": "Plugwise"
|
||||
},
|
||||
"c9293d1d68ee48fc8843c6f0dee2b6be": {
|
||||
"dev_class": "pumping",
|
||||
"members": [
|
||||
"854f8a9b0e7e425db97f1f110e1ce4b3",
|
||||
"ad4838d7d35c4d6ea796ee12ae5aedf8"
|
||||
],
|
||||
"model": "Group",
|
||||
"name": "Vloerverwarming",
|
||||
"sensors": {
|
||||
"electricity_consumed": 45.0,
|
||||
"electricity_produced": 0.0,
|
||||
"temperature": 20.1
|
||||
},
|
||||
"vendor": "Plugwise"
|
||||
},
|
||||
"da224107914542988a88561b4452b0f6": {
|
||||
"binary_sensors": {
|
||||
"plugwise_notification": false
|
||||
@@ -172,8 +187,12 @@
|
||||
"2568cc4b9c1e401495d4741a5f89bee1",
|
||||
"29542b2b6a6a4169acecc15c72a599b8"
|
||||
],
|
||||
"model": "Switchgroup",
|
||||
"model": "Group",
|
||||
"name": "Test",
|
||||
"sensors": {
|
||||
"electricity_consumed": 16.5,
|
||||
"electricity_produced": 0.0
|
||||
},
|
||||
"switches": {
|
||||
"relay": true
|
||||
},
|
||||
|
||||
@@ -505,6 +505,20 @@
|
||||
"vendor": "Plugwise",
|
||||
"zigbee_mac_address": "ABCD012345670A06"
|
||||
},
|
||||
"e117db6848394c8cb70d9c28e63d92d2": {
|
||||
"dev_class": "pumping",
|
||||
"members": [
|
||||
"78d1126fc4c743db81b61c20e88342a7",
|
||||
"b59bcebaf94b499ea7d46e4a66fb62d8"
|
||||
],
|
||||
"model": "Group",
|
||||
"name": "Vloerverwarming Woonkamer",
|
||||
"sensors": {
|
||||
"electricity_consumed": 35.6,
|
||||
"temperature": 20.9
|
||||
},
|
||||
"vendor": "Plugwise"
|
||||
},
|
||||
"e7693eb9582644e5b865dba8d4447cf1": {
|
||||
"available": true,
|
||||
"binary_sensors": {
|
||||
@@ -539,8 +553,12 @@
|
||||
"02cf28bfec924855854c544690a609ef",
|
||||
"4a810418d5394b3f82727340b91ba740"
|
||||
],
|
||||
"model": "Switchgroup",
|
||||
"model": "Group",
|
||||
"name": "Test",
|
||||
"sensors": {
|
||||
"electricity_consumed": 14.8,
|
||||
"electricity_produced": 0.0
|
||||
},
|
||||
"switches": {
|
||||
"relay": true
|
||||
},
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
"059e4d03c7a34d278add5c7a4a781d19",
|
||||
"cfe95cf3de1948c0b8955125bf754614"
|
||||
],
|
||||
"model": "Switchgroup",
|
||||
"model": "Group",
|
||||
"name": "Schakel",
|
||||
"switches": {
|
||||
"relay": true
|
||||
@@ -107,7 +107,7 @@
|
||||
"cfe95cf3de1948c0b8955125bf754614",
|
||||
"e1c884e7dede431dadee09506ec4f859"
|
||||
],
|
||||
"model": "Switchgroup",
|
||||
"model": "Group",
|
||||
"name": "Stroomvreters",
|
||||
"switches": {
|
||||
"relay": true
|
||||
|
||||
@@ -554,6 +554,20 @@
|
||||
'vendor': 'Plugwise',
|
||||
'zigbee_mac_address': 'ABCD012345670A06',
|
||||
}),
|
||||
'e117db6848394c8cb70d9c28e63d92d2': dict({
|
||||
'dev_class': 'pumping',
|
||||
'members': list([
|
||||
'78d1126fc4c743db81b61c20e88342a7',
|
||||
'b59bcebaf94b499ea7d46e4a66fb62d8',
|
||||
]),
|
||||
'model': 'Group',
|
||||
'name': 'Vloerverwarming Woonkamer',
|
||||
'sensors': dict({
|
||||
'electricity_consumed': 35.6,
|
||||
'temperature': 20.9,
|
||||
}),
|
||||
'vendor': 'Plugwise',
|
||||
}),
|
||||
'e7693eb9582644e5b865dba8d4447cf1': dict({
|
||||
'available': True,
|
||||
'binary_sensors': dict({
|
||||
@@ -588,8 +602,12 @@
|
||||
'02cf28bfec924855854c544690a609ef',
|
||||
'4a810418d5394b3f82727340b91ba740',
|
||||
]),
|
||||
'model': 'Switchgroup',
|
||||
'model': 'Group',
|
||||
'name': 'Test',
|
||||
'sensors': dict({
|
||||
'electricity_consumed': 14.8,
|
||||
'electricity_produced': 0.0,
|
||||
}),
|
||||
'switches': dict({
|
||||
'relay': True,
|
||||
}),
|
||||
|
||||
@@ -1216,6 +1216,118 @@
|
||||
'state': '37.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.test_electricity_consumed-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.test_electricity_consumed',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Electricity consumed',
|
||||
'platform': 'plugwise',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'electricity_consumed',
|
||||
'unique_id': 'e8ef2a01ed3b4139a53bf749204fe6b4-electricity_consumed',
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.test_electricity_consumed-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'Test Electricity consumed',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.test_electricity_consumed',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '16.5',
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.test_electricity_produced-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.test_electricity_produced',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Electricity produced',
|
||||
'platform': 'plugwise',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'electricity_produced',
|
||||
'unique_id': 'e8ef2a01ed3b4139a53bf749204fe6b4-electricity_produced',
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.test_electricity_produced-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'Test Electricity produced',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.test_electricity_produced',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.tom_badkamer_battery-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
@@ -1489,6 +1601,174 @@
|
||||
'state': '100.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_electricity_consumed-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.vloerverwarming_electricity_consumed',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Electricity consumed',
|
||||
'platform': 'plugwise',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'electricity_consumed',
|
||||
'unique_id': 'c9293d1d68ee48fc8843c6f0dee2b6be-electricity_consumed',
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_electricity_consumed-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'Vloerverwarming Electricity consumed',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.vloerverwarming_electricity_consumed',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '45.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_electricity_produced-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.vloerverwarming_electricity_produced',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 0,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Electricity produced',
|
||||
'platform': 'plugwise',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'electricity_produced',
|
||||
'unique_id': 'c9293d1d68ee48fc8843c6f0dee2b6be-electricity_produced',
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_electricity_produced-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'power',
|
||||
'friendly_name': 'Vloerverwarming Electricity produced',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.vloerverwarming_electricity_produced',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '0.0',
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_temperature-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'sensor',
|
||||
'entity_category': None,
|
||||
'entity_id': 'sensor.vloerverwarming_temperature',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
'sensor': dict({
|
||||
'suggested_display_precision': 1,
|
||||
}),
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'Temperature',
|
||||
'platform': 'plugwise',
|
||||
'previous_unique_id': None,
|
||||
'suggested_object_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'c9293d1d68ee48fc8843c6f0dee2b6be-temperature',
|
||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_adam_sensor_snapshot[platforms0-False-m_adam_heating][sensor.vloerverwarming_temperature-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
'friendly_name': 'Vloerverwarming Temperature',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.vloerverwarming_temperature',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': '20.1',
|
||||
})
|
||||
# ---
|
||||
# name: test_anna_p1_sensor_snapshot[platforms0][sensor.anna_illuminance-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
||||
@@ -257,7 +257,7 @@ async def test_update_device(
|
||||
entity_registry, mock_config_entry.entry_id
|
||||
)
|
||||
)
|
||||
== 51
|
||||
== 56
|
||||
)
|
||||
assert (
|
||||
len(
|
||||
@@ -265,7 +265,7 @@ async def test_update_device(
|
||||
device_registry, mock_config_entry.entry_id
|
||||
)
|
||||
)
|
||||
== 10
|
||||
== 11
|
||||
)
|
||||
|
||||
# Add a 2nd Tom/Floor
|
||||
@@ -289,7 +289,7 @@ async def test_update_device(
|
||||
entity_registry, mock_config_entry.entry_id
|
||||
)
|
||||
)
|
||||
== 58
|
||||
== 63
|
||||
)
|
||||
assert (
|
||||
len(
|
||||
@@ -297,7 +297,7 @@ async def test_update_device(
|
||||
device_registry, mock_config_entry.entry_id
|
||||
)
|
||||
)
|
||||
== 11
|
||||
== 12
|
||||
)
|
||||
item_list: list[str] = []
|
||||
for device_entry in list(device_registry.devices.values()):
|
||||
@@ -320,7 +320,7 @@ async def test_update_device(
|
||||
entity_registry, mock_config_entry.entry_id
|
||||
)
|
||||
)
|
||||
== 51
|
||||
== 56
|
||||
)
|
||||
assert (
|
||||
len(
|
||||
@@ -328,7 +328,7 @@ async def test_update_device(
|
||||
device_registry, mock_config_entry.entry_id
|
||||
)
|
||||
)
|
||||
== 10
|
||||
== 11
|
||||
)
|
||||
item_list: list[str] = []
|
||||
for device_entry in list(device_registry.devices.values()):
|
||||
|
||||
Reference in New Issue
Block a user