#Set the color of PRESS
1 messages · Page 1 of 1 (latest)
Which are card you use for Press
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}'''
You can try with
--mdc-button-disabled-ink-color