mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 18:58:57 +00:00
10
js/automation-editor/automation-editor.js
Normal file
10
js/automation-editor/automation-editor.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { h, render } from 'preact';
|
||||
import Automation from './automation';
|
||||
|
||||
window.AutomationEditor = function (mountEl, props, mergeEl) {
|
||||
return render(h(Automation, props), mountEl, mergeEl);
|
||||
};
|
||||
|
||||
window.unmountPreact = function (mountEl, mergeEl) {
|
||||
render(() => null, mountEl, mergeEl);
|
||||
};
|
||||
Reference in New Issue
Block a user