IoTLabs-pl / pyhOn

Control hOn devices with python
MIT License
2 stars 1 forks source link

Split out diagnostic tools to separate module #12

Open kubasaw opened 2 months ago

kubasaw commented 2 months ago

Currently, diagnostic methods are tightly coupled within the Appliance class. To improve code organization and modularity, we should refactor the diagnostic tools into a separate module. Especially, diagnostic class should be able to attach onto Appliance and grab diagnostic data. Hon class should not have integrated loader for dummy devices created from dumped JSON responses from API. If this functionality is necessary, it should be also separated and act as a replacement for a fully functional loader for real devices.

kubasaw commented 2 months ago

Partially resolved in #23