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

Change font colour #33

Closed
calvinbui opened this issue Mar 27, 2023 · 4 comments
Closed

Change font colour #33

calvinbui opened this issue Mar 27, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@calvinbui
Copy link

calvinbui commented Mar 27, 2023

It'll be nice if the font colour can be changed.

My solar and home text are white while the grid is coloured.

image

Example with card-mod:

image

@flixlix
Copy link
Owner

flixlix commented Mar 27, 2023

I'll add this to my to-do list 👍

@flixlix flixlix added the enhancement New feature or request label Mar 27, 2023
@flixlix
Copy link
Owner

flixlix commented Apr 11, 2023

Added this feature in the latest release! 🎉

@flixlix flixlix closed this as completed Apr 11, 2023
@calvinbui
Copy link
Author

calvinbui commented Apr 12, 2023

@flixlix I can't get the text to be red when setting color_value: true. setting color_value to solar or grid worked however.

image

    type: custom:power-flow-card-plus
    clickable_entities: true
    kw_decimals: 2
    max_expected_flow_w: 10000
    entities:
      home:
        entity: sensor.home_power_consumption
        color_icon: true
        color_value: true
      grid:
        entity:
          consumption: sensor.grid_power_consumption
          production: sensor.grid_power_export
        color_icon: true
        color:
          production: '#18cf87'
          consumption: '#f76354'
        display_state: two_way
        color_circle: true
      solar:
        entity: sensor.total_solar_generation
        color_icon: true

@flixlix
Copy link
Owner

flixlix commented Apr 12, 2023

I'm sorry, I forgot to correct for the value...
Fixed in #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants