1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Consolidate test files where all tests are identical (#6690)

This commit is contained in:
Keith Burzinski
2024-05-07 14:33:37 -05:00
committed by GitHub
parent 829bfbdaa4
commit f6a3784eba
779 changed files with 3474 additions and 12186 deletions

View File

@@ -0,0 +1,35 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C

View File

@@ -1,35 +1 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C
<<: !include common.yaml

View File

@@ -1,35 +1 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C
<<: !include common.yaml

View File

@@ -1,35 +1 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C
<<: !include common.yaml

View File

@@ -1,35 +1 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C
<<: !include common.yaml

View File

@@ -1,35 +1 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C
<<: !include common.yaml

View File

@@ -1,35 +1 @@
switch:
- platform: template
id: template_switch1
optimistic: true
- platform: template
id: template_switch2
optimistic: true
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: bang_bang
name: Bang Bang Climate
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature_low: 18°C
default_target_temperature_high: 24°C
idle_action:
- switch.turn_on: template_switch1
cool_action:
- switch.turn_on: template_switch2
heat_action:
- switch.turn_on: template_switch1
away_config:
default_target_temperature_low: 16°C
default_target_temperature_high: 20°C
<<: !include common.yaml