What does the code look like if you display this in the new “card-mod” card (
since the old “card modder” card is no longer supported) ? Somehow it doesn’t work for me.
With reference to the Moon not appearing, the browser is throwing this error:
Looking at line 374, ‘waning_gibbous’ is missing from the constant t definition. I added it after ‘Full Moon’ and hey presto it showed up. But it goes away when you refresh the page.
In any case that is probably the cause of the disappearance of the moon.
Hey @mishaaq,
I updated to the latest Sun Card as to your close of the issue on Github with the Moon not being present.
Unfortunately it is still not shown. I even tried removing your card and reinstalled it - but no luck.
I see this in my console:
Then I noticed that in the visual editor the entry under Moon in just said “Moon” unlike the the other entries which had sensor.??????? entries. I reselected from the dropdown list sensor.moon and now the moon shows up on my card.
Great! As you see, there are two entries related to moon phase in your configuration, but only the latter is the proper one. I discovered the README file was still containing the former name of the entry. I’ve updated the file. Probably this is the reason why some guys have problems with the moon phase.
Please configure the card using graphical editor to mitigate the risk of improper config.
Great plugin.
I Never got it working. So I thought, IL try again. A few net updates I saw. Removed the old version and started all over again. followed the installation manual.
Installed it via Hacs. so 50% of step 3 is done. But the last part I did not get.
What do you mean with “and update lovelace configuration accordingly”
I have no clue what I have to do. Can anyone point me in the right direction? I feel I`m missing a small step.