Improve bluetooth generic typing (#117157)
This commit is contained in:
parent
92254772ca
commit
4f4389ba85
27 changed files with 126 additions and 69 deletions
|
@ -127,7 +127,9 @@ async def async_setup_entry(
|
|||
|
||||
|
||||
class SensorProBluetoothSensorEntity(
|
||||
PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[float | int | None]],
|
||||
PassiveBluetoothProcessorEntity[
|
||||
PassiveBluetoothDataProcessor[float | int | None, SensorUpdate]
|
||||
],
|
||||
SensorEntity,
|
||||
):
|
||||
"""Representation of a SensorPro sensor."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue