Use common states for sensor levels in tomorrowio (#142324)

This commit is contained in:
Norbert Rittel 2025-04-05 11:05:43 +02:00 committed by GitHub
parent d7e36513b5
commit 4ab31e2d4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,33 +115,33 @@
"name": "Tree pollen index", "name": "Tree pollen index",
"state": { "state": {
"none": "None", "none": "None",
"very_low": "Very low", "very_low": "[%key:common::state::very_low%]",
"low": "Low", "low": "[%key:common::state::low%]",
"medium": "Medium", "medium": "[%key:common::state::medium%]",
"high": "High", "high": "[%key:common::state::high%]",
"very_high": "Very high" "very_high": "[%key:common::state::very_high%]"
} }
}, },
"weed_pollen_index": { "weed_pollen_index": {
"name": "Weed pollen index", "name": "Weed pollen index",
"state": { "state": {
"none": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::none%]", "none": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::none%]",
"very_low": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::very_low%]", "very_low": "[%key:common::state::very_low%]",
"low": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::low%]", "low": "[%key:common::state::low%]",
"medium": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::medium%]", "medium": "[%key:common::state::medium%]",
"high": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::high%]", "high": "[%key:common::state::high%]",
"very_high": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::very_high%]" "very_high": "[%key:common::state::very_high%]"
} }
}, },
"grass_pollen_index": { "grass_pollen_index": {
"name": "Grass pollen index", "name": "Grass pollen index",
"state": { "state": {
"none": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::none%]", "none": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::none%]",
"very_low": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::very_low%]", "very_low": "[%key:common::state::very_low%]",
"low": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::low%]", "low": "[%key:common::state::low%]",
"medium": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::medium%]", "medium": "[%key:common::state::medium%]",
"high": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::high%]", "high": "[%key:common::state::high%]",
"very_high": "[%key:component::tomorrowio::entity::sensor::pollen_index::state::very_high%]" "very_high": "[%key:common::state::very_high%]"
} }
}, },
"fire_index": { "fire_index": {
@ -153,10 +153,10 @@
"uv_radiation_health_concern": { "uv_radiation_health_concern": {
"name": "UV radiation health concern", "name": "UV radiation health concern",
"state": { "state": {
"low": "Low", "low": "[%key:common::state::low%]",
"moderate": "Moderate", "moderate": "Moderate",
"high": "High", "high": "[%key:common::state::high%]",
"very_high": "Very high", "very_high": "[%key:common::state::very_high%]",
"extreme": "Extreme" "extreme": "Extreme"
} }
} }