Hi, I can’t get my simple thermostat card to behave like it was 1 month ago, I can’t get back the background colors of the buttons neither change the active mode color background.
the most annoying one is the green auto mode.
any help will be appreciated
code:
type: custom:simple-thermostat
entity: climate.netatmo_salon_pabellon
icon: mdi:fireplace
decimals: '1'
show_header: true
name: Estufa
step_layout: row
label:
temperature: Temperatura
state: Estado
sensors:
- entity: sensor.netatmo_salon_pabellon_current_temperature
name: Mesilla
- entity: sensor.netatmo_pabellon_cocina_pabellon_humidity
name: Humedad
layout:
mode:
headings: false
names: false
step: row
hide:
temperature: true
control:
_names: false
_headings: false
hvac:
some_mode: false
another_mode: false
'off':
name: Apagado
auto:
name: Auto
icon: mdi:calendar
header:
name: Estufa
icon: mdi:fireplace
style: |
ha-card {
--st-font-size-xl: 24px !important;
--st-font-size-title: 20px !important;
--st-font-size-m: 10px !important;
--st-font-size-sensors: 15px !important;
}
.body {
padding-bottom: 0px !important;
padding-left: 15px !important;
}
header {
padding-bottom: 15px !important;
}
Theme:
noctis
noctis:
# Fonts
primary-font-family: 'Raleway,sans-serif'
paper-font-common-base_-_font-family: "var(--primary-font-family)"
paper-font-common-code_-_font-family: "var(--primary-font-family)"
paper-font-body1_-_font-family: "var(--primary-font-family)"
paper-font-subhead_-_font-family: "var(--primary-font-family)"
paper-font-headline_-_font-family: "var(--primary-font-family)"
paper-font-caption_-_font-family: "var(--primary-font-family)"
paper-font-title_-_font-family: "var(--primary-font-family)"
ha-card-header-font-family: "var(--primary-font-family)"
# Text
text-color: '#ffffff'
primary-text-color: 'var(--text-color)'
text-primary-color: 'var(--text-color)'
secondary-text-color: "#BAC0C6"
text-medium-light-color: '#A0A2A8'
text-medium-color: '#80828A'
disabled-text-color: '#626569'
primary-color: 'var(--accent-color)'
# Text Fields an Dropdown
mdc-text-field-fill-color: 'var(--background-color)'
mdc-text-field-ink-color: 'var(--text-color)'
mdc-select-fill-color: 'var(--background-color)'
mdc-text-field-label-ink-color: 'var(--secondary-text-color)'
input-fill-color: 'var(--background-color)'
input-ink-color: 'var(--text-color)'
input-label-ink-color: 'var(--text-color)'
input-disabled-fill-color: 'var(--background-color)'
input-disabled-ink-color: 'var(--disabled-text-color)'
input-disabled-label-ink-color: 'var(--disabled-text-color)'
input-idle-line-color: 'var(--background-color)'
input-dropdown-icon-color: 'var(--secondary-text-color)'
input-hover-line-color: 'var(--primary-color)'
code-editor-background-color: '#222c40'
codemirror-property: 'var(--accent-color)'
# Main Colors
app-header-background-color: '#242e42'
header-height: 48px
accent-color: '#1A89F5'
accent-medium-color: 'var(--accent-color)'
# Background
background-color: '#242e42'
primary-background-color: 'var(--background-color)'
background-color-2: '#20293c'
secondary-background-color: 'none'
markdown-code-background-color: 'var(--background-color)'
# Card
card-background-color: 'var(--ha-card-background)'
ha-card-background: 'rgba(43,55,78,1)' #'linear-gradient(145deg, #273246, #2e3b53)'
ha-card-box-shadow: "3px 3px 13px -6px rgba(17,35,52,1)"
ha-card-border-radius: "5px"
border-color: 'none'
# Icons
paper-item-icon-color: '#EBEBEB'
paper-item-icon-active-color: 'var(--accent-color)'
# Sidebar
sidebar-background-color: 'var(--background-color)'
sidebar-icon-color: '#98a7b9'
sidebar-selected-icon-color: 'var(--accent-color)'
sidebar-selected-text-color: 'var(--text-color)'
paper-listbox-background-color: 'var(--sidebar-background-color)'
divider-color: 'var(--background-color)'
light-primary-color: 'var(--ha-card-background)'
# Sliders
paper-slider-knob-color: 'var(--accent-color)'
paper-slider-pin-color: 'var(--background-color-2)'
paper-slider-active-color: 'var(--accent-color)'
paper-slider-container-color: 'var(--background-color-2)'
# Toggle:
paper-toggle-button-checked-bar-color: 'var(--accent-color)'
mdc-theme-primary: 'var(--accent-color)'
# Switch
switch-unchecked-color: '#70889e'
switch-checked-button-color: 'var(--accent-color)'
switch-unchecked-track-color: 'var(--background-color-2)'
switch-checked-track-color: 'var(--background-color-2)'
# Radio Button
paper-radio-button-checked-color: 'var(--accent-color)'
# Popups
more-info-header-background: 'var(--secondary-background-color)'
paper-dialog-background-color: 'var(--background-color)' #'rgba(47,59,82,0.4)'
# Tables
table-row-background-color: 'var(--background-color)'
table-row-alternative-background-color: 'var(--ha-card-background)'
# Badges
label-badge-background-color: 'var(--background-color)'
label-badge-text-color: 'var(--text-primary-color)'
label-badge-red: 'rgba(73,85,108,1)'
label-badge-blue: 'rgba(26,137,245,1)'
label-badge-green: 'rgba(0,202,139,1)'
label-badge-yellow: 'rgba(222,176,107,1)'
paper-input-container-focus-color: 'var(--accent-color)'
# Custom Header
ch-background: 'var(--background-color)'
ch-active-tab-color: 'var(--accent-color)'
ch-notification-dot-color: 'var(--accent-color)'
ch-all-tabs-color: 'var(--sidebar-icon-color)'
ch-tab-indicator-color: 'var(--accent-color)'
# Mini Mediaplayer
mini-media-player-base-color: 'var(--text-color)'
mini-media-player-accent-color: 'var(--accent-color)'
# Alarm
alarm-color-armed: 'rgba(247,53,67,1)'
# Card-Mod #####################################################################
# Uncomment the Code below if you have card-mod installed and want blur effect #
################################################################################
# card-mod-theme: noctis
# card-mod-more-info-yaml: |
# $: |
# .mdc-dialog .mdc-dialog__scrim {
# backdrop-filter: blur(15px);
# -webkit-backdrop-filter: blur(15px);
# background: rgba(0,0,0,.6);
# }
# .mdc-dialog .mdc-dialog__container .mdc-dialog__surface {
# box-shadow: none !important;
# border-radius: var(--ha-card-border-radius);
# }
# .: |
# :host {
# --ha-card-box-shadow: none;
# }
#ST thermostat:
st-mode-active-background: 'var(--accent-color)' #Background color for active mode button
st-mode-active-color: 'var(--text-color)' #Text color for active mode button
st-mode-background: 'var(--accent-color)' #Background color for inactive mode button
st-toggle-label-color: 'var(--accent-color)' #Text color for toggle label