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 = {
|
||||
topic: '',
|
||||
payload: '',
|
||||
topic: ''
|
||||
};
|
||||
|
@ -45,7 +45,4 @@ export default class NumericStateTrigger extends Component {
|
||||
|
||||
NumericStateTrigger.defaultConfig = {
|
||||
entity_id: '',
|
||||
above: '',
|
||||
below: '',
|
||||
value_template: '',
|
||||
};
|
||||
|
@ -42,6 +42,4 @@ export default class StateTrigger extends Component {
|
||||
|
||||
StateTrigger.defaultConfig = {
|
||||
entity_id: '',
|
||||
from: '',
|
||||
to: '',
|
||||
};
|
||||
|
@ -45,7 +45,4 @@ export default class NumericStateCondition extends Component {
|
||||
|
||||
NumericStateCondition.defaultConfig = {
|
||||
entity_id: '',
|
||||
above: '',
|
||||
below: '',
|
||||
value_template: '',
|
||||
};
|
||||
|
@ -2,7 +2,7 @@ import { h, Component } from 'preact';
|
||||
|
||||
import { onChangeEvent } from '../../util/event';
|
||||
|
||||
export default class StateCondition extends Component {
|
||||
export default class TimeCondition extends Component {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
@ -31,7 +31,5 @@ export default class StateCondition extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
StateCondition.defaultConfig = {
|
||||
after: '',
|
||||
before: '',
|
||||
TimeCondition.defaultConfig = {
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user