Closed poudenes closed 1 year ago
will screen the desktop yaml file (Lovelace file).
Doesn't the Watchman "screen" it already?
What I know its check all the integration and automation files. I never saw an issue from the desktop file. When check the desktop I see some missing entities and then have to update them. Or I see that something is not working anymore and then there was still a old entity.
Sorry, I am not getting. Are you describing: -- what you can do already, -- or what you want to do - but cannot currently?
will screen the desktop yaml file (Lovelace file).
Doesn't the Watchman "screen" it already?
Yes it can. It's controlled by a by-default-off checkbox setting in the configuration of Watchman
will screen the desktop yaml file (Lovelace file).
Doesn't the Watchman "screen" it already?
Yes it can. It's controlled by a by-default-off checkbox setting in the configuration of Watchman
Do you mean that I have turn on this box: Parse dashboards UI (ex-Lovelace) configuration? Then I get a whole list from lots of old entities. Not of the actual file that is used.
Run 0.6.1 Watchman version
Do you mean that I have turn on this box: Parse dashboards UI (ex-Lovelace) configuration?
Yes, I guess.
If I do that then I have Missing Entities: 323. That's incorrect. Then my whole dashboard won't work haha.
The missing entities are in : lovelace-latest and lovelace
I have Missing Entities: 323.
Then register a bug issue with a detailed description.
I have Missing Entities: 323.
Then register a bug issue with a detailed description.
No. First read the current open issues. Then check where the missing entries come from. Only if you find some false positives that do not match to already existing open issues, report a new one.
There is something going on.
Here all missing entities missing.txt
and below my running dashboard: desktop.txt
It doesn't make sense.
At least first 3 entities reported as "missing" in "missing.txt" are missing in "desktop.txt". Means - these entities are not mentioned explicitly by their names in this file - i.e. in this dashboard. But Watchman is supposed to mark as "missing" an entity which is mentioned in a dashboard - but does not exist. Are you sure that this "desktop.txt" file is exactly the dashboard which was monitored? Are you sure that this "missing.txt" file is the latest analysis?
P.S. Suggest to rename the issue. It is not a "FR", it is about some bug (or what you suspect to be a bug).
Big majority of all items in "missing" seem to come from file .storage/lovelace-latest
I've never seen a such file in my system. I'd suggest first figuring out what that file is.
In the end there are some items from .storage/lovelace , those might be real ones
To be clear: desktop.txt file is the running dashboard(desktop). no errors, no missing entities. All ok. That's why its so weird that I get almost 323 missing entities when I enable "Parse dashboards UI (ex-Lovelace) configuration" in Watchman configuration.
I grab the desktop information by doing: 1) Right upper corder, edit dashboard 2) 3 dots, raw configuration editor
I also see those files. Is the Lovelace-latest still used by HA or will this be the problem that its still there?
-rw-r--r-- 1 root root 568168 Oct 1 09:49 lovelace
-rw-r--r-- 1 root root 198737 Feb 18 2020 lovelace-latest
-rw-r--r-- 1 root root 32972 Jul 17 09:58 lovelace.dashboard_eurovision
-rw-r--r-- 1 root root 330 Sep 29 14:49 lovelace_dashboards
-rw-r--r-- 1 root root 5817 Sep 29 09:13 lovelace_resources
Looking at the date of lovelace-latest I'd QUESS that it is some old backup. I did not have HA back in 2020. Might be that watchman is simplifying things by checking everything that begins with lovelace... I'd do a backup, rename that file to something else than lovelace... and restart.
I think the problem has been solved. I removed the 'lovelace-latest' restart HA and now missing entities are 7.
I know this is a slightly old and closed issue - but I am confused. Watchman continues to show hundreds of missing dashboard entities after they are corrected and even after a restart. Obviously it is looking at various other files, but I have no idea how to correct this
Watchman continues to show hundreds of missing dashboard entities after they are corrected and even after a restart
Was the Watchman asked to update it's sensors?
Apologies - this was me. There was a slightly obscure massive sub-tab in a panel that I missed despite having Watchman point it out clearly. This is a great package!
I love this tool so much!!!
Would be nice to have also a service check that will screen the desktop yaml file (Lovelace file). Sometimes I change something and forget the desktop yaml file. So when The Watchman will check this and say where in the file (line number) is the error you can easy open the editor and then raw configuration and goto the line number.
Greets, Peter