Enable Ruff D212 (#87347)
This commit is contained in:
parent
97de0c6d9a
commit
ca1a12898c
237 changed files with 353 additions and 707 deletions
|
@ -72,8 +72,7 @@ class HomeKitEntity(Entity):
|
|||
self._accessory.remove_watchable_characteristics(self._aid)
|
||||
|
||||
async def async_put_characteristics(self, characteristics: dict[str, Any]) -> None:
|
||||
"""
|
||||
Write characteristics to the device.
|
||||
"""Write characteristics to the device.
|
||||
|
||||
A characteristic type is unique within a service, but in order to write
|
||||
to a named characteristic on a bridge we need to turn its type into
|
||||
|
@ -195,8 +194,7 @@ class AccessoryEntity(HomeKitEntity):
|
|||
|
||||
|
||||
class CharacteristicEntity(HomeKitEntity):
|
||||
"""
|
||||
A HomeKit entity that is related to an single characteristic rather than a whole service.
|
||||
"""A HomeKit entity that is related to an single characteristic rather than a whole service.
|
||||
|
||||
This is typically used to expose additional sensor, binary_sensor or number entities that don't belong with
|
||||
the service entity.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue