1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 00:20:30 +01:00

Fix "Shutdown" grammar in Roborock strings (#166948)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Paul Bottein
2026-03-31 15:26:21 +02:00
committed by GitHub
parent 0aef0cc121
commit f95601a2e7
3 changed files with 9 additions and 9 deletions

View File

@@ -103,7 +103,7 @@
"name": "Reset side brush consumable"
},
"shutdown": {
"name": "Shutdown"
"name": "Shut down"
},
"start": {
"name": "Start"

View File

@@ -699,7 +699,7 @@
'state': 'unknown',
})
# ---
# name: test_buttons[button.zeo_one_shutdown-entry]
# name: test_buttons[button.zeo_one_shut_down-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
@@ -713,7 +713,7 @@
'disabled_by': None,
'domain': 'button',
'entity_category': None,
'entity_id': 'button.zeo_one_shutdown',
'entity_id': 'button.zeo_one_shut_down',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
@@ -721,12 +721,12 @@
'labels': set({
}),
'name': None,
'object_id_base': 'Shutdown',
'object_id_base': 'Shut down',
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Shutdown',
'original_name': 'Shut down',
'platform': 'roborock',
'previous_unique_id': None,
'suggested_object_id': None,
@@ -736,13 +736,13 @@
'unit_of_measurement': None,
})
# ---
# name: test_buttons[button.zeo_one_shutdown-state]
# name: test_buttons[button.zeo_one_shut_down-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Zeo One Shutdown',
'friendly_name': 'Zeo One Shut down',
}),
'context': <ANY>,
'entity_id': 'button.zeo_one_shutdown',
'entity_id': 'button.zeo_one_shut_down',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,

View File

@@ -199,7 +199,7 @@ async def test_press_routine_button_failure(
[
("button.zeo_one_start", "START"),
("button.zeo_one_pause", "PAUSE"),
("button.zeo_one_shutdown", "SHUTDOWN"),
("button.zeo_one_shut_down", "SHUTDOWN"),
],
)
@pytest.mark.freeze_time("2023-10-30 08:50:00")