Remove unused override logic from TV configuration
This commit is contained in:
parent
219b8c4f05
commit
458a0ab2a3
@ -41,13 +41,6 @@ binary_sensor:
|
||||
name: "Status"
|
||||
id: status
|
||||
device_class: power
|
||||
on_state:
|
||||
- lambda: |-
|
||||
if (id(override).state == false) {
|
||||
if (id(power_switch).state != x) {
|
||||
id(power_switch).publish_state(x);
|
||||
}
|
||||
}
|
||||
|
||||
text_sensor:
|
||||
- platform: homeassistant
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user