1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-19 03:32:20 +01: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

@@ -1,56 +1 @@
esphome:
on_boot:
then:
- climate.pid.autotune: pid_climate
- climate.pid.autotune:
id: pid_climate
noiseband: 0.25
positive_output: 25%
negative_output: -25%
- climate.pid.set_control_parameters:
id: pid_climate
kp: 0.0
ki: 0.0
kd: 0.0
- climate.pid.reset_integral_term: pid_climate
output:
- platform: slow_pwm
pin: 4
id: pid_slow_pwm
period: 15s
restart_cycle_on_state_change: false
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
climate:
- platform: pid
id: pid_climate
name: PID Climate Controller
sensor: template_sensor1
humidity_sensor: template_sensor1
default_target_temperature: 21°C
heat_output: pid_slow_pwm
control_parameters:
kp: 0.0
ki: 0.0
kd: 0.0
max_integral: 0.0
output_averaging_samples: 1
derivative_averaging_samples: 1
deadband_parameters:
threshold_high: 0.4
threshold_low: -2.0
kp_multiplier: 0.0
ki_multiplier: 0.0
kd_multiplier: 0.0
deadband_output_averaging_samples: 1
<<: !include common.yaml