Advertisement
nisu66

Card irrigazione

Jun 11th, 2024
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.66 KB | None | 0 0
  1. type: custom:button-card
  2. color_type: card
  3. entity: input_boolean.irrigation_monday
  4. name: Lunedì
  5. state:
  6.   - value: 'on'
  7.     icon: mdi:calendar-check
  8.     styles:
  9.       card:
  10.         - background-color: green
  11.         - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
  12.         - transition: background-color 0.3s ease
  13.   - value: 'off'
  14.     icon: mdi:calendar-remove
  15.     styles:
  16.       card:
  17.         - background-color: red
  18.         - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
  19.         - transition: background-color 0.3s ease
  20. styles:
  21.   card:
  22.     - border-radius: 15px
  23.     - height: 70px
  24.     - width: 160px
  25.   name:
  26.     - font-weight: bold
  27.     - font-size: 14px
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement