mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-10 16:44:28 +05:00
fix update extender
This commit is contained in:
@@ -477,7 +477,7 @@ class MegaD:
|
||||
return
|
||||
ret = {}
|
||||
for i, x in enumerate(values.split(";")):
|
||||
ret[f"{port}e{i}"] = x
|
||||
ret[f"{port}e{i}" if not self.new_naming else f"{port:02d}e{i:02d}"] = x
|
||||
return ret
|
||||
|
||||
async def _update_i2c(self, params):
|
||||
|
||||
Reference in New Issue
Block a user