mini-climate-card icon indicating copy to clipboard operation
mini-climate-card copied to clipboard

hvac-mode translation

Open derlbear opened this issue 1 year ago • 2 comments

I use secondary_info: type: hvac-mode which also works. However, the output text is not translated. How can I set it so that the text appears in another language? Screenshot 2023-08-13 131749 The default climate card shows the translated output. Screenshot 2023-08-13 131818

derlbear avatar Aug 13 '23 11:08 derlbear

No idea, it is probably a new feature of HA. A PR is welcome if you want to get it working

regevbr avatar Aug 14 '23 07:08 regevbr

you mean the "cool" text`?

image

for me it worked like this:

hvac_mode:
  style: '(value, entity) => ({ color: value !== ''off'' ? ''red !important'' : ''grey'' })'
  source:
    'off':
      icon: mdi:power
      name: Aus
    heat:
      name: Heizen
      icon: mdi:fire

KrX3D avatar Dec 09 '23 16:12 KrX3D