From 8f1570c8b78b7761836734eaf7b4c2fb83ec3a33 Mon Sep 17 00:00:00 2001 From: rrooggiieerr Date: Thu, 1 Oct 2026 21:17:41 +0200 Subject: [PATCH] Sentence-cased strings for my-PV integration (#183894) --- homeassistant/components/my_pv/strings.json | 8 +++---- .../my_pv/snapshots/test_number.ambr | 24 +++++++++---------- .../my_pv/snapshots/test_switch.ambr | 6 ++--- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/homeassistant/components/my_pv/strings.json b/homeassistant/components/my_pv/strings.json index 34ad525949bc..9e9ba5c1549b 100644 --- a/homeassistant/components/my_pv/strings.json +++ b/homeassistant/components/my_pv/strings.json @@ -60,13 +60,13 @@ "entity": { "number": { "ww1boost": { - "name": "Boost Target Temperature" + "name": "Boost target temperature" }, "ww_boost_h": { - "name": "Minimum Hysteresis" + "name": "Minimum hysteresis" }, "ww_targ_h": { - "name": "Maximum Hysteresis" + "name": "Maximum hysteresis" } }, "select": { @@ -163,7 +163,7 @@ }, "switch": { "bstmode": { - "name": "Boost Mode" + "name": "Boost mode" } } }, diff --git a/tests/components/my_pv/snapshots/test_number.ambr b/tests/components/my_pv/snapshots/test_number.ambr index 6a2fbaa184eb..03e198d80e3c 100644 --- a/tests/components/my_pv/snapshots/test_number.ambr +++ b/tests/components/my_pv/snapshots/test_number.ambr @@ -26,12 +26,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Boost Target Temperature', + 'object_id_base': 'Boost target temperature', 'options': dict({ }), 'original_device_class': , 'original_icon': None, - 'original_name': 'Boost Target Temperature', + 'original_name': 'Boost target temperature', 'platform': 'my_pv', 'previous_unique_id': None, 'suggested_object_id': None, @@ -45,7 +45,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'temperature', - : 'my-PV AC ELWA 2 Boost Target Temperature', + : 'my-PV AC ELWA 2 Boost target temperature', : 95.0, : 5.0, : , @@ -87,12 +87,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Boost Target Temperature', + 'object_id_base': 'Boost target temperature', 'options': dict({ }), 'original_device_class': , 'original_icon': None, - 'original_name': 'Boost Target Temperature', + 'original_name': 'Boost target temperature', 'platform': 'my_pv', 'previous_unique_id': None, 'suggested_object_id': None, @@ -106,7 +106,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'temperature', - : 'my-PV AC ELWA 2 Boost Target Temperature', + : 'my-PV AC ELWA 2 Boost target temperature', : 95.0, : 5.0, : , @@ -148,12 +148,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Maximum Hysteresis', + 'object_id_base': 'Maximum hysteresis', 'options': dict({ }), 'original_device_class': , 'original_icon': None, - 'original_name': 'Maximum Hysteresis', + 'original_name': 'Maximum hysteresis', 'platform': 'my_pv', 'previous_unique_id': None, 'suggested_object_id': None, @@ -167,7 +167,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'temperature_delta', - : 'my-PV AC ELWA 2 Maximum Hysteresis', + : 'my-PV AC ELWA 2 Maximum hysteresis', : 9.9, : 0.1, : , @@ -209,12 +209,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Minimum Hysteresis', + 'object_id_base': 'Minimum hysteresis', 'options': dict({ }), 'original_device_class': , 'original_icon': None, - 'original_name': 'Minimum Hysteresis', + 'original_name': 'Minimum hysteresis', 'platform': 'my_pv', 'previous_unique_id': None, 'suggested_object_id': None, @@ -228,7 +228,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'temperature_delta', - : 'my-PV AC ELWA 2 Minimum Hysteresis', + : 'my-PV AC ELWA 2 Minimum hysteresis', : 9.9, : 0.1, : , diff --git a/tests/components/my_pv/snapshots/test_switch.ambr b/tests/components/my_pv/snapshots/test_switch.ambr index 21c336fe3c33..53bdd89ca241 100644 --- a/tests/components/my_pv/snapshots/test_switch.ambr +++ b/tests/components/my_pv/snapshots/test_switch.ambr @@ -21,12 +21,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Boost Mode', + 'object_id_base': 'Boost mode', 'options': dict({ }), 'original_device_class': , 'original_icon': None, - 'original_name': 'Boost Mode', + 'original_name': 'Boost mode', 'platform': 'my_pv', 'previous_unique_id': None, 'suggested_object_id': None, @@ -40,7 +40,7 @@ StateSnapshot({ 'attributes': ReadOnlyDict({ : 'switch', - : 'my-PV AC ELWA 2 Boost Mode', + : 'my-PV AC ELWA 2 Boost mode', }), 'context': , 'entity_id': 'switch.my_pv_ac_elwa_2_boost_mode',