From 87c4b86627cd6422e24809abd89e2061b4f6989f Mon Sep 17 00:00:00 2001 From: neyzm <3879349+neyzm@users.noreply.github.com> Date: Tue, 8 Sep 2026 17:13:25 +0100 Subject: [PATCH] Rename Xbox follower sensor name to 'Followers' (#181654) Co-authored-by: Joostlek --- homeassistant/components/xbox/strings.json | 2 +- .../xbox/snapshots/test_sensor.ambr | 42 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/homeassistant/components/xbox/strings.json b/homeassistant/components/xbox/strings.json index ee77d3c81a8c..32c50a9114fa 100644 --- a/homeassistant/components/xbox/strings.json +++ b/homeassistant/components/xbox/strings.json @@ -92,7 +92,7 @@ }, "sensor": { "follower": { - "name": "Follower", + "name": "Followers", "unit_of_measurement": "[%key:component::xbox::entity::sensor::following::unit_of_measurement%]" }, "following": { diff --git a/tests/components/xbox/snapshots/test_sensor.ambr b/tests/components/xbox/snapshots/test_sensor.ambr index 10e1d91d6ae4..f0302ce70ddb 100644 --- a/tests/components/xbox/snapshots/test_sensor.ambr +++ b/tests/components/xbox/snapshots/test_sensor.ambr @@ -1,5 +1,5 @@ # serializer version: 1 -# name: test_sensors[sensor.erics273_follower-entry] +# name: test_sensors[sensor.erics273_followers-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -15,7 +15,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': None, - 'entity_id': 'sensor.erics273_follower', + 'entity_id': 'sensor.erics273_followers', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -23,12 +23,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Follower', + 'object_id_base': 'Followers', 'options': dict({ }), 'original_device_class': None, 'original_icon': None, - 'original_name': 'Follower', + 'original_name': 'Followers', 'platform': 'xbox', 'previous_unique_id': None, 'suggested_object_id': None, @@ -38,15 +38,15 @@ 'unit_of_measurement': 'people', }) # --- -# name: test_sensors[sensor.erics273_follower-state] +# name: test_sensors[sensor.erics273_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - : 'erics273 Follower', + : 'erics273 Followers', : , : 'people', }), 'context': , - 'entity_id': 'sensor.erics273_follower', + 'entity_id': 'sensor.erics273_followers', 'last_changed': , 'last_reported': , 'last_updated': , @@ -487,7 +487,7 @@ 'state': 'Last seen 17h ago: Home', }) # --- -# name: test_sensors[sensor.gsr_ae_follower-entry] +# name: test_sensors[sensor.gsr_ae_followers-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -503,7 +503,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': None, - 'entity_id': 'sensor.gsr_ae_follower', + 'entity_id': 'sensor.gsr_ae_followers', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -511,12 +511,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Follower', + 'object_id_base': 'Followers', 'options': dict({ }), 'original_device_class': None, 'original_icon': None, - 'original_name': 'Follower', + 'original_name': 'Followers', 'platform': 'xbox', 'previous_unique_id': None, 'suggested_object_id': None, @@ -526,15 +526,15 @@ 'unit_of_measurement': 'people', }) # --- -# name: test_sensors[sensor.gsr_ae_follower-state] +# name: test_sensors[sensor.gsr_ae_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - : 'GSR Ae Follower', + : 'GSR Ae Followers', : , : 'people', }), 'context': , - 'entity_id': 'sensor.gsr_ae_follower', + 'entity_id': 'sensor.gsr_ae_followers', 'last_changed': , 'last_reported': , 'last_updated': , @@ -976,7 +976,7 @@ 'state': 'Last seen 49m ago: Xbox App', }) # --- -# name: test_sensors[sensor.ikken_hissatsuu_follower-entry] +# name: test_sensors[sensor.ikken_hissatsuu_followers-entry] EntityRegistryEntrySnapshot({ 'aliases': list([ None, @@ -992,7 +992,7 @@ 'disabled_by': None, 'domain': 'sensor', 'entity_category': None, - 'entity_id': 'sensor.ikken_hissatsuu_follower', + 'entity_id': 'sensor.ikken_hissatsuu_followers', 'has_entity_name': True, 'hidden_by': None, 'icon': None, @@ -1000,12 +1000,12 @@ 'labels': set({ }), 'name': None, - 'object_id_base': 'Follower', + 'object_id_base': 'Followers', 'options': dict({ }), 'original_device_class': None, 'original_icon': None, - 'original_name': 'Follower', + 'original_name': 'Followers', 'platform': 'xbox', 'previous_unique_id': None, 'suggested_object_id': None, @@ -1015,15 +1015,15 @@ 'unit_of_measurement': 'people', }) # --- -# name: test_sensors[sensor.ikken_hissatsuu_follower-state] +# name: test_sensors[sensor.ikken_hissatsuu_followers-state] StateSnapshot({ 'attributes': ReadOnlyDict({ - : 'Ikken Hissatsuu Follower', + : 'Ikken Hissatsuu Followers', : , : 'people', }), 'context': , - 'entity_id': 'sensor.ikken_hissatsuu_follower', + 'entity_id': 'sensor.ikken_hissatsuu_followers', 'last_changed': , 'last_reported': , 'last_updated': ,