Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to define background color in new thermostat lovelace component #1902

Closed
ghost opened this issue Oct 28, 2018 · 3 comments
Closed

Unable to define background color in new thermostat lovelace component #1902

ghost opened this issue Oct 28, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 28, 2018

@peterhoe commented on Oct 28, 2018, 10:09 AM UTC:

Home Assistant release with the issue: 0.81.0

Last working Home Assistant release (if known): N/A

Operating environment (Hass.io/Docker/Windows/etc.): Hassio

Component/platform: Lovelace/thermostat

Description of problem:

I am using the new lovelace thermostat component. I don't seem to be able to change the middle of the background color of the thermostat card from within a theme template.

thermostat

Description of problem:

When using a dark themed background, the text dissapears, and the foreground centre of the thermostat always remains white regardless of theme entries

Theme definition as follows

Dark - Gray:

Main Interface Colors

primary-color: "#A3A3A3"
light-primary-color: "#C5C5C5"
primary-background-color: "#272727"
secondary-background-color: var(--primary-background-color)
divider-color: "#343434"

Text

primary-text-color: "#FFFFFD"
secondary-text-color: "#4d6d2e"
text-primary-color: "#FFFFFF"
disabled-text-color: "#A3A3A3"

Sidebar Menu

sidebar-icon-color: "#A3A3A3"
sidebar-text-color: "#FFFFFD"
sidebar-selected-background-color: var(--primary-background-color)
sidebar-selected-icon-color: "#4d6d2e"
sidebar-selected-text-color: var(--sidebar-selected-icon-color)

States and Badges

state-icon-color: "#4d6d2e"
state-icon-active-color: "#F7AA1C"
state-icon-unavailable-color: var(--disabled-text-color)

Sliders

paper-slider-knob-color: "#4d6d2e"
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: var(--paper-slider-knob-color)
paper-slider-active-color: var(--paper-slider-knob-color)
paper-slider-secondary-color: var(--light-primary-color)

Labels

label-badge-background-color: "#575757"
label-badge-text-color: "#FFFFFD"
label-badge-red: "#575757"

Cards

paper-card-background-color: "#2D2D2D"
paper-listbox-background-color: var(--primary-background-color)

Toggles

paper-toggle-button-checked-button-color: "#4d6d2e"
paper-toggle-button-checked-bar-color: "#598330"
paper-toggle-button-unchecked-button-color: "#A3A3A3"
paper-toggle-button-unchecked-bar-color: "#6F6F6F"

Table row

table-row-background-color: var(--primary-background-color)
table-row-alternative-background-color: var(--secondary-background-color)

ui-lovelace.yaml entry
type: thermostat
entity: climate.daikin

This issue was moved by fabaff from home-assistant/home-assistant#17904.

@zsarnett
Copy link
Contributor

The Plug-in we are using for this has a current issue that doesnt allow to change the background. I am monitoring the issue and will watch for the PR and update our version

@zsarnett
Copy link
Contributor

Found a fix that doesnt require the upstream issue to be resolved

@matisaul
Copy link

matisaul commented Nov 4, 2018

Hi @zsarnett ... I updated to HA 0.81.6, and the problem still continue.

I tried cleaning cache, but nothing happened. Is this fix included in 0.81.6 ?

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants