Use next_reading instead of register

This prevents the plugin attempting to re-register every 5 seconds.

Signed-off-by: John Else <john.else@citrix.com>
Clear trailing whitespace

Signed-off-by: John Else <john.else@citrix.com>