asosnovsky / Shortumation

[Not Maintained] A better way to write automations in home-assistant without having to install and run a seperate automation engine!
MIT License
298 stars 6 forks source link

TypeError: Cannot read properties of undefined (reading 'alias') #166

Open aarya123 opened 2 years ago

aarya123 commented 2 years ago

Describe the bug Trying to delete an automation that can't be found on-disk results in an error. It still deletes, but requires me to refresh the page.

Expected behavior Automation is deleted with no error screen. Or the error is dismissable and I can go back to the main screen.

Screenshots

Screen Shot 2022-10-04 at 1 56 54 PM Screen Shot 2022-10-04 at 1 57 04 PM

Desktop (please complete the following information):

Additional context