battery-state-card and battery_type_and_quantity as secondary_info #2596
Unanswered
WernerModenbach
asked this question in
Q&A
Replies: 1 comment
-
That looks very similar to what I have working, try this simpler example and check your indents.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have some battery devices integrated by Homematic(IP) Local.
I added them to Battery-Notes and I can copy and show the entities on my dashboard.
When using a battery-state-card I'm not able to show the battery type as the second_info.
Just nothing is displayed.
I think I followed the example given. Thanks for any help and hints.
Here is my card definition:
`type: custom:battery-state-card
secondary_info: "{attributes.battery_type_and_quantity}"
round: 0
collapse: 5
filter:
include:
- name: entity_id
value: "_battery_plus"
exclude:
- name: attributes.battery_low
value: false
sort:
by: state
desc: false
state_map:
to: 80
to: 10
bulk_rename:
colors:
steps:
gradient: true`
Beta Was this translation helpful? Give feedback.
All reactions