mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 09:56:36 +00:00
Remove other broken defaults for triggers
This commit is contained in:
parent
29f5730545
commit
07d5d6e8a9
@ -32,6 +32,5 @@ export default class MQTTTrigger extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MQTTTrigger.defaultConfig = {
|
MQTTTrigger.defaultConfig = {
|
||||||
topic: '',
|
topic: ''
|
||||||
payload: '',
|
|
||||||
};
|
};
|
||||||
|
@ -45,7 +45,4 @@ export default class NumericStateTrigger extends Component {
|
|||||||
|
|
||||||
NumericStateTrigger.defaultConfig = {
|
NumericStateTrigger.defaultConfig = {
|
||||||
entity_id: '',
|
entity_id: '',
|
||||||
above: '',
|
|
||||||
below: '',
|
|
||||||
value_template: '',
|
|
||||||
};
|
};
|
||||||
|
@ -42,6 +42,4 @@ export default class StateTrigger extends Component {
|
|||||||
|
|
||||||
StateTrigger.defaultConfig = {
|
StateTrigger.defaultConfig = {
|
||||||
entity_id: '',
|
entity_id: '',
|
||||||
from: '',
|
|
||||||
to: '',
|
|
||||||
};
|
};
|
||||||
|
@ -45,7 +45,4 @@ export default class NumericStateCondition extends Component {
|
|||||||
|
|
||||||
NumericStateCondition.defaultConfig = {
|
NumericStateCondition.defaultConfig = {
|
||||||
entity_id: '',
|
entity_id: '',
|
||||||
above: '',
|
|
||||||
below: '',
|
|
||||||
value_template: '',
|
|
||||||
};
|
};
|
||||||
|
@ -2,7 +2,7 @@ import { h, Component } from 'preact';
|
|||||||
|
|
||||||
import { onChangeEvent } from '../../util/event';
|
import { onChangeEvent } from '../../util/event';
|
||||||
|
|
||||||
export default class StateCondition extends Component {
|
export default class TimeCondition extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
@ -31,7 +31,5 @@ export default class StateCondition extends Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StateCondition.defaultConfig = {
|
TimeCondition.defaultConfig = {
|
||||||
after: '',
|
|
||||||
before: '',
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user