Uptime/operating hours per day

@derfrickler @mzsolnay

This is fairly simple to do using Flux stateDuration() function.