Smarter report/sleep timer handling. Some other minor improvements.
Smarter report/sleep timer handling. Some other minor improvements.

Signed-off-by: Kalman Olah <aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d@kalmanolah.net>

kalmanolah/kalmon-ESP8266