Actually, most are warnings. Home Assistant always posts a warning message when it loads a custom integration and your system has over a dozen of them.
The error messages concern the integrations it simply could not find.
2020-05-05 14:31:56 ERROR (MainThread) [homeassistant.setup] Setup failed for meross_cloud: Integration not found.
as well as integrations that failed to connect:
2020-05-05 14:32:02 ERROR (SyncWorker_8) [homeassistant.components.broadlink.switch] Failed to connect to device
2020-05-05 14:32:03 ERROR (SyncWorker_6) [homeassistant.components.orvibo.switch] S20 at 192.168.1.98 couldn’t be initialized
and integrations you didn’t configure correctly:
2020-05-05 14:32:14 ERROR (MainThread) [homeassistant.components.sensor] The glances platform for the sensor integration does not support platform setup. Please remove it from your config.
Meross integration removed from HACS Integrations, but not able to remove from Settings->Integrations
Broadlink removed from configuration, sensors and switches
Orvibo removed the IP not available
Glances removed
sensor.date_time probably solved
enigma media_player changed IP
I don’t understand the ones with “Platform automation does not generate unique IDs” because if I search all over /config the entities ID in the errors, I don’t find them.
What do you mean by network failures?
What can I check?
Many of the errors (I haven’t had chance to look at your most recent log yet) we’re ‘X cannot be reached’ or ‘error contacting X’ type errors.
This would indicate that there is a problem with the network, maybe Internet connection or internal routing/switching. Without knowing your network set up I don’t know where you would start checking but I’d certainly be rebooting my router and making sure I can ping all the devices I was expecting homeassistant to talk to.
If you have more than one automation with the same id then that’s the message Home Assistant will report. It attempts to load the duplicate but fails because it cannot give the duplicate a different id (" … does not generate unique IDs").
The same situation is true for duplicated entities and explains why you’re seeing errors messages for sensors and switches.
It’s like you have entities and automations already registered (in the .storage folder) and then you’re trying to load second copies of them from YAML files.
If you stop homeassistant, delete your database file and your .storage directory but keep your configuration.yaml and associated yaml files, it should effectively ‘factory reset’ your install, but with your configuration still in tact.
Please double check this though as it is a bit of a nuclear option and I’m not home right now to double check the files!
Last thing.
I’m not able to remove Meross Cloud from Integrations (Settings->Integrations)
When I click DELETE a popup shows up with “Are you sure?” but after clicking Yes nothings happen.
UI Integrations are kept in storage, so if you go the nuclear option this is another thing that will be swept away. Of course you’ll have to re-add your other UI integrations once you’re back up but it’s trivial.
I can confirm that I was right about the files, so if you’re not precious about a factory reset then that’s what I would do…
When it comes back up you’ll be at onboarding. Add your user and password to get to the frontend and you will find that all your yaml based configurations are already there (possibly with a few errors if automations have already tried to run that reference entity_ids that are from ui integrations).
Then go in to the integrations page, add back your ui ones, restart one more time and see what the logs say, but by this point you’ll either be error free, the errors will reside exclusively in your yaml and can be corrected easily or the errors are due to an external factor such as network hardware etc.
Please note that if you have a particularly awesome lovelace set up in normal mode, that will also disappear with the storage directory, so you’ll need to back that up (personally I would just copy the yaml from the gui editor in to a text file on my laptop and then copy it back over after the reset).