Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:button-card
- icon: mdi:trash-can-outline
- entity: input_boolean.dummy_door
- name: |
- [[[
- return states["sensor.garbage_collection"].state + ' dagar till soptämning'
- ]]]
- tap_action:
- action: toggle
- styles:
- grid:
- - grid-template-areas: '"i n"'
- - grid-template-columns: min-content max-content
- - column-gap: 1rem
- card:
- - padding: 1rem
- icon:
- - color: grey
- - width: 4rem
- name:
- - justify-self: start
- state:
- - value: 'on'
- name: Take out the trash!
- styles:
- icon:
- - color: red
- - animation: flash 1s infinite alternate
- extra_styles: |
- @keyframes flash {
- 0% { color: grey; }
- 100% { color: red; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement