We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 413271c commit 9866171Copy full SHA for 9866171
custom_components/plugwise_usb/__init__.py
@@ -183,8 +183,9 @@ async def async_remove_config_entry_device(
183
for identifier in device_entry.identifiers:
184
if (
185
identifier[0] == DOMAIN
186
- and (mac := identifier[1] in (str(api_stick.mac_stick), str(api_stick.mac_coordinator)))
+ and identifier[1] not in (str(api_stick.mac_stick), str(api_stick.mac_coordinator))
187
):
188
+ mac = identifier[1]
189
removable = True
190
break
191
0 commit comments