fixed on_boot wrongly positioned in modbus controller example (#1882)

This commit is contained in:
Joeri Colman 2022-02-09 22:11:12 +01:00 committed by GitHub
parent 38f5bdbcc2
commit ad9b96f2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,11 +330,6 @@ Then battery charge settings are sent.
## send config values at startup
## configure rtc clock and battery charge settings
on_boot:
priority: -100
then:
- lambda: |-
on_boot:
## configure controller settings at setup
## make sure priority is lower than setup_priority of modbus_controller
@ -402,8 +397,6 @@ Then battery charge settings are sent.
controller->queue_command(set_battery2_command);
ESP_LOGI("ModbusLambda", "EPSOLAR Battery set");
uart:
id: mod_bus
tx_pin: 19