Skip to content

Commit dc915da

Browse files
committed
Adapt further to a31
1 parent 56853e7 commit dc915da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom_components/plugwise_usb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ def _async_migrate_entity_entry(
6464
device_registry.async_get_or_create(
6565
config_entry_id=config_entry.entry_id,
6666
connections={(dr.CONNECTION_ZIGBEE, api_stick.mac_stick)},
67-
hw_version=api_stick.hardware_stick,
67+
hw_version=api_stick.hardware,
6868
identifiers={(DOMAIN, api_stick.mac_stick)},
6969
manufacturer="Plugwise",
7070
model="Stick",
7171
name=api_stick.name,
72-
sw_version=api_stick.firmware_stick,
72+
sw_version=api_stick.firmware,
7373
)
7474

7575
config_entry.runtime_data[NODES]: NodeConfigEntry = {}

0 commit comments

Comments
 (0)