Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

**NOTE: This is integration has some known bugs in it and is in an alpha state. It is also a bit stale in development due to lack of mainatiner time. Feel free to fork or help pushing PRs improving this integration.**


this fork changes line 69 from
`PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[str | int | None]],` to
`PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[str | int | None,1]],`

This fixes issue and scooter pulls data but fails to continuously pull info from scooter with `error Failure while polling. TimeoutError: Did not get a response on Packet[PC -> ES_BLE, cmd=INIT, idx=00]`

It connects and poll data from a Ninebot Scooter using BLE.

## Manual installation
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ninebot_scooter/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"ninebot-ble==0.0.5"
],
"version": "0.0.1"
}
}
2 changes: 1 addition & 1 deletion custom_components/ninebot_scooter/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def async_setup_entry(


class NinebotBluetoothSensorEntity(
PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[str | int | None]],
PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[str | int | None,1]],
SensorEntity,
):
"""Representation of a Ninebot sensor."""
Expand Down