frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Changing services in developer tools doesn't clear errors

Open EnochPrime opened this issue 4 years ago • 3 comments

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

If an error occurs in the services tab of the developer tools that causes a fallback to yaml mode, the error will not be cleared by switching which service is selected. A page refresh is required to return to UI mode.

Describe the behavior you expected

Errors should be cleared and returned to UI mode when switching services.

Steps to reproduce the issue

  1. Select a service from the drop down menu
  2. Cause a fallback to yaml mode (i.e. type '{{' in the message field of notify.notify)
  3. Select another service from the drop down menu

What version of Home Assistant Core has the issue?

2022.5.3

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Brave 1.38.111 (Chromium 101.0.4951.54)

Which operating system are you using to run this browser?

Linux Mint 20.3

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

EnochPrime avatar May 10 '22 03:05 EnochPrime

Still present in 2022.7.5

EnochPrime avatar Jul 17 '22 14:07 EnochPrime

Still present in 2022.8.2

EnochPrime avatar Aug 08 '22 17:08 EnochPrime

Still present in 2022.9.4

EnochPrime avatar Sep 16 '22 03:09 EnochPrime

Still present in 2022.12.8

EnochPrime avatar Jan 02 '23 22:01 EnochPrime

Filed a bugfix to clear the error on switching service or filling example data.

Note this will not switch back to UI-mode, but you can easily click the button to toggle back to it.

karwosts avatar Jun 28 '23 23:06 karwosts