Closed lmagyar closed 2 years ago
FYI, I'm not using lovelace-card-mod, but am also still seeing the aforementioned issue; seems unlikely that the issue resides in this mod.
@lmagyar I suggest to remove card-mod code and see what is happening.
FYI, I'm not using lovelace-card-mod, but am also still seeing the aforementioned issue; seems unlikely that the issue resides in this mod.
OK, false alarm, closing.
My Home Assistant version: 2022.4.0
My lovelace configuration method (GUI or yaml): yaml
What I am doing:
Modifying input_select's css with card_mod.
What I expected to happen:
What happened instead:
Sometimes the frontend (Win Chrome and Android app also) tries to set an input_select to an empty option that causes this error in the core:
There is an issue in frontend https://github.com/home-assistant/frontend/issues/11991 and they made a fix to check not to send empty values, though this is still happening.
The frontend team guessed that maybe some children rendering order causes this problem (I'm not a web developer).
After the April 1 joke I have a hunch, that maybe card_mod interferes with the rendering of the input_select.
Sometimes my HA UI chrome thread hangs (100% CPU core usage) and I have to kill it. Maybe this is related, maybe not.
Minimal steps to reproduce:
Currently there are no deterministic steps to reproduce this, so some help needed to log it. Though within a few hours this happens.
This is how I modify the entities/entity cards:
Error messages from the browser console:
By putting an X in the boxes ([]) below, I indicate that I:
[X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[X] Have made sure I am using the latest version of the plugin.
[X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.