#@REDGAЯ I converted your message into a
1 messages · Page 1 of 1 (latest)
I found my way and got it but thanks for the reply
Here's another suggestion for you that does not use the conditional card. Instead, it uses the auto entities card and watches the update entities. If an update is available, it will be displayed. (I just kinda threw this together so it hasn't really been tweaked or tested much.)
type: custom:auto-entities
card:
type: vertical-stack
card_param: cards
filter:
include:
- domain: update
state: 'on'
options:
type: button
exclude:
- state: 'unavailable'
else:
type: markdown
content: >-
<ha-alert alert-type="info">No updates available</ha-alert>
sort:
method: name
reverse: false
numeric: false
show_empty: true```
A little bit of variation with this example. It uses a grid card instead of a vertical-stack. It also uses the custom:button-card instead of the stock button to give a bit more design options. Replace function removes "update" from the entity name. Hold action will perform the update.