Revert "Modbus proxy: setup before devices (#23134)"

This reverts commit 0617c128f0.
This commit is contained in:
andig 2025-08-30 10:23:35 +02:00
parent 062ceceef6
commit ecaed08949
2 changed files with 5 additions and 5 deletions

View file

@ -195,6 +195,11 @@ func runRoot(cmd *cobra.Command, args []string) {
}
}
// setup modbus proxy
if err == nil {
err = wrapErrorWithClass(ClassModbusProxy, configureModbusProxy(&conf.ModbusProxy))
}
// setup site and loadpoints
var site *core.Site
if err == nil {