Skip to content

Commit 47f887e

Browse files
committed
Correct if-statement
1 parent dc10da1 commit 47f887e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise-beta/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async def async_update_data():
102102
_LOGGER.debug("Async update interval %s", update_interval)
103103

104104
# Migrate to new unique_id's when needed
105-
if api.smile_version[0] = "2.5.9":
105+
if api.smile_version[0] == "2.5.9":
106106
if entry.unique_id is None:
107107
hass.config_entries.async_update_entry(
108108
entry, unique_id=entry.data[api.gateway_id]

0 commit comments

Comments
 (0)