reloading autos

This commit is contained in:
ari committed 2022-06-13 19:26:55 -04:00
1 parent c17783064c
commit 0cecae5faa
9 files changed
+103 -31

No files matched your search

@@ -1,4 +1,4 @@
import { Dispatch, SetStateAction, useEffect, useState, Component } from 'react';
import { Dispatch, SetStateAction, useEffect, useState } from 'react';
import { AutomationNode, AutomationNodeTypes } from 'types/automations';
import { AutomationNodeSubtype } from 'types/automations';
import { getOptionManager } from './getOptionManager';
@@ -8,8 +8,7 @@ import InputText from 'components/Inputs/InputText';
import { getDescriptionFromAutomationNode } from 'utils/formatting';
import { useHA } from 'haService';
import { Generic } from './Generic';
import { getNodeTypeAndValidate } from '../../../utils/automations';
import InputBoolean from 'components/Inputs/InputBoolean';
import { getNodeTypeAndValidate } from 'utils/automations';
type UseState = <S>(s: S) => [S, Dispatch<SetStateAction<S>>]