error handling for exceptions in power on/off endpoints
Revert "error handling for exceptions in power on/off endpoints"

This reverts commit 26d6fcecfe64ba14e7dc971c4d6d318c45f5e2b0.
Merge branch 'master' of https://github.com/sushithegreat/coffee-and-pi
fixing delete endpoint