question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Entity state widget shows N/A when brightness is selected for attribute

See original GitHub issue

Home Assistant Android version: 2.0.0-2-gd747afd-237-full Android version: 10 Phone model: Pixel 4 XL Home Assistant version: 0.113.3 Last working Home Assistant release (if known): N/A Description of problem:

I just setup the new entity state widget and I noticed that when I selected brightness as an attribute to display along with my zwave light status the widget shows as N/A. If I change the attribute to say the Friendly Name it will display correctly, despite needing a missing space 😃

Traceback (if applicable):


Screenshot of problem:

Here is what I see when I select brightness as an attribute image

This is the widget data I used for the above screenshot image

Here is an example of it working with the friendly name image

Additional information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
dshokouhicommented, Aug 3, 2020

It looks like only the attribute is having an issue. Just now I tried to set a static widget for my thermostat with the attribute being the current_temperature and saw the same N/A error. When I create a static widget based on the sensor state which is numeric it seems to be fine.

1reaction
colincachiacommented, Aug 3, 2020

Thanks for the info, will come up with a fix later on 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Numeric State Brightness missing - Home Assistant Community
If you are using a Numeric State Condition to check an entity's attribute, the attribute must exist. When a light entity is off...
Read more >
PowerManager - Android Developers
Wake lock level: Ensures that the screen is on at full brightness; ... but there is no implied mapping to specific thermal status...
Read more >
Accessible Rich Internet Applications (WAI-ARIA) 1.2 - W3C
A role is used to make the behavior of this simple widget known to the user agent. Attributes that change with user actions...
Read more >
FreestyleTM
HTC Sync. Select this option to synchronize contacts, calendar, and other information between your computer and your phone. For more information, see the....
Read more >
Managing Your iPhone Battery Life
****The Retina display uses a lot of power and dimming your screen helps to extend your battery life. You can lower the default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found