Replies: 1 comment 2 replies
-
Which discussion, did you intend this to be a reply to a different thread? Typically if you want to suggest a code change you would setup a development env and create a pull request with the change. |
Beta Was this translation helpful? Give feedback.
2 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.
-
Good day all,
As this discussion goes on for a while now, I looked into the frontend files from the home-assistant repository. It seems like a very quick fix to add action to the entity card.
I suggest to add the following files:
File:
src/panels/lovelace/cards/hui-entity-card.ts
Add the following lines on top:
Add to the function setConfig:
Change the return html function:
To this:
Remove this:
Replace with this:
Also add this:
I just here to help, so I mean no harm in any way. If there is anything I can do to help, please let me know.
Cheers.
Douwe
Beta Was this translation helpful? Give feedback.
All reactions