Allow secondary_info with custom attribute when state is off
See original GitHub issueCurrently it is not possible to show secondary_info with custom (non-default) attribute when state is off.
Allow a secondary_info
(like brightness
or brightness_pct
) when entity’s state is off.
Perhaps divide them into
secondary_info_on
andsecondary_info_off
Target: use secondary_info_on: brightness_pct
when on and secondary_info_off: last-updated
when off.
State on is fine:
State off is missing secondary_info:
Used for example:
- type: custom:slider-entity-row
entity: light.lampe_tisch
name: Lampe Tisch
hide_when_off: true
full_row: false
min: 1
max: 100
step: 1
attribute: brightness_pct
toggle: true
show_state: true
state_color: true
secondary_info: brightness
state_header: ''
column: false
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Custom Secondary Info for Entities Card
I have created a custom row for the Entities card, which allows you to ... variables: - states['automation.update_abb_usage'].attributes[' ...
Read more >name and secondary too close to image · Issue #21 - GitHub
working nicely! was not using the 'state' till now, this. card: type: custom:template-entity-row entity: '[[entity]]' secondary: > {{states.
Read more >Using data attributes - Learn web development | MDN
This article is adapted from Using data attributes in JavaScript and CSS on hacks.mozilla.org. Custom attributes are also supported in SVG 2; ...
Read more >Custom attributes in Exchange Server - Microsoft Learn
Summary: Learn to use the custom attributes in Exchange Server 2016 or Exchange Server 2019 to add information about a mail recipient.
Read more >Custom Attributes and Item Library | Square Support Center - US
Not only can using this information with Custom Attributes be used to help run the business, but it will allow a one-stop shop...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Anything to the left of the slider is handled by Home Assistant and will only have the features that any other row has.
Yes. In exactly the same way as slider-entity-row does. No more. No less.