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

In the Fossil Fuel section the "Color of Value" toggle switch of the main entity overrides the secondary. #575

Closed
Ndrinta opened this issue Apr 17, 2024 · 1 comment · Fixed by #589
Labels
bug Something isn't working

Comments

@Ndrinta
Copy link

Ndrinta commented Apr 17, 2024

Describe the bug
In the Fossil Fuel section the "Color of Value" toggle switch of the main entity overrides the secondary.
Seems to be OK elsewhere but not fully tested.

To Reproduce
Set the "Color of Value" toggle to true for main entity and to false for secondary.

  fossil_fuel_percentage:
    color_icon: false
    entity: sensor.grid_non_fossil_fuel_percentage
    secondary_info:
      entity: sensor.grid_non_fossil_fuel_percentage
      unit_of_measurement: '%'
      display_zero: false
      unit_white_space: false
      color_value: false # <- Secondary Entity Color: FALSE
    display_zero: true
    color_value: true # <- Main Entity Color: TRUE
    unit_white_space: true

Expected behavior
Apply the color to only main entity and not (black) secondary.

Screenshots
image

Browser Console Errors
N/A

Desktop (please complete the following information):
Core 2024.4.3
Supervisor 2024.04.0
Operating System 12.2
Frontend 20240404.2

Smartphone (please complete the following information):
N/A

@Ndrinta Ndrinta added the bug Something isn't working label Apr 17, 2024
@flixlix flixlix linked a pull request Apr 21, 2024 that will close this issue
@flixlix
Copy link
Owner

flixlix commented Apr 21, 2024

fixed in #589

@Ndrinta Ndrinta closed this as completed Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants