Automation vanished

Hello all

I have been frustrated today by my home assistant installations

I was running HA supervisor on a dedicate debian laptop until 2 week ago and all was fine. I migrated to a HA OS solution on a vm in proxmox and for the first week (using the backup from the laptop) all was fine.

I have a different phone and i wanted to add it to HA. I read that i needed to add

Mobile_app
discovery

to the configuration yaml. Which i did . I restarted HA and when it came back up all my automation were gone. Yet they still show up in the automation yaml.

In addition all my z-wave entities are gone.

The whole day i have been uninstalling and reinstalling zwave devices to no avail.

I decided to revert back to the laptop
It presented several updates to perform Home Assistant core, node red…etc

as i performed the update and restarted ha, I noticed that after installing the core update i get a notification

and again all the automation disappear

I do have a backup

however it is still frustrating goin one step forward and one back all day

What the foobar am i doing incorrectly? how do i fix this>?

thank you all for your patience and help

Just to add

When I build a new automation and save it it will not show in the list of automation however it is in the automation yaml

Im not entirely sure this was necessary. Usually it’s install mobile client and move on unless you weren’t using default config.

That said, if you entered this into your configuration.yaml file incorrectly it could cause all kinds of problems depending on what’s incorrect and where in the file you put it.

Im a bit confused however with ‘reverted to the laptop’ is this the old install, the new one?

Did you just try to undo this add? (mobile_app and discovery remove this) and see what it would do?)

Basically, trying to figure out where your are now so we can help.
(also this should not have taken out ZWave, you’re probably making it worse by trying to add/re-add stuff there)

The discovery integration was removed from home assistant in the 2023.8 update. Remove it from your config.

https://www.home-assistant.io/blog/2023/08/02/release-20238/#breaking-changes

Additionally the mobile app integration should not be capitalised.

Should be:

mobile_app:

It sounds like you also have an invalid automation. Please post the full error logs from Settings → System → Logs.

Hello all

Thank you for your replies and recommendations

In response to @NathanCu nathan yes once the damage was done I removed Mobile_app and discovery from the configuration yaml.

Now I am running the Laptop with the existing flavor of HA and proceeded to perform the update.The HA VM on proxmox has been removed.
I checked and do not have “discovery” anywhere in the configuration or the automation yaml.

This is the log for the automation error

Logger: homeassistant.setup Source: setup.py:209 First occurred: 9 August 2023 at 22:40:28 (1 occurrences)
Last logged: 9 August 2023 at 22:40:28

Setup failed for default_config: (DependencyError(…), ‘Could not setup dependencies: automation’)

9 August 2023 at 22:40:28 – (ERROR) setup.py

Unable to set up dependencies of default_config. Setup failed for dependencies: automation 9 August 2023 at 22:40:28 – (ERROR) setup.py

Error during setup of component automation

9 August 2023 at 22:40:27 – (ERROR) helpers/entity_registry.py

In the configuration yaml i deleted all the the entries for the default config

Again thank you for your patience and help

Hope this helps

Not sure what you mean by this. Default config has no “entries”. The list of integrations it includes is hard coded.

If you mean you deleted things like automation: !include automations.yaml then put them back, they are required.

Hi all I resolved this issue by completely deleted the Home Assistant VM on proxmox.
the created a new VM for home assistant installed HA and slowly added components such as addon and integrations.

I made sure to restart HA after each add.

I never recuperated the existing automation nor did want to to ensure that any automation were in conflict or could be built better after all the HA updates.

Now i am in the process of re creating all the automations.

There should be a simpler process than this …Just a thought

Thank you just the same for the time you all took to respond to my posts and help

Be all well