IoTLabs-pl / pyhOn

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

Dependent `Parameter`s #18

Open kubasaw opened 2 months ago

kubasaw commented 2 months ago

At the moment, some Parameters (e.g. pause, active) are calculated based on other parameters values or events and it is done manually (i.e. in load_attributes method of Appliance). There should be Calculated or Dependent Parameter subclass which allows to automatically update them. Close related to: https://github.com/IoTLabs-pl/pyhOn/issues/17