I am trying to have the information in the custom controls show on a card so I can figure out easily when to close shades. How can I get this info to show?
Maybe this could help you: automations using sun.
If you want a binary sensor that tells you if the sun is below or above horizon:
#This binary sensor is ON when the sun is above horizon and OFF when below
- platform: template
sensors:
sun_up:
friendly_name: "Is the sun up?"
value_template: >-
{{ states(sun.sun') = "above_horizon" }}
There is a way to change the ON and OFF to Above and Below or whatever you want using template, but that’s a bit above my knowledge, I always get it wrong. Maybe someone could help with that.