dckiller51 / lovelace-body-miscale-card

Card for data of Xiaomi scales in the Lovelace user interface of Home Assistant The card is linked to the Bodymiscale custom components for Xiaomi scales. https://github.com/dckiller51/bodymiscale
MIT License
81 stars 22 forks source link

Share configuration #14

Open edenhaus opened 3 years ago

edenhaus commented 3 years ago

Hi @dckiller51,

thanks for the nice card :) Can you please share the config of the card in the image below? I get only bars and I like the one in the screenshot :)

Configuration card

dckiller51 commented 3 years ago

This was before the update with the bars. I will look tonight to add a switch to activate or deactivate it.

dckiller51 commented 2 years ago

Hi @dckiller51,

thanks for the nice card :) Can you please share the config of the card in the image below? I get only bars and I like the one in the screenshot :)

Configuration card

Until I find a real solution, you will find below a workaround.

body:
  bmi:
    severity:
      - from: 0
        to: 10000
        color: transparent
  visceral_fat:
    severity:
      - from: 0
        to: 10000
        color: transparent
  body_fat:
    severity:
      - from: 0
        to: 10000
        color: transparent
  protein:
    severity:
      - from: 0
        to: 10000
        color: transparent
  water:
    severity:
      - from: 0
        to: 10000
        color: transparent
  muscle_mass:
    severity:
      - from: 0
        to: 10000
        color: transparent
  bone_mass:
    severity:
      - from: 0
        to: 10000
        color: transparent
  weight:
    severity:
      - from: 0
        to: 10000
        color: transparent
  ideal:
    severity:
      - from: 0
        to: 10000
        color: transparent
  basal_metabolism:
    severity:
      - from: 0
        to: 10000
        color: transparent
  body_type:
    severity:
      - from: 0
        to: 10000
        color: transparent
  metabolic_age:
    severity:
      - from: 0
        to: 10000
        color: transparent
ch3funio commented 2 years ago

is it only me, or anyone else have problem with displaying icons in above configuration?

dckiller51 commented 2 years ago

What is your theme? In dark no problem, I have not yet found the solution depending on the theme to invert the color.

edenhaus commented 2 years ago

@dckiller51 Why you don't use svg? This will solve also the workaround to manually copy the images to www

ch3funio commented 2 years ago

What is your theme? In dark no problem, I have not yet found the solution depending on the theme to invert the color.

custom theme, in dark mode its working

dckiller51 commented 2 years ago

@dckiller51 Why you don't use svg? This will solve also the workaround to manually copy the images to www

I had started converting svg them but some icons are not pretty.

grisza67 commented 2 years ago

hi i installed the card it's great. I see Polish language available but my data is in English. will the translation be automatic or should i change something in the settings?

dckiller51 commented 2 years ago

salut j'ai installé la carte c'est super. Je vois que la langue polonaise est disponible, mais mes données sont en anglais. la traduction sera-t-elle automatique ou dois-je changer quelque chose dans les paramètres ?

Hello, switch the system to English, update the card page and put the system back in your updated language (f5 on pc). Normally this should work.