rejuvenate / lovelace-horizon-card

Sun Card successor: Visualize the position of the Sun over the horizon.
MIT License
444 stars 31 forks source link

Moon Only #126

Open yakatz opened 5 months ago

yakatz commented 5 months ago

I have a use case to show only the moon information without the sun.

I haven't looked at how complicated that would be - I might try a PR next week if I have time.

ThomDietrich commented 5 months ago

Hey there! We have many options to show and hide elements, why not the sun and the moon as well. Happy to see a PR for this one ;)

DJaeger commented 4 months ago

I would love that feature too. Simply hiding the sun is easiest by using card_mod, simply add this to your card YAML:

card_mod:
  style: |
    ha-card [
      --hc-sun-color: transparent;
      --hc-day-color: transparent;
      --hc-night-color: transparent;
    }

But it would be great if we could also toggle between sun or moon for the header info. And a upper-path-mask and a lower-path-mask for the moon would be nice, too.