initial api work

This commit is contained in:
ari committed 2022-01-04 21:42:25 -05:00
1 parent 00505c0faa
commit fbbfee8873
15 files changed
+206 -222

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class AutomationManager:
for i, auto in enumerate(self.hass_config.automations):
if i < offset:
continue
if i > offset + limit:
if i >= offset + limit:
break
yield from load_automation([auto])