1) Give a description of the problem
Always returns “Mains” but WebCore Dashboard properly shows the state in its Home Page
2) What is the expected behavior?
Should indicate if on Mains or Battery accordingly
3) What is happening/not happening?
State never changes
**4) Post a Green Snapshot of the piston
Note Simple test statement on line 25:
Log info “Hub power source”
5) Attach any logs (From ST IDE and by turning logging level to Full)
12/26/2017, 2:52:43 PM +909ms
+1ms ╔Received event [Home].test = 1514325163908 with a delay of 0ms
+94ms ║mains
+116ms ╚Event processed successfully (117ms)
12/26/2017, 2:51:40 PM +117ms
+1ms ╔Received event [Home].test = 1514325100116 with a delay of 0ms
+90ms ║mains
+117ms ╚Event processed successfully (118ms)