input entities

This commit is contained in:
ari committed 2022-05-30 15:05:54 -04:00
1 parent 878035e748
commit 996626f9af
27 files changed
+596 -92

No files matched your search

@@ -1,9 +1,10 @@
import { HAEntitiesState } from 'haService';
import { AutomationAction } from 'types/automations/actions';
import { AutomationCondition } from 'types/automations/conditions';
export interface OptionManager<T> {
defaultState(): T;
isReady(s: T): boolean;
renderOptionList(s: T, set: (s: T) => void): JSX.Element;
renderOptionList(s: T, set: (s: T) => void, entities: HAEntitiesState): JSX.Element;
}