Refactor Heater class #615
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The heater class is not generic enough to be re-used properly. This is probably because it was programmed specifically for FLP. There are some important points to make this class usable for EIVE specifically:
Heater
class in my opinionGPIO pins as well
It would be good to define a generic HeaterBase class which provides adaptions points like
checkHeaterState(... targetState)
,setHeater(... targetState)
which allow to write custom code being able to handle any combination of GPIO pins or power switches.