mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-12 20:06:33 +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}
|
value={to}
|
||||||
onvalue-changed={this.onChange}
|
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>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -568,6 +568,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"label": "State",
|
"label": "State",
|
||||||
"from": "From",
|
"from": "From",
|
||||||
|
"for": "For",
|
||||||
"to": "To"
|
"to": "To"
|
||||||
},
|
},
|
||||||
"homeassistant": {
|
"homeassistant": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user