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.

Habdroid always appends item state in label

See original GitHub issue

Opening an issue based on the discussion here.

It appears that habdroid does not respect the item or sitemap label and will always append item state. If you put a [] in your sitemap or item label, habdroid will no longer append the state but you end up with [] in your label text.

Example:

Items: Number Thermostats_Downstairs_System_Mode "System Mode" { channel="omnilink:thermostat:home:downstairs:system_mode" } Sitemap: Selection item=Thermostats_Downstairs_System_Mode mappings=[0="Off",1="Heat",2="Cool",3="Auto",4="Emergency Heat"]

This should just render a label that says “System Mode”, but habdroid appends the state: image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
lolodomocommented, Oct 21, 2017

Fix is now in the review process.

0reactions
lolodomocommented, Oct 21, 2017

I will fix this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

adding an element to the label bar - android - Stack Overflow
I want to add an element to the label bar in the top right corner.element like the green square in the top right...
Read more >
<activity> | Android Developers
Declares an activity (an Activity subclass) that implements part of the application's visual user interface.
Read more >
Principles for improving app accessibility - Android Developers
Each of these best practices, described in the sections that follow, can further improve your app's accessibility: Label elements: Users must be ...
Read more >
TextView - Android Developers
Flag requesting you to add views that are marked as not important for autofill (see setImportantForAutofill(int) ) to a ViewStructure .
Read more >
<application> | Android Developers
This element contains subelements that declare each of the application's components and has attributes that can affect all the components.
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