mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-26 04:02:50 +02:00
fixed on_boot wrongly positioned in modbus controller example (#1882)
This commit is contained in:
parent
38f5bdbcc2
commit
ad9b96f2ef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user