Use a slightly better way to wait for localsettings.
Use a slightly better way to wait for localsettings.

Using a quick busy-wait loop, or a slow loop with a hard sleep in it,
is not particularly kind to CPU or event handling.

victronenergy/dbus-cgwacs,victronenergy/dbus-cgwacs,victronenergy/dbus-cgwacs