Change spelling of "Favorite x" to intl. English in bang_olufsen (#149464)

This commit is contained in:
Norbert Rittel 2025-07-26 12:35:11 +02:00 committed by GitHub
parent c5cf9b07b7
commit be5109fddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View File

@ -93,7 +93,7 @@
}
},
"preset1": {
"name": "Favourite 1",
"name": "Favorite 1",
"state_attributes": {
"event_type": {
"state": {
@ -107,7 +107,7 @@
}
},
"preset2": {
"name": "Favourite 2",
"name": "Favorite 2",
"state_attributes": {
"event_type": {
"state": {
@ -121,7 +121,7 @@
}
},
"preset3": {
"name": "Favourite 3",
"name": "Favorite 3",
"state_attributes": {
"event_type": {
"state": {
@ -135,7 +135,7 @@
}
},
"preset4": {
"name": "Favourite 4",
"name": "Favorite 4",
"state_attributes": {
"event_type": {
"state": {

View File

@ -5,10 +5,10 @@
'event.beosound_balance_11111111_microphone',
'event.beosound_balance_11111111_next',
'event.beosound_balance_11111111_play_pause',
'event.beosound_balance_11111111_favourite_1',
'event.beosound_balance_11111111_favourite_2',
'event.beosound_balance_11111111_favourite_3',
'event.beosound_balance_11111111_favourite_4',
'event.beosound_balance_11111111_favorite_1',
'event.beosound_balance_11111111_favorite_2',
'event.beosound_balance_11111111_favorite_3',
'event.beosound_balance_11111111_favorite_4',
'event.beosound_balance_11111111_previous',
'event.beosound_balance_11111111_volume',
'media_player.beosound_balance_11111111',

View File

@ -32,7 +32,7 @@ async def test_button_event_creation(
# Add Button Event entity ids
entity_ids = [
f"event.beosound_balance_11111111_{underscore(button_type)}".replace(
"preset", "favourite_"
"preset", "favorite_"
)
for button_type in DEVICE_BUTTONS
]