{ "common": { "condition_threshold_name": "Threshold type", "trigger_for_name": "For at least", "trigger_offset_description": "Time to offset the trigger from the solar event.", "trigger_offset_name": "Offset", "trigger_offset_type_description": "Whether to trigger before or after the solar event.", "trigger_offset_type_name": "Offset type", "trigger_threshold_name": "Threshold type", "twilight_type_description": "The phase of twilight.", "twilight_type_name": "Twilight type" }, "conditions": { "elevation": { "description": "Tests the sun's elevation against a threshold you set.", "fields": { "threshold": { "name": "[%key:component::sun::common::condition_threshold_name%]" } }, "name": "Sun elevation" }, "is_ascending": { "description": "Tests if the sun is ascending.", "name": "Sun is ascending" }, "is_descending": { "description": "Tests if the sun is descending.", "name": "Sun is descending" }, "is_evening_twilight": { "description": "Tests if it is evening twilight, optionally of a specific type.", "fields": { "type": { "description": "[%key:component::sun::common::twilight_type_description%]", "name": "[%key:component::sun::common::twilight_type_name%]" } }, "name": "It is evening twilight" }, "is_morning_twilight": { "description": "Tests if it is morning twilight, optionally of a specific type.", "fields": { "type": { "description": "[%key:component::sun::common::twilight_type_description%]", "name": "[%key:component::sun::common::twilight_type_name%]" } }, "name": "It is morning twilight" }, "is_night": { "description": "Tests if it is night.", "name": "It is night" }, "is_set": { "description": "Tests if the sun is set.", "name": "Sun is set" }, "is_up": { "description": "Tests if the sun is up.", "name": "Sun is up" } }, "config": { "step": { "user": { "description": "[%key:common::config_flow::description::confirm_setup%]" } } }, "entity": { "binary_sensor": { "solar_rising": { "name": "Solar rising", "state": { "off": "Setting", "on": "Rising" } } }, "sensor": { "next_dawn": { "name": "Next dawn" }, "next_dusk": { "name": "Next dusk" }, "next_midnight": { "name": "Next midnight" }, "next_noon": { "name": "Next noon" }, "next_rising": { "name": "Next rising" }, "next_setting": { "name": "Next setting" }, "solar_azimuth": { "name": "Solar azimuth" }, "solar_elevation": { "name": "Solar elevation" } } }, "entity_component": { "_": { "name": "[%key:component::sun::title%]", "state": { "above_horizon": "Above horizon", "below_horizon": "Below horizon" } } }, "selector": { "trigger_offset_type": { "options": { "after": "After", "before": "Before" } }, "twilight_type": { "options": { "any": "Any", "astronomical": "Astronomical", "civil": "Civil", "nautical": "Nautical" } } }, "title": "Sun", "triggers": { "dawn": { "description": "Triggers at dawn, when civil, nautical, or astronomical twilight begins.", "fields": { "offset": { "description": "[%key:component::sun::common::trigger_offset_description%]", "name": "[%key:component::sun::common::trigger_offset_name%]" }, "offset_type": { "description": "[%key:component::sun::common::trigger_offset_type_description%]", "name": "[%key:component::sun::common::trigger_offset_type_name%]" }, "type": { "description": "[%key:component::sun::common::twilight_type_description%]", "name": "[%key:component::sun::common::twilight_type_name%]" } }, "name": "Dawn" }, "dusk": { "description": "Triggers at dusk, when civil, nautical, or astronomical twilight ends.", "fields": { "offset": { "description": "[%key:component::sun::common::trigger_offset_description%]", "name": "[%key:component::sun::common::trigger_offset_name%]" }, "offset_type": { "description": "[%key:component::sun::common::trigger_offset_type_description%]", "name": "[%key:component::sun::common::trigger_offset_type_name%]" }, "type": { "description": "[%key:component::sun::common::twilight_type_description%]", "name": "[%key:component::sun::common::twilight_type_name%]" } }, "name": "Dusk" }, "elevation_changed": { "description": "Triggers whenever the sun's elevation changes, optionally limited to a threshold or range you set.", "fields": { "threshold": { "name": "[%key:component::sun::common::trigger_threshold_name%]" } }, "name": "Sun elevation changed" }, "elevation_crossed_threshold": { "description": "Triggers when the sun's elevation crosses a threshold you set.", "fields": { "for": { "name": "[%key:component::sun::common::trigger_for_name%]" }, "threshold": { "name": "[%key:component::sun::common::trigger_threshold_name%]" } }, "name": "Sun elevation crossed threshold" }, "solar_midnight": { "description": "Triggers when the sun reaches its lowest point.", "fields": { "offset": { "description": "[%key:component::sun::common::trigger_offset_description%]", "name": "[%key:component::sun::common::trigger_offset_name%]" }, "offset_type": { "description": "[%key:component::sun::common::trigger_offset_type_description%]", "name": "[%key:component::sun::common::trigger_offset_type_name%]" } }, "name": "Solar midnight" }, "solar_noon": { "description": "Triggers when the sun reaches its highest point.", "fields": { "offset": { "description": "[%key:component::sun::common::trigger_offset_description%]", "name": "[%key:component::sun::common::trigger_offset_name%]" }, "offset_type": { "description": "[%key:component::sun::common::trigger_offset_type_description%]", "name": "[%key:component::sun::common::trigger_offset_type_name%]" } }, "name": "Solar noon" }, "sunrise": { "description": "Triggers when the sun rises.", "fields": { "offset": { "description": "[%key:component::sun::common::trigger_offset_description%]", "name": "[%key:component::sun::common::trigger_offset_name%]" }, "offset_type": { "description": "[%key:component::sun::common::trigger_offset_type_description%]", "name": "[%key:component::sun::common::trigger_offset_type_name%]" } }, "name": "Sunrise" }, "sunset": { "description": "Triggers when the sun sets.", "fields": { "offset": { "description": "[%key:component::sun::common::trigger_offset_description%]", "name": "[%key:component::sun::common::trigger_offset_name%]" }, "offset_type": { "description": "[%key:component::sun::common::trigger_offset_type_description%]", "name": "[%key:component::sun::common::trigger_offset_type_name%]" } }, "name": "Sunset" } } }