rejuvenate / lovelace-horizon-card

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

Sun in incorrect postition #113

Open steveof2620 opened 4 months ago

steveof2620 commented 4 months ago

Sun appears to be in the wrong position. Screenshot below has the sun on the right but it should be on the left (time of screenshot is 09:00).

I have checked that the position and time zone within home assistant is correct and the times of the solar events also seem to be correct.

I am in the southern hemisphere and set southern_flip to true.

Configuration

Screenshot 2024-02-18 at 09 08 40

Card as displayed at 09:00

Screenshot 2024-02-18 at 09 00 39
Koen010 commented 4 months ago

I think you described your issue wrongly. If you live on the Southern hemisphere, you would exactly expect the sun to be on the right, moving leftwards, as it does in your screenshot. The only issue I see, is that the Sunset and Sunrise have not switched places , where you would expect them to switch places when southern_flip is true.

steveof2620 commented 4 months ago

Oh OK... Now you mention it, having changed southern_flip to false corrects the issue. I thought, being in the southern hemisphere, I'd have to set it true - the opposite of what I anticipated. Anyway, it works. Thank you for responding.