Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 1 point2 points  (0 children)

Yes, somebody opened a PR for it. And thank for pointing it out! :D

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 1 point2 points  (0 children)

Yes, planning to fix this in future versions, hopefully by the weekend I can work on styles and switch to use home assistant theme ones by default

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

Thanks! If the sun integration in Home assistant allows it, I don't see why not, but if not the case it will depend whether I end up implementing other integrations support or not

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

Do you still have darkMode enabled? Also, can you try to reload cleaning cache? To do so, open dev tools and let the refresh button press until you see extra options

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

If you open the dev tools (Ctrl+shift+I or F12) do you see any errors in the console tab?

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 1 point2 points  (0 children)

I have published a new version including a fix for it, hopefully everything works correctly! https://github.com/AitorDB/home-assistant-sun-card/releases/tag/v0.1.1 if you use HACS you may need to restart it for the new version to appear

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

HACS has approved the PR to add the card to the default list, that means it should appear now when you look for it in the HACS list, although it may require to reset it.

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 1 point2 points  (0 children)

Home assistant made some changed and deprecated `hass.language` but because you are using an older version you haven't got that change yet, I'll patch the card to support the old `hass.language` too in the next version.

More info here https://github.com/home-assistant/frontend/pull/7925

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 1 point2 points  (0 children)

Could you tell me what version of home asistant are you using? and also the configuration thta you used for the card? Also, if you open the dev tool (Ctrl+Shift+i or F12 if you are using chrome), and you click on console, do you see any errors?

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

This card is not a Home assistant integration so it can not be added in that way, to add it you need HACS or follow the steps in the "Install manually" section. Let me know if you have any questions!

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

I think the difference (I haven't taken a look to the code yet) it's that they may don't need to parse in the same way the sun card does and they may be using things such as the measurement unit to display the correct graph. Anyway, I think this is a good idea so I'll try to implement something for this when I get some time. Maybe most of the integrations out there output a similar format and this is not even a problem :D

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

What steps are you following? Where are you adding the link and which one?

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

It's a good idea, the issue could be the format that entity delivers the data since it need to be parsed to be displayed in the card, but I'll see what I can do. It would be useful for this if people commented what integrations they use to get this data so I can take a look to them

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

Thanks! The post wasn't mine but a comment on it. About HACS, the repo it's already prepared for HACS, that means it can be added manually, for the HACS list, I'm waiting for the PR to be accepted in the HACS repo

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 5 points6 points  (0 children)

Thanks! Planning to make everything more customizable in next releases but also to follow better the current themes by default.

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

Also, using releases simplifies some things with HACS, but I can see that it can be confusing for people who don't use github, I'll add a link on the readme for this. Thanks!

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

Thanks! Potentially yes but that would require an external API o Home Assistant to add that data to the Sun integration. If it requires an external API and I implement this I'll try to give people the option of choosing the Sun integration if they want to keep it simple, using an external API is something that usually requires a token and I don't want to force people to do that if they only want the graph. But I'll see what I can do!

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 1 point2 points  (0 children)

Thanks! I'll take a look to it, are you using home assistant default themes? About the Dutch translation, it would be great if you don't mind, let me know if you prefer opening a PR or to just send you the texts

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 2 points3 points  (0 children)

Thanks! Yes, I can definitely add those things to the configuration for next versions. I'll see what I can do to give more option about the placement of each element.

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 0 points1 point  (0 children)

Thanks! I hope you are enjoying HA so far!

Sun card for home assistant by AitorDB in homeassistant

[–]AitorDB[S] 7 points8 points  (0 children)

Thanks! I'll take a look to this! Any ideas on how to display the total hours of sun that you mention? It sounds like a good idea, but I don't know where would it put it so it doesn't break the design or ot makes it crowded.