Make sure to go to Developer Tools → Check Configuration and look for the “green check” before restarting to make sure your yaml is correct; then “Reload Resources” in the Dashboard Are to use.
First of all, thank you very much for the Feedback NathanCFD.
For all of you who are experiencing the same problem. The error message disappeared after I had uninstalled HACS and then reinstalled it.