Improve bluetooth generic typing (#117157)

This commit is contained in:
Marc Mueller 2024-05-12 13:15:30 +02:00 committed by GitHub
parent 92254772ca
commit 4f4389ba85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 126 additions and 69 deletions

View file

@ -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."""