mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-03 21:58:44 +05:00
fix save_all service
This commit is contained in:
1 parent
3e1499f78b
commit
811f2067bb
1 file changed
+2
-1
@@ -169,7 +169,8 @@ async def _save_service(hass: HomeAssistant, call: ServiceCall):
|
||||
await hub.save()
|
||||
else:
|
||||
for hub in hass.data[DOMAIN].values():
|
||||
await hub.save()
|
||||
if isinstance(hub, MegaD):
|
||||
await hub.save()
|
||||
|
||||
|
||||
@bind_hass
|
||||
|
||||
Reference in new issue
Block a user