home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.12k stars 2.81k forks source link

Keyboard stops working when setting Light brightness #21752

Open nikduvall opened 3 months ago

nikduvall commented 3 months ago

Checklist

Describe the issue you are experiencing

When modifying an automation and attempting to type in a brightness, the keyboard stops responding until the webpage is reloaded.

Describe the behavior you expected

Be able to type in a value for the brightness percentage

Steps to reproduce the issue

  1. Navigate to Settings --> Automation
  2. Create a new automation targeting a light
  3. Set an Action of Light: Turn On
  4. Check the checkbox for Brightness
  5. Click inside the edit box for the value (do not touch the slider)
  6. Attempt to type in a numeric value
  7. No value is displayed in the edit box
  8. The keyboard inputs are now ignored on every screen you navigate to
  9. Click the browser Reload button
  10. Keyboard inputs are back to normal ...

What version of Home Assistant Core has the issue?

2024.8.2

What was the last working version of Home Assistant Core?

2024.7.4

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

alias: Master Bedroom Switch Toggle
description: ""
trigger:
  - platform: device
    type: changed_states
    device_id: 4d824368de158122d15c18e6525d0d77
    entity_id: b1ff47da42c14b669f2986b2f8b49206
    domain: switch
condition: []
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: switch.master_bedroom_light_switch_switch_1
            state: "on"
        sequence:
          - action: light.turn_on
            data:
              kelvin: 3067
              brightness_pct: 100
            target:
              entity_id: light.floor_corner_light
      - conditions:
          - condition: state
            entity_id: switch.master_bedroom_light_switch_switch_1
            state: "off"
        sequence:
          - action: light.turn_off
            target:
              entity_id:
                - light.floor_corner_light
            data: {}
mode: single

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

Wendelstein7 commented 3 months ago

I can not reproduce using your stepts, however, I have witnessed this when doing some template/helpder configuration for a few hours of fiddling around, approximately three times in the hour I had to reload the webpage to be able to use the keyboard again. Unfortunately, I cannot reproduce it, but I can confirm it happens.

github-actions[bot] commented 5 days ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.