Skip to content

Commit

Permalink
🔧 fix for customizing (#1927)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Nov 6, 2024
1 parent afcb248 commit fdca601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ async def async_step_customizing(self, user_input=None):
for v in self.hass.data[DOMAIN].values():
if isinstance(v, dict):
if mod := v.get('miio_info', {}).get(CONF_MODEL):
models.append(mod)
models[mod] = v
v = v.get(CONF_XIAOMI_CLOUD)
if isinstance(v, MiotCloud):
mic = v
Expand Down

0 comments on commit fdca601

Please sign in to comment.