mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 18:36:35 +00:00
Expose state trigger For configuration in editor (#1723)
This commit is contained in:
parent
3d9d7d899d
commit
70225c1a18
@ -45,7 +45,12 @@ export default class StateTrigger extends Component {
|
||||
value={to}
|
||||
onvalue-changed={this.onChange}
|
||||
/>
|
||||
{trgFor && <pre>For: {JSON.stringify(trgFor, null, 2)}</pre>}
|
||||
<paper-input
|
||||
label={localize('ui.panel.config.automation.editor.triggers.type.state.for')}
|
||||
name="for"
|
||||
value={trgFor}
|
||||
onvalue-changed={this.onChange}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -568,6 +568,7 @@
|
||||
"state": {
|
||||
"label": "State",
|
||||
"from": "From",
|
||||
"for": "For",
|
||||
"to": "To"
|
||||
},
|
||||
"homeassistant": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user