Availability report for yesterday with Up/Down Time

Custom SWQL report for yesterday with percent up, percent down and the overall time in minutes that a device was up/down.