From b1403838bb0711c9408f3fc74c677229cf24d7f2 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Mon, 26 May 2025 21:22:10 +0200 Subject: [PATCH] Add translation string and references for sensor Measurement Angle state class (#145639) --- homeassistant/components/mqtt/strings.json | 1 + homeassistant/components/scrape/strings.json | 1 + homeassistant/components/sensor/strings.json | 1 + homeassistant/components/sql/strings.json | 1 + homeassistant/components/template/strings.json | 1 + 5 files changed, 5 insertions(+) diff --git a/homeassistant/components/mqtt/strings.json b/homeassistant/components/mqtt/strings.json index 3bb467affd6..8fc97362857 100644 --- a/homeassistant/components/mqtt/strings.json +++ b/homeassistant/components/mqtt/strings.json @@ -922,6 +922,7 @@ "state_class": { "options": { "measurement": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement%]", + "measurement_angle": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement_angle%]", "total": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total%]", "total_increasing": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total_increasing%]" } diff --git a/homeassistant/components/scrape/strings.json b/homeassistant/components/scrape/strings.json index 27115836157..d46f63c9516 100644 --- a/homeassistant/components/scrape/strings.json +++ b/homeassistant/components/scrape/strings.json @@ -197,6 +197,7 @@ "state_class": { "options": { "measurement": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement%]", + "measurement_angle": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement_angle%]", "total": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total%]", "total_increasing": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total_increasing%]" } diff --git a/homeassistant/components/sensor/strings.json b/homeassistant/components/sensor/strings.json index 4ad6597692c..2268d2797e4 100644 --- a/homeassistant/components/sensor/strings.json +++ b/homeassistant/components/sensor/strings.json @@ -135,6 +135,7 @@ "name": "State class", "state": { "measurement": "Measurement", + "measurement_angle": "Measurement Angle", "total": "Total", "total_increasing": "Total increasing" } diff --git a/homeassistant/components/sql/strings.json b/homeassistant/components/sql/strings.json index 486fb5946b4..f9b8044e992 100644 --- a/homeassistant/components/sql/strings.json +++ b/homeassistant/components/sql/strings.json @@ -128,6 +128,7 @@ "state_class": { "options": { "measurement": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement%]", + "measurement_angle": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement_angle%]", "total": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total%]", "total_increasing": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total_increasing%]" } diff --git a/homeassistant/components/template/strings.json b/homeassistant/components/template/strings.json index 729f76a84ec..7f285b4929b 100644 --- a/homeassistant/components/template/strings.json +++ b/homeassistant/components/template/strings.json @@ -349,6 +349,7 @@ "sensor_state_class": { "options": { "measurement": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement%]", + "measurement_angle": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::measurement_angle%]", "total": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total%]", "total_increasing": "[%key:component::sensor::entity_component::_::state_attributes::state_class::state::total_increasing%]" }