You can calculate a config state health based on the app and device state.
The following table provides application states and the corresponding configuration states health:
| App State | Health | 
|---|---|
| cfg ready | Red | 
| cfg in-sync | Green | 
| cfg error | Black | 
| cfg refreshed | Red | 
| cfg refresh error | Black | 
| cfg unknown | Red | 
| device remove failed | Black | 
The following table provides health of the device state based on its provisioning status:
| Dev State | Health | 
|---|---|
| not provisioned | Red | 
| provisioned | Green | 
| provisioning failed | Black | 
| unknown | Red |