#Set the color of PRESS

1 messages · Page 1 of 1 (latest)

heavy jacinth
#

Trying to set the color of the button PRESS

sly steeple
#

Which are card you use for Press

heavy jacinth
#

Here is the whole yaml

'''type: entities
entities:

  • entity: button.bedroom_window_minus
    name: '- Minus'

  • entity: button.bedroom_window_plus
    name: '- Plus'

  • entity: button.bedroom_window_03
    name: . 03%

  • entity: button.bedroom_window_05
    name: . 05%

  • entity: button.bedroom_window_10
    name: . 10%

  • type: divider
    style:
    background-color: lime
    height: 5px

  • entity: switch.bedroom_window_close
    name: ' Close'

  • entity: switch.bedroom_window_open
    name: ' Open'

  • cover.bedroom_window

  • type: divider
    style:
    background-color: lime
    height: 5px

  • entity: binary_sensor.bedroom_window_bedroom_window_button_2
    name: Bedroom Window Button

  • entity: binary_sensor.bedroom_window_bedroom_window_closed_2
    name: Bedroom Window Closed
    icon: mdi:window-closed

  • entity: binary_sensor.bedroom_window_bedroom_window_open
    name: Bedroom Window Open
    icon: mdi:window-open
    title: Bedroom Window
    state_color: true
    card_mod:
    style:
    .: |
    ha-card {
    card-mod-icon-color: white;
    background: purple;
    color: white;
    --switch-unchecked-button-color: red !important;

    --button-color: black
    

    }'''

heavy jacinth
#

The PRESS is what I would like to change

sly steeple
#

You can try with
--mdc-button-disabled-ink-color

heavy jacinth
#

not sure how to add color to those elements.