Skip to content

Commit

Permalink
Add translations to Roborock fan speed (#93801)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L authored May 30, 2023
1 parent de3406c commit c678664
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions homeassistant/components/roborock/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,28 @@
"custom": "Custom"
}
}
},
"vacuum": {
"roborock": {
"state_attributes": {
"fan_speed": {
"state": {
"auto": "Auto",
"balanced": "Balanced",
"custom": "Custom",
"gentle": "Gentle",
"off": "Off",
"max": "Max",
"max_plus": "Max plus",
"medium": "Medium",
"quiet": "Quiet",
"silent": "Silent",
"standard": "Standard",
"turbo": "Turbo"
}
}
}
}
}
}
}
1 change: 1 addition & 0 deletions homeassistant/components/roborock/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class RoborockVacuum(RoborockCoordinatedEntity, StateVacuumEntity):
| VacuumEntityFeature.STATE
| VacuumEntityFeature.START
)
_attr_translation_key = DOMAIN

def __init__(
self,
Expand Down

0 comments on commit c678664

Please sign in to comment.