device action builder
This commit is contained in:
1 parent
6be6005531
commit
029df7932e
16 files changed
+725
-434
No files matched your search
@@ -15,7 +15,7 @@ export const TriggerState: OptionManager<AutomationTriggerState> = {
|
||||
entity_id: "",
|
||||
}),
|
||||
isReady: () => true,
|
||||
Component: ({ state, setState, entities }) => {
|
||||
Component: ({ state, setState, ha: { entities } }) => {
|
||||
const attributes = entities.getAttributes(state.entity_id);
|
||||
const states = entities.getStates(state.entity_id, state.attribute);
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user