Feedback
The YAML example is:
trigger: sun.elevation_crossed_threshold
options:
threshold:
type: below
value:
number: 4
This doesn't appear to work (YAML template sensor, HA 2026.8.3).
I created the equivalent using the UI, and it's slightly different:
trigger: sun.elevation_crossed_threshold
options:
threshold:
type: below
value:
active_choice: number
number: -1
The "active_choice: number" appears to be necessary in order to have the trigger work correctly.
URL
https://www.home-assistant.io/triggers/sun.elevation_crossed_threshold/
Version
2026.8.3
Additional information
No response
Feedback
The YAML example is:
trigger: sun.elevation_crossed_threshold
options:
threshold:
type: below
value:
number: 4
This doesn't appear to work (YAML template sensor, HA 2026.8.3).
I created the equivalent using the UI, and it's slightly different:
trigger: sun.elevation_crossed_threshold
options:
threshold:
type: below
value:
active_choice: number
number: -1
The "active_choice: number" appears to be necessary in order to have the trigger work correctly.
URL
https://www.home-assistant.io/triggers/sun.elevation_crossed_threshold/
Version
2026.8.3
Additional information
No response