Files
sunnypilot/system
DevTekVE 4c6fec9ddf Refactor Sunnylink status checks and improve logic in multiple modules
This update streamlines how the system checks the status of Sunnylink. New methods were added to `sunnylink.py` to encapsify status checking logic, such as whether the device is connected to a network, if Sunnylink is enabled, if the device is registered and if registration is needed. This resulted in simplified code in `sunnylinkd.py` and `process_config.py` as these status checks are now standardized. Furthermore, removed repetitive code in `sunnylinkd.py` by replacing it with these new methods and modified the while loop conditions according to the new status methods.
2024-06-21 09:14:00 +02:00
..
2024-06-09 17:44:34 -07:00
2024-06-13 16:53:16 +00:00
2024-06-09 17:44:34 -07:00
2024-06-09 17:44:34 -07:00
2024-06-04 19:16:55 -07:00
2024-06-09 17:44:34 -07:00
2024-06-09 17:44:34 -07:00
2024-03-30 17:47:21 -07:00
2024-03-12 22:33:45 -07:00
2024-06-13 16:53:16 +00:00