d_sellers1

cb with mushroom-light-card

Sep 4th, 2024
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.05 KB | None | 0 0
  1. type: custom:button-card
  2. entity: light.bedroom_lights
  3. color_type: icon
  4. color: auto
  5. state:
  6.   - value: 'off'
  7.     styles:
  8.       icon:
  9.         - color: dimgray
  10. styles:
  11.   grid:
  12.     - grid-template-areas: '"i" "n" "s" "l" "mushroom_slider"'
  13.     - grid-template-rows: 1fr min-content min-content min-content min-content
  14.     - grid-template-columns: 1fr
  15.   card:
  16.     - background: black
  17.     - padding-bottom: 5px
  18.   custom_fields:
  19.     mushroom_slider:
  20.       - width: 100%
  21. custom_fields:
  22.   mushroom_slider:
  23.     card:
  24.       type: custom:mushroom-light-card
  25.       entity: light.bedroom_lights
  26.       fill_container: true
  27.       use_light_color: true
  28.       show_brightness_control: true
  29.       show_color_control: true
  30.       show_color_temp_control: true
  31.       collapsible_controls: false
  32.       primary_info: none
  33.       icon_type: none
  34.       secondary_info: none
  35.       card_mod:
  36.         style: |
  37.          ha-card {
  38.             border: none;
  39.             background: transparent;
  40.             margin-top: 10px;
  41.             margin-bottom: 0px
  42.           }
Advertisement
Add Comment
Please, Sign In to add comment