mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix docstring in esphome.bluetooth.client (#86226)
This commit is contained in:
parent
40d39a15c9
commit
c0d9dcdb3f
@ -583,11 +583,12 @@ class ESPHomeClient(BaseBleakClient):
|
|||||||
print(f"{sender}: {data}")
|
print(f"{sender}: {data}")
|
||||||
client.start_notify(char_uuid, callback)
|
client.start_notify(char_uuid, callback)
|
||||||
Args:
|
Args:
|
||||||
char_specifier (BleakGATTCharacteristic, int, str or UUID):
|
characteristic (BleakGATTCharacteristic):
|
||||||
The characteristic to activate notifications/indications on a
|
The characteristic to activate notifications/indications on a
|
||||||
characteristic, specified by either integer handle, UUID or
|
characteristic, specified by either integer handle, UUID or
|
||||||
directly by the BleakGATTCharacteristic object representing it.
|
directly by the BleakGATTCharacteristic object representing it.
|
||||||
callback (function): The function to be called on notification.
|
callback (function): The function to be called on notification.
|
||||||
|
kwargs: Unused.
|
||||||
"""
|
"""
|
||||||
ble_handle = characteristic.handle
|
ble_handle = characteristic.handle
|
||||||
if ble_handle in self._notify_cancels:
|
if ble_handle in self._notify_cancels:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user