-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add new filtering properties on old cards #483
Comments
Also, properties can't be changed anymore. It goes back to the original value after a short time, surprising . . . |
Right. You can still change them in the YAML but the visual editor has a problem. |
But that is only half the truth. |
I'm new to Auto entities and I have this exact same problem link from HA forum The dropdown entries 'vanish'. |
is this only happening with labels? if you want to use labels, create a template filter using filter, the works fine. At least in yaml mode. |
It happens with anything, you basically "Select property" from the drop down, you get the full list and no matter what you pick it does nothing. I'm assuming you pick something then the value field appears but it never does and the select property reverts to blank. |
same here I guess... Logger: frontend.js.modern.202501090 Uncaught error from Firefox 134.0 on Ubuntu TypeError: "filter" is read-only _changeFilter (/hacsfiles/lovelace-auto-entities/auto-entities.js:1:33021) _renderFilterEditor/</< (/hacsfiles/lovelace-auto-entities/auto-entities.js:69:46) handleEvent (/hacsfiles/lovelace-auto-entities/auto-entities.js:1:14430) dispatchEvent (src/common/dom/fire_event.ts:75:7) addValueChangedListener (src/components/ha-form/ha-form.ts:210:16) dispatchEvent (src/common/dom/fire_event.ts:75:7) ev.stopPropagation (src/components/ha-form/ha-form-select.ts:68:14) call (src/lit-html.ts:2018:28) dispatchEvent (src/common/dom/fire_event.ts:75:7) fireEvent (src/components/ha-selector/ha-selector-select.ts:293:14) |
The issue is with it trying to load the entities constantly, it automatically tries to render them and I think as you start with everything, it just borks everything as it crashes. When you select a filter property it wipes it out as it starts trying to refresh the entity list. My suggestion would be stop refreshing the entity list all the time when using the editor, either wait for a save or have a manual refresh button so you can update the preview when you are ready. |
I created a card about 2 or 3 years ago. It is systematically updated to the latest version (currently 1.13.0).
After embracing Labels, I wanted to add a label-based filter to a card. This is how it looks like when opening the editor.
When trying to select "Label" from the "Select property" dropdown, I can select it but after a few seconds it vanishes. This is a screenshot quickly snagged when "Label" was still visible:
There is no entry for the label.
The text was updated successfully, but these errors were encountered: