Skip to content
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

Custom widget not showing state for all entities after changing it. #3520

Open
ehendrix23 opened this issue Apr 1, 2025 · 0 comments
Open

Comments

@ehendrix23
Copy link

Device model, version and app version

Model Name: MacBook Pro 16-inch, Nov 2023
macOS Version: Sequoia 15.2
App Version: 2025.2
Safari Version: 18.2

Home Assistant Core Version 2025.3.4

I created a custom widget and it has 11 entities listed in there. It is updating regularly however only the 1st 3 entities are showing the state, none of the others are showing the state.
When I added a sensor widget from Home Assistant app with all the same entities it showed the state in there for all of them. And interesting enough my custom widget then also suddenly started to show the state for all entities and not just the 1st 3.

It seems to happen when editing the custom widget. As it was fine again after I had added the other widget, then I went to change the names displayed and from the moment I saved it updated the widget resulting in again only the 1st 3 being shown.

Removing the widget, clicking Done, and then re-adding it ensures again that all of them are shown. But then an update results again in the same issue however when I retried this it didn't work.
If I click "Reload all Widgets" then it shows values again for all the entities. Reload has to happen 1-2 minutes after saving otherwise it does not seem to do it. :-)

I had it run for a while (about 40 minutes) with no issues. Then made a change to the widget and from the moment I saved it happened. Clicked reload and didn't change. Waited a minute and then tried again and now it shows all of them again.

To Reproduce
Create a custom widget and add it to desktop. Then make updates to the widget and save it.

Expected behavior
State values for all entities are shown in the widget, not just the 1st 3.

Screenshots

Image showing custom widget with only values for the 1st 3 entities

Image

Image showing that with standard sensor widget as well the custom widget is now showing all values.
Image

Additional context

@ehendrix23 ehendrix23 changed the title Custom widget shows state for 3 sensors out of 11 Custom widget not showing state for all entities after changing it. Apr 1, 2025
@bgoncal bgoncal added the widgets label Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants