Make sensor error be a property rather than a signal

This allows to know when it was not in error anymore.
Also show a notification when error is set, and finally
reindent all files.