ha-card-weather-conditions icon indicating copy to clipboard operation
ha-card-weather-conditions copied to clipboard

Moon_Phase doesn't show anything

Open fa-ve opened this issue 4 years ago • 6 comments

after a "fix" in CC we have a 5 day state of the moon, but when adding one of the sensors to the card nothing show's up.

fa-ve avatar Jan 29 '21 18:01 fa-ve

Install the latest version of the card and use your sensor...._moon_phase_0d

r-renato avatar Jan 29 '21 19:01 r-renato

I did, but don't show anything, have the following:

type: 'custom:ha-card-weather-conditions' name: [] language: nl animation: true weather: icons_model: climacell current: sun: sun.sun moon_phase: sensor.cc_weather_moon_phase_0d

fa-ve avatar Jan 29 '21 20:01 fa-ve

I have a similar problem, i see only the description, in English even if I have specified the language "it", and no icon.

gio82c avatar Jan 31 '21 10:01 gio82c

having the same issues as well card and provider are updated to current versions, I now have the 5 sensors for moon phases but when put in to the card they always display ERR but when checked in the developer tool they are showing the correct phase

the0ckid82 avatar Feb 03 '21 01:02 the0ckid82

Hey @r-renato, we definitely have a problem with the Moon_Phase display with your awesome card.

After having spent some time spying on this issue i can now presume that the icon and the translation will only be displayed when the moon state contains "one word" ( like full:"🌕" or new:"🌑") Screenshot 2021-02-18 at 22 13 41

I hope you will find some time to locate and fix this issue.

Thank you for your amazing work.

romquenin avatar Feb 18 '21 21:02 romquenin

I added to configuration.yaml:

sensor:
  platform: moon

and the card:

weather:
  icons_model: defaulthass
  current:
    sun: sun.sun
    moon_phase: sensor.moon

that seems to work.

Houdoe avatar Mar 11 '21 13:03 Houdoe