Skip to content

sun.elevation_crossed_threshold documentation seems to be wrong #47922

Description

@ibatten

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions