edwardtfn / home-assistant-sun-card

Home Assistant Sun card based on Google Weather design
MIT License
45 stars 7 forks source link

+1 for publishing to HACS #1

Open jbishop129 opened 1 year ago

jbishop129 commented 1 year ago

Just wanted to +1 my support for this being published into HACS, now that the original repo for this plugin has been abandoned.

WeterPeter commented 1 year ago

I second that! 👍

edwardtfn commented 1 year ago

Thanks!

I have to fix some issues, as the repository as it is is failing the validations from HACS. I will let you know as soon I have some progress.

alexruffell commented 1 year ago

@edwardtfn Thank you for taking this on! Once you start working on improvements, could you look into ways of making this card smaller? Mostly vertical space that could be achieved by putting all the times on a single row rather than sunset/sunrise on the top and the rest on the bottom... or maybe having an option to disable specific elements so that one can essentially just leave the graph and display the times they are interested in using an alternative method.

Once the card was removed, this is what I went with:

image

The first row is an example of what I was talking about above. The graph with a single row like the one shown above would enable the card to be smaller (vertically). Thanks!

EDIT: Created new issue for this: https://github.com/edwardtfn/home-assistant-sun-card/issues/8

edwardtfn commented 1 year ago

@alexruffell, I really liked the idea, but just to make our life easier, create a new issue with that idea so we have a place specifically to handle the discussions related to this.

Thanks!!

edwardtfn commented 1 year ago

Just wanted to +1 my support for this being published into HACS, now that the original repo for this plugin has been abandoned.

I've updated the instructions for adding this as a Custom Repository in HACS (you can do this right now) and created a PR to add it as a default repository in HACS store, so hopefully we will soon be back there.

taduo commented 1 year ago

Hi @alexruffell Can you share how you have done that?

Once the card was removed, this is what I went with: image

alexruffell commented 1 year ago

@taduo This is the yaml for the card:

type: entities
entities:
  - entity: sun.sun
    type: custom:multiple-entity-row
    name: Sun
    toggle: false
    show_state: false
    state_color: false
    entities:
      - type: attribute
        entity: sun.sun
        name: Dawn
        format: time
        attribute: next_dawn
      - type: attribute
        entity: sun.sun
        name: Sunrise
        attribute: next_rising
        format: time
      - type: attribute
        entity: sun.sun
        name: Noon
        attribute: next_noon
        format: time
      - type: attribute
        entity: sun.sun
        name: Sunset
        attribute: next_setting
        format: time
      - type: attribute
        entity: sun.sun
        name: Dusk
        attribute: next_dusk
        format: time
  - entity: sensor.moon_phase
alexruffell commented 1 year ago

@alexruffell, I really liked the idea, but just to make our life easier, create a new issue with that idea so we have a place specifically to handle the discussions related to this.

Done, thanks!

https://github.com/edwardtfn/home-assistant-sun-card/issues/8

tne7laa commented 1 year ago

Thanks @alexruffell. This is what I needed!

bbr111 commented 1 year ago

any progress in adding back to hacs?

Mariusthvdb commented 1 year ago

@taduo This is the yaml for the card:

nice! we can now do this btw in HA 2023.4

        entities:
          - entity: sensor.sun_next_dawn
            name: Dawn
            format: time
          - entity: sensor.sun_next_rising
            name: Sunrise
            format: time
          - entity: sensor.sun_next_noon
            name: Noon
            format: time
          - entity: sensor.sun_next_setting
            name: Sunset
            format: time
          - entity: sensor.sun_next_dusk
            name: Dusk
            format: time
          - entity: sensor.sun_next_midnight
            name: Night
            format: time
edwardtfn commented 1 year ago

Please take a look at the notice about the future of this repository: https://github.com/edwardtfn/home-assistant-sun-card#notice-about-the-future-of-this-repository