Advertisement
Guest User

Buttons

a guest
Dec 6th, 2021
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. type: horizontal-stack
  2. cards:
  3. - type: conditional
  4. conditions:
  5. - entity: input_boolean.is_washer_done
  6. state: 'on'
  7. card:
  8. type: button
  9. tap_action:
  10. action: toggle
  11. entity: input_boolean.is_washer_done
  12. show_state: false
  13. name: Washer
  14. icon: mdi:washing-machine
  15. card_mod:
  16. style: |
  17. ha-card {
  18. color: red;
  19. }
  20. :host {
  21. --paper-item-icon-color: red;
  22. }
  23. - type: conditional
  24. conditions:
  25. - entity: input_boolean.is_dryer_done
  26. state: 'on'
  27. card:
  28. type: button
  29. tap_action:
  30. action: toggle
  31. show_state: false
  32. name: Dryer
  33. entity: input_boolean.is_dryer_done
  34. icon: mdi:tumble-dryer
  35. card_mod:
  36. style: |
  37. ha-card {
  38. color: red;
  39. }
  40. :host {
  41. --paper-item-icon-color: red;
  42. }
  43. - type: conditional
  44. conditions:
  45. - entity: input_boolean.is_dishwasher_done
  46. state: 'on'
  47. card:
  48. type: button
  49. tap_action:
  50. action: toggle
  51. show_state: false
  52. name: Dishwasher
  53. entity: input_boolean.is_dishwasher_done
  54. icon: mdi:dishwasher
  55. card_mod:
  56. style: |
  57. ha-card {
  58. color: red;
  59. }
  60. :host {
  61. --paper-item-icon-color: red;
  62. }
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement