inf219-mocca / MOCCAPI

MIT License
4 stars 0 forks source link

Change is_powered from boolean to int #11

Closed sondr3 closed 5 years ago

sondr3 commented 5 years ago

Instead of having the is_powered parameter be a boolean on whether the machine is on or off, this makes it impossible to know whether the machine is brewing, heating or just off. I suggest we instead move it to be an integer, but with only three possible options: