I wanted to make a Custom Button Card so I made a Manual card and pasted in this example config:
- type: 'custom:button-card'
color_type: card
entity: binary_sensor.intruder
name: Intruder Alert
state:
- value: 'on'
color: red
icon: mdi:alert
styles:
card:
- animation: blink 2s ease infinite
- operator: default
color: green
icon: mdi:shield-check
I changed the entity to something I have and saved it but it was not there until I refreshed the page. I thought that was weird as I don’t recall having to do that after making a card. I tested the button and it works great. However when I wanted to make a change (I clicked on the 3 dots then edit dashboard) the card disappears. I tried this on Edge and Chrome. I made another Custom Button Card and the same thing happens. Every time I go to the view with that card on it I have to refresh the page in order to see it. Using version 0.118.5, button card version is 3.4.0.