Adds query for last reading by device.
Adds plant health status.