You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,7 @@ Lovelace Button card for your entities.
144
144
|`variables`| object | optional | See [Variables](#Variables)|
145
145
|`card_size`| number | 3 | Any number | Configure the card size seen by the auto layout feature of lovelace (lovelace will multiply the value by about 50px) |
146
146
|`tooltip`| string | optional | Any string | (Not supported on touchscreens) You can configure the tooltip displayed after hovering the card for 1.5 seconds . Supports templates, see [templates](#javascript-templates)|
147
+
|`disabled`| boolean | optional |`false`| Available starting from HA 2025.10. Enables or disables the card. Supports templates. |
147
148
148
149
### Action
149
150
@@ -435,6 +436,7 @@ Those are the configuration fields which support templating:
435
436
- The lock being enabled or not (`lock.enabled`)
436
437
- all the `card` parameters in a `custom_field`
437
438
- all the `variables`
439
+
- `disabled`: should return a boolean
438
440
439
441
Special fields which do support templating but are **only evaluated once**, when the configuration is loaded. Error in those templates will only be visible in the javascript console and the card will not display in that case:
0 commit comments