fixed up deletes
This commit is contained in:
1 parent
e4af85cdfa
commit
957b6a66fe
9 files changed
+33
-12
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user