Hi Thomas,
Your custom cards are absolutely awesome! May I ask about feature request:
Say, I have monster-card that filters out some entities.
I’d like to apply a custom popup-card on each of these entities
In popup I’d like to display:
– history-graph card displaying current entity’s state changes with custom interval (10 days)
– useful-markdown-card displaying text containing current entity’s attributes
Config might be smth like this:
- type: custom:monster-card
card:
type: entities
filter:
include:
- entity_id: sensor.prefix*
- type: custom:popup-card
entity:
- <same entities defined in monster. filtered with wildcard?>
card:
type: vertical-stack
cards:
- type: history-graph
hours_to_show: 240
entities:
- <entity_id displayed in the popup>
- type: custom:useful-markdown-card
content: 'More details: [[ sensor.<entity_id displayed in the popup>.attributes.Attribute ]]'
Hope explanation abode makes sense. What could you advice?
Unfortunately monster-card (or my reimplementation auto-entities) can’t be used to create one card per entity due to layouting concerns.
If I were to do it, I’d probably try to make some kind of jinja script that could design the popup-cards automatically based on a for-loop over all entities, run it in /dev-template and then copy the results into the lovelace config.
@thomasloven - can fold-entity-row be made to ‘fold’ or ‘un-fold’ from code?
For example, I have more than one instance of using a schedule when an input_boolean is on.
It would be great to be able to keep the schedule part of the UI ‘folded’ or ‘un-folded’ based on the state of the input_boolean.
Do you know how to get rid of this error (started when I switched from the markdown card to the useful-markdown-card):
element.setconfig is not a function
All the cards on the page produce the same error. Error go away but then come back after a few browser refreshes.
Maybe this is another clue: the padding option does nothing and sometimes the padding automatically switches between 0px and what looks like 16px.
I finally had time to set up and use the browser-commander card and I would like to say Thanks…again! Totally awesome and have some great ideas for this plugin. @thomasloven I have couple of questions if I may…
Is there any way to designate the screen location the popup shows,? for example = top: 87%; left: 23%…ideally to have more than one popup at a time if needed(if that is even possible). Right now, when I try 2 different ones, the second opens over the first one.
Would it possible to have the large: true popups start at the very top of browser?
I can only get the picture-glance card to open large sized if I open a more-info large popup first, which almost works, but the bottom of card the entities are not on the screen and scrolling moves the main view and not the popup.
…more-info (bottom of image cuts off)