ofc, I did first try this before posting, and both seem to work, without any errors in the log. So just asking for confirmation, and generic guideline.
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
before you ask why I dont use the lock config option: these are buttons where the lock is permanent, so no option to unlock is allowed. -alert indicating that, and setting those buttons apart from the other un unlockable buttons in my config
Both work, you can use ha-icon or ha-state-icon (even though ha-state-icon is "supposed" to be used when it's related to an entity which is not your case)
Checklist
Describe the bug A clear and concise description of what the bug is.
Sorry if this is more of a question than an issue, but not biggie enough for a first discussion:...
since b2 follows ha-state-icon, do we need to change that in our configs too?: in other words, do we need to change:
to
ofc, I did first try this before posting, and both seem to work, without any errors in the log. So just asking for confirmation, and generic guideline.
Version of the card Version:
To Reproduce This is the configuration I used:
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
before you ask why I dont use the lock config option: these are buttons where the lock is permanent, so no option to unlock is allowed.
-alert
indicating that, and setting those buttons apart from the other un unlockable buttons in my config