added saving for new

This commit is contained in:
ari committed 2022-07-29 14:56:26 -04:00
1 parent b4a9763ead
commit 644edb2ef6
10 files changed
+37 -8

No files matched your search

@@ -19,6 +19,7 @@ const { make, componentMeta } = makeStory({
<AutomationManager
api={useMockApiService(args.automations ?? [], !args.automations)}
haEntities={useMockHAEntities(haEntities)}
refreshAutomations={() => {}}
onAutomationStateChange={(eid, on) => {
if (!haEntities.loading && !haEntities.error) {
setHAE({