lordslash
(Dario)
October 19, 2020, 12:38pm
104
I tried this configuration too… no success
type: 'custom:sun-card'
entities:
time: sensor.time
moon_phase: sensor.moon
sunrise: sensor.sunrise
sunset: sensor.sunset
style: |
ha-card {
--sc-sunbeam-color: blue;
--sc-sun-color: green;
--sc-horizon-color: orange;
}
animation: true
meridiem: false
GuySie
(Guy Sie)
December 30, 2020, 11:09pm
105
Has something changed with the HACS install? I get a “Repostitory structure for v5.0 is not compliant” error when trying to add this github as a repo.
Jo_C
(Jo C)
January 17, 2021, 8:48pm
106
set the Category to ‘Lovelace’
GuySie
(Guy Sie)
January 22, 2021, 10:35pm
107
Oh! That was kind of obvious, in retrospect. Thanks!
1 Like
ykiv63
(Ykiv63)
May 9, 2021, 10:01pm
108
Hi all. I’ve made ha checking before upgrade to 2021.5.1
The result is an error on platform: sun2
I don’t have upgraded HA yet
Do you have any advice?
Did you bother checking if sun2 has been updated?
ykiv63
(Ykiv63)
May 10, 2021, 8:14am
110
Hi David,
I’ve the 5.0 Version
It’s the last, I suppose
this is the reported error
Failed config
General Errors:
- Platform error sensor.sun2 - cannot import name ‘AstralError’ from ‘astral’ (/usr/local/lib/python3.8/site-packages/astral/init .py)
You are probably confusing the card with the component. The latest version of sun2 is version 2 and it was specifically released for the change in HA.
ykiv63
(Ykiv63)
May 10, 2021, 10:38am
112
You are right David
I had not seen that there was an upgrade to 2.0 of the component.
I have now updated all documents in Custom_component
Thanks very much.
I’m checking now for the HA upgrade.
I’ve now proceed to 2021.5.1 upgrade without problems
baz123
(Brian)
December 17, 2021, 1:03pm
113
Just to note there is a ‘Sun Card’ in the HACS directory (I think).
Perhaps this should be renamed to sun2-card to avoid conflict?
Both cards have their pros and cons.
1 Like
rmayergfx
(ralf)
August 25, 2022, 11:32am
114
Is this Project still in development? Latest files on github are from 17 Jun 2020.
I need help to get this working in synology dockercontainer.
Installed with this tutorial: https://mariushosting.com/how-to-install-home-assistant-on-your-synology-nas/
Now i want to manually install the files, but the mentioned folders/pathes are not here.
any advice/tutorial how to install within docker?
thx
Synology DSM 7.1.xxx with Home Assistant 2022.8.6
I agree with @baz123 !
Is it possible to rename it?
I’m having problems with the two cards because they conflict
Thanks