When devices have some kind of issue, we need to set the errorState so they turn red in the UI.
When devices have some kind of issue, we need to set the errorState so they turn red in the UI.