fixed up deletes

This commit is contained in:
ari committed 2022-07-29 15:38:37 -04:00
1 parent e4af85cdfa
commit 957b6a66fe
9 files changed
+33 -12

No files matched your search

+6
View File
@@ -11,6 +11,12 @@ export const AutomationRoute: FC<{ api: ApiService }> = ({ api }) => {
<AutomationManager
api={api}
refreshAutomations={() => ha.callService("automation", "reload")}
forceDeleteAutomation={(eid) =>
ha.callHA({
entity_id: eid,
type: "config/entity_registry/remove",
})
}
onAutomationStateChange={(eid, on) => {
ha.callService(
"automation",