Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: button
- tap_action:
- action: toggle
- entity: switch.parking_lewa
- name: ' '
- icon: mdi:pine-tree
- style: |
- ha-card {
- --paper-item-icon-active-color: rgba(125,170,104,0.5);
- --paper-item-icon-color: green;
- {% if is_state(config.entity,"on") %}
- background: url("https://i.pinimg.com/originals/79/8b/71/798b71faaa527c12e213986cbcc4709d.gif");
- {% endif %}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement