This code is proof of concept of some UX flow for an IoT app managing smart device such as heater. It allows to set up geofencing area and actions happening when user enters or leaves area of the device.
It is meant just to explore SwiftUI concepts. There is not proper data layer behind the UI code.