Hi,
I started using mushroom cards for my dashboard, but I am looking for a way to remove the button on the bottom of this mushroom lock card.
Thank you.
Hi,
I started using mushroom cards for my dashboard, but I am looking for a way to remove the button on the bottom of this mushroom lock card.
Thank you.
You can use card mod
type: custom:mushroom-lock-card
entity: lock.your_lock
card_mod:
style: |
mushroom-lock-buttons-control {
display: none;}
or use a Mushroom Template Card
type: custom:mushroom-template-card
primary: Example Lock
entity: lock.your_lock
tap_action:
action: toggle
secondary: |
{{states(entity) }}
icon: |
{{ 'mdi:lock' if is_state(entity, 'locked') else 'mdi:lock-open' }}
icon_color: |
{{ 'green' if is_state(entity, 'locked') else 'red' }}
These are the main Mushroom card threads here and here for future inquiries.
Thank you so much. That did the trick
Please format your code correctly #11