nurikk / zigbee2mqtt-frontend

Zigbee2MQTT frontend
https://www.zigbee2mqtt.io/
GNU General Public License v3.0
261 stars 186 forks source link

[Bug]: Device Settings : Add Filtered Published Attributes is auto closing/disapearing #2092

Open rionshin opened 3 months ago

rionshin commented 3 months ago

What happened?

When I select Device go to settings and click on + Filtered publish attributes the field is auto disappearing randomly after few seconds . Please see the videos with the issue in Safari and Firefox

https://github.com/user-attachments/assets/a1a6c9c4-0f3e-41a3-a645-9c63144d464f

https://github.com/user-attachments/assets/4f00e54f-3b24-44e8-ad8b-a36f3938e6d4

When i add it in the configuration.yaml all is working ok on frontend and it shows it

friendly_name: KitchenMotionSensor
filtered_attributes:
  - device_temperature

What browsers are you seeing the problem on?

Firefox, Safari

Relevant stacktrace

Zigbee2MQTT version
1.39.0 commit: 03269267 

frontend:
  port: 8181
  host: 192.168.*.*
  auth_token: ********

Did you download state.json.zip?

I will not attach state.json.zip

ov1d1u commented 2 months ago

I think this happens because the UI refreshes constantly with the current settings. I'm seeing a similar issue when trying to enable or disable an entity:

z2m-frontend

The only way to save such a setting from the UI is to quickly press Submit after checking/unchecking the box using the spacebar key.

technixp commented 2 months ago

Seems that whole UI is refreshing every time WS message comes in.