mirror of
https://github.com/home-assistant/core.git
synced 2026-02-04 06:15:47 +01:00
* Create a deprecation/repair for `sensor.sun_solar_rising` * test * Update homeassistant/components/sun/strings.json
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"title": "Sun",
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"description": "[%key:common::config_flow::description::confirm_setup%]"
|
|
}
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::sun::title%]",
|
|
"state": {
|
|
"above_horizon": "Above horizon",
|
|
"below_horizon": "Below horizon"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"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" },
|
|
"solar_rising": { "name": "Solar rising" }
|
|
},
|
|
"binary_sensor": {
|
|
"solar_rising": {
|
|
"name": "Solar rising",
|
|
"state": {
|
|
"on": "Rising",
|
|
"off": "Setting"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"issues": {
|
|
"deprecated_sun_solar_rising": {
|
|
"title": "Deprecated 'Solar rising' sensor",
|
|
"description": "The 'Solar rising' sensor of the Sun integration is being deprecated; an equivalent 'Solar rising' binary sensor has been made available as a replacement. To resolve this issue, disable {entity}."
|
|
}
|
|
}
|
|
}
|