Open DEADSEC-SECURITY opened 1 year ago
Yeah what is up with this. I like that it will make it easier for mobile to desktop but I am frozen.
I think this is a bug. Possibly the javascript that parses the YAML is not optimized for long YAMLS?
Shame it is a real good card
When i have more time I might try to debug it but currently too busy to work on this. @hitnrun30
Hey guys so I think I found a bug, not sure how to debug this since my browsers keeps freezing trying to load the dashboard but Ill try to explain as detailed as possible. So I'm trying to make a single dashboard with different things for mobile and desktop and this is the code I came up with but for some reason as soon as I introduce state-switch and I access the dashboard the browser freezes and after a couple seconds I get a notification asking if I would like to kill the tab or wait. It never loads so waiting is pointless.
Tested browser:
Tried in both using a Incognito tab so no cache and no cookies but still freezed.
HACS Version: 1.28.2 Frontend Version: 20220906112053 Plugin Version: 1.9.5 HA Version: 2022.10.1 Supervisor Version: 2022.10.0 OS Version: 8.1
Logs: (I'm not sure if these logs are related to the plugin but due to the time they happened might have something to do with it) Core: Seem to get a lot of the following but again I'm not 100% sure if its related:
2022-10-17 20:49:49.414 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
My code: