Add on_boot. Partial clean up.
This commit is contained in:
@@ -42,9 +42,19 @@ globals:
|
||||
initial_value: ${duct_fan_hi_spd}
|
||||
|
||||
<<: !include .common.yaml
|
||||
<<: !include .esp32.yaml
|
||||
<<: !include .wifi-oss.yaml
|
||||
|
||||
esphome:
|
||||
name: ${dn}
|
||||
platform: ESP32
|
||||
board: esp32doit-devkit-v1
|
||||
on_boot:
|
||||
- priority: 200.0
|
||||
then:
|
||||
- output.set_level:
|
||||
id: duct_fan_output_id
|
||||
level: ${duct_fan_vent_spd}%
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: ${wall_fan_pwr_pin}
|
||||
@@ -199,4 +209,3 @@ climate:
|
||||
- logger.log: "WARNING: ${friendly_name} Thermostat has hit high temp!"
|
||||
- switch.turn_on: thermostat_on_id
|
||||
#TODO - provide some kind of warning / action here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user