Enable ruff RUF005 and fix occurrences (#113589)
This commit is contained in:
parent
2a5c85a020
commit
ccd2e989c3
58 changed files with 150 additions and 128 deletions
|
@ -155,8 +155,9 @@ class HomeKitDehumidifier(HomeKitBaseHumidifier):
|
|||
|
||||
def get_characteristic_types(self) -> list[str]:
|
||||
"""Define the homekit characteristics the entity cares about."""
|
||||
return super().get_characteristic_types() + [
|
||||
CharacteristicsTypes.RELATIVE_HUMIDITY_DEHUMIDIFIER_THRESHOLD
|
||||
return [
|
||||
*super().get_characteristic_types(),
|
||||
CharacteristicsTypes.RELATIVE_HUMIDITY_DEHUMIDIFIER_THRESHOLD,
|
||||
]
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue