Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a card-tool function to a Custom Card #59

Open
pesor opened this issue Apr 27, 2021 · 0 comments
Open

How to add a card-tool function to a Custom Card #59

pesor opened this issue Apr 27, 2021 · 0 comments

Comments

@pesor
Copy link

pesor commented Apr 27, 2021

I have created a custom card, that works, but I cannot figure out how to add the

card lovelace-secondaryinfo-entity-row to it.

I am using VS-Code, and have added the card-tools to the node_modules via the npm statement in the read file.

I have also found out that the secondaryinfo-entity-row card works on the standard entity card, but I want it to work on my card.

I can not figure out how to include the secondaryinfo-entity-row card into my code so that it will use the info.

My card is a altered version of the battery-state-card, and apart from the fact that I cannot add the second card, my card works with my alterations, especial to the second row info.

This is a print of a working card, with other info than Battery, but it is basically the same card, except for my additions to the secondary info. so the card is basically a copy of the original battery-state-card, but with modifications for usage.

image

The reason for the wish for the sencondary-entity-row card, is the HTML formatting, which is awsome.

Any help will be appriciated, and I can mention that my cards, is thought as an enhancement to my LILYGO TTGG-HIGrow card, which is a terricfic plant sensor card, and all code for this is available on my github.

//Per

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant