mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 05:05:38 +01:00
168 lines
4.8 KiB
JSON
168 lines
4.8 KiB
JSON
{
|
|
"common": {
|
|
"condition_threshold_name": "Threshold type",
|
|
"trigger_for_name": "For at least",
|
|
"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": {
|
|
"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": {
|
|
"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": {
|
|
"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.",
|
|
"name": "Solar midnight"
|
|
},
|
|
"solar_noon": {
|
|
"description": "Triggers when the sun reaches its highest point.",
|
|
"name": "Solar noon"
|
|
},
|
|
"sunrise": {
|
|
"description": "Triggers when the sun rises.",
|
|
"name": "Sunrise"
|
|
},
|
|
"sunset": {
|
|
"description": "Triggers when the sun sets.",
|
|
"name": "Sunset"
|
|
}
|
|
}
|
|
}
|