initial api
This commit is contained in:
1 parent
899d78fba5
commit
e87c41f496
16 files changed
+458
-2
No files matched your search
@@ -43,7 +43,7 @@ export default class ScriptDeviceState extends BaseState<DeviceScript> {
|
||||
<InputText
|
||||
textBoxFor="entity_id"
|
||||
label="Entity ID"
|
||||
value={state.entity_id}
|
||||
value={state.entity_id ?? ""}
|
||||
onChange={entity_id => this.setState({...state, entity_id, domain: entity_id.split('.')[0]})}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user