So I'd been having issues as sensors had been vanishing from the modbus after some kind words and help from sseib over at the esphome discord we removed the lines
setup_priority: -10
offline_skip_updates: 100
From the modbus controller section of the inverter yaml
Now it all seems to work perfectly if the esphome device misses a modbus sensor it won't be deleted from the register.
Hope this helps anyone with the same issue and if odya or anyone thinks those lines shouldn't be removed please let me know.
So I'd been having issues as sensors had been vanishing from the modbus after some kind words and help from sseib over at the esphome discord we removed the lines
From the modbus controller section of the inverter yaml Now it all seems to work perfectly if the esphome device misses a modbus sensor it won't be deleted from the register. Hope this helps anyone with the same issue and if odya or anyone thinks those lines shouldn't be removed please let me know.