Check Home Assistant Configuration failed

I saw that there was an update so ran my usual Check Home Assistant Configuration Add on and came up with this ERROR which I have no idea what it means so shall no proceed at this stage

Can anyone enlighten me?

Hi!

Can you post the content of your configurations.yaml file where it says “SensrEntityDescription”?

Please redact any sensitive information

I have done a “Find” for “Sensor” on my configuration.yaml file and cannot find this string???

This is the config of the /usr/share/hassio/share/check_config.txt

rontaylor@nuc-1:/usr/share/hassio/share$ cat check_config.txt
INFO:homeassistant.util.package:Attempting install of colorlog==5.0.1
Testing configuration at /tmp/config
INFO:homeassistant.util.package:Attempting install of pyhik==0.2.8
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of mutagen==1.45.1
INFO:homeassistant.util.package:Attempting install of gTTS==2.2.3
INFO:homeassistant.util.package:Attempting install of scapy==2.4.5
INFO:homeassistant.util.package:Attempting install of aiodiscover==1.4.2
INFO:homeassistant.util.package:Attempting install of hass-nabucasa==0.44.0
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20210803.2
INFO:homeassistant.util.package:Attempting install of PyNaCl==1.4.0
INFO:homeassistant.util.package:Attempting install of emoji==1.2.0
INFO:homeassistant.util.package:Attempting install of distro==1.5.0
INFO:homeassistant.util.package:Attempting install of defusedxml==0.7.1
INFO:homeassistant.util.package:Attempting install of async-upnp-client==0.19.1
INFO:homeassistant.util.package:Attempting install of zeroconf==0.33.2
INFO:homeassistant.util.package:Attempting install of pillow==8.2.0
INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.4.17
INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.10
INFO:homeassistant.util.package:Attempting install of python-openzwave-mqtt[mqtt-client]==1.4.0
INFO:homeassistant.util.package:Attempting install of pysensibo==1.0.3
INFO:homeassistant.util.package:Attempting install of aiofiles==0.6.0
INFO:homeassistant.util.package:Attempting install of rflink==0.0.58
INFO:homeassistant.util.package:Attempting install of ephem==3.7.7.0
INFO:homeassistant.util.package:Attempting install of python-forecastio==1.4.0
INFO:homeassistant.util.package:Attempting install of psutil==5.8.0
INFO:homeassistant.util.package:Attempting install of envoy_reader==0.19.0
Fatal error while loading config: '<' not supported between instances of 'SensorEntityDescription' and 'SensorEntityDescription'
Failed config
  General Errors:
    - '<' not supported between instances of 'SensorEntityDescription' and 'SensorEntityDescription'

Successful config (partial)

This is the entry for my envoy

  - platform: enphase_envoy
    ip_address: 192.168.0.100
    monitored_conditions:
      - production
      - daily_production
      - seven_days_production
      - lifetime_production

I hope that is helpful.

I can’t pretend to fully understand what that message means but it appears to have a problem with the “less than” operator’s use somewhere in the configuration. That’s what i gather from this:

‘<’ not supported between instances of

Do you have any templates in the configuration that employ the < operator?

I have been through every *.yaml file in the config folder and done a search for “<” and found none.
I loaded 2021.7.4 on 24/7/21 and it had no problem with the config check or the actual load.
The changes I have made since then have been
I keep a log of major chnages and this is what changes were made to my system.

Date Time Action Outcome
5/08/2021 6:20 Update ESPHome to 1.20.4 OK
1/08/2021 8:50 Ubuntu Updates OK
29/07/2021 6:45 Updated Tuya V2 to 1.40.x OK
26/07/2021 14:40 Updated Tuya V2 to 1.40.2 OK
25/07/2021 1512 Removed TUYA V1 integration Installed Tuya V2 HACS in morning and removed V1 in afternoon.
24/07/2021 Remove Tuya and reinstall with new Tuya app on phone OK

I have made some minor changes like renaming a few entities but nothing involving templates.

Beats me.

I also did this
image
I am assuming that my configuration is correct if this is green and says its valid

I’m getting the same “sensorentitydescription” error when I try to restart the server.

Some integrations (eg Ecowitt) were not loading despite rebooting the RPi and now HACS is not loading, or at least showing an error. I have just set up the Energy screen so my next step is to delete that.

  • And I’ve just decided to go back to a working snapshot from 2 days ago.

Update - Snapshot from previous Core version works fine. Something in core-2021.8.1 does not like my current setup. It certainly doesn’t like the Ecowitt HACS integration. (Won’t load). I thought it might be a version issue but could not work my way around that.

Perhaps the problem might not be in the configuration but with the loading of an integration. I suggest reporting this as an Issue in the Core repository.

I will try removing the Ecowitt integration before updating

I am not sure how to report this issues in the core repository??
How do I do this?

I tried a RESTART of HA and HA loaded OK.
I agree there is something in the new 2021.8.1 that does not like something.

Get a free GitHub account and then fill in this form:

Thanks.
I have raises an issue. Never done that before.

The issue is Check Home Assistant Configuration fails on 2021.8.1 ¡ Issue #54104 ¡ home-assistant/core ¡ GitHub

rontaylor

New core just uploaded 2021.8.2 fixes the problem for me. It was linked to the HACS Ecowitt (weather station) integration. It was all about the way in which one sensor was described. This might apply to other integrations with sensors.
See reference here:

1 Like

ping just in case the other one didn’t work

I have successfully loaded 2021.8.3.
Steps I took.

  1. I took @Steve61 advice and edited the ECOWITT const.py file changing all all “VOLT” to “ELECTRIC_POTENTIAL_VOLT”.
    I also took the precaution of making a copy of the original const.py file before editing.
  2. I then ran the CHECK HOME ASSISTANT CONFIGURATION utility.
    It came back with no errors and I did not restart HA.
  3. Next I did the 2021.8.3 update. It took a little longer than usual but not surprising as it was fairly large update from what I read.

This issue took a little while to resolve and thank you to those who had the skills to sort it out.
ECOWITT has proved to be a troublesome HACS integration but it’s very useful to me anyway.

Thanks for raising the issue. The update to fix Enphase appears to have fixed Ecowitt as well.

I just need to make sure I am doing backups before updates - that option is offered - It saved me a lot of grief.

Backups.
I have an automation that does a backup every night at 00:00hrs. This means I don’t forget and also saves time with updates.