home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

Lights show 3-255 slider shows percent 1 - 100% #123628

Closed ornative closed 1 week ago

ornative commented 1 month ago

The problem

After this last update the lights I have in a tile card now are not consistent. Worse is that it is showing the light as 3-255 instead of a percentage which is incredibly non user friendly. So if I use the slider for the feature light brightness it shows percentage from 1 - 100%, but as soon as it is released it falls back to 3-255.

What version of Home Assistant Core has the issue?

core-2024.8.1

What was the last working version of Home Assistant Core?

core-2024.8.0

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Light

Link to integration documentation on our website

https://developers.home-assistant.io/docs/core/entity/light/

Diagnostics information

No response

Example YAML snippet

features:
  - type: light-brightness
type: tile
entity: light.theater_room_recessed_lights
color: green
name: Overhead Lights
icon: mdi:lightbulb-group
icon_tap_action:
  action: toggle
card_mod:
  style: |
    ha-card {
      background-color: black;
    }

Anything in the logs that might be useful for us?

No response

Additional information

No response

joostlek commented 1 month ago

What integration is providing the lights?

Eniste1 commented 1 month ago

Same here, every device which is dimmable shows the numbers instead of percentage. Zigbee2MQTT for lights also as Z-Wave-JS for blinds and the Logitech integration for the Harmony Hub. Also the state for every entity in the tiles are shown only in english instead of german as before.

After rollback to core-2024.8.0 everything is working properly again.

For me it seems to be a translation issue.

Kind regards and thank you for your work

joostlek commented 1 month ago

I checked with someone from frontend and nothing related to this changed between the two releases. Can you show the entities which have this problem in the dev tools? Can you also try booting in safe mode? I can't reproduce this on my production system, so there is something going wrong on your end probably

ornative commented 1 month ago

Interestingly I made no changes between when I started this issue and this morning. Checked the docker containers for both home assistant and zwavejsui neither had restarted. Yet when I refreshed the browser page this morning these entities (zwave devices) both show correctly. So to recap, no reboot of the server, no restarting of the docker containers but the entities are working correctly this morning. I will monitor them over the next few days and see if the issue returns.

Eniste1 commented 1 month ago

Yesterday I rolled back to core-2024.8.0 and everything works fine as before. Today, after your message, I installed the core-2024.8.1 again to make some screenshots and figure out the issues - but this time everything also works fine... So there went something wrong during the update yesterday. Sorry for the inconveniences and thank you for your help! Kind regards

issue-triage-workflows[bot] commented 2 weeks 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.