From 3d0cef2030407ed13620fa840bed9a2d06d17d63 Mon Sep 17 00:00:00 2001 From: Josiah <115068320+JoeyGE0@users.noreply.github.com> Date: Wed, 4 Sep 2024 18:11:03 +1200 Subject: [PATCH 1/5] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1d3e0fe..212c3ef 100644 --- a/README.md +++ b/README.md @@ -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 From d7fe871b49b7bf0402e8bf9827314e394a8e34c9 Mon Sep 17 00:00:00 2001 From: Josiah <115068320+JoeyGE0@users.noreply.github.com> Date: Wed, 4 Sep 2024 18:12:03 +1200 Subject: [PATCH 2/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 212c3ef..de17e22 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ this fork changes line 69 from -"PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[str | int | None]]," to -"PassiveBluetoothProcessorEntity[PassiveBluetoothDataProcessor[str | int | None,1]]," +`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]. +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. From b19c0d3ebaa19de56e6d54311bd2c9da6ea5154a Mon Sep 17 00:00:00 2001 From: Josiah <115068320+JoeyGE0@users.noreply.github.com> Date: Wed, 4 Sep 2024 18:14:02 +1200 Subject: [PATCH 3/5] Update sensor.py change line 69 --- custom_components/ninebot_scooter/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ninebot_scooter/sensor.py b/custom_components/ninebot_scooter/sensor.py index 88eb7eb..9c47ddc 100644 --- a/custom_components/ninebot_scooter/sensor.py +++ b/custom_components/ninebot_scooter/sensor.py @@ -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.""" From 63d5fbcaefc6f49ea0dd762cb9a00c2aaabcbc1c Mon Sep 17 00:00:00 2001 From: Josiah <115068320+JoeyGE0@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:56:05 +1200 Subject: [PATCH 4/5] Update manifest.json --- custom_components/ninebot_scooter/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/ninebot_scooter/manifest.json b/custom_components/ninebot_scooter/manifest.json index 0f156e9..c9804be 100644 --- a/custom_components/ninebot_scooter/manifest.json +++ b/custom_components/ninebot_scooter/manifest.json @@ -20,5 +20,5 @@ "requirements": [ "ninebot-ble==0.0.5" ], - "version": "0.0.1" -} \ No newline at end of file + "version": "0.0.2" +} From 96f21c995da063403a20e0a39f5ace3f57eb61aa Mon Sep 17 00:00:00 2001 From: Josiah <115068320+JoeyGE0@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:33:41 +1200 Subject: [PATCH 5/5] Update manifest.json --- custom_components/ninebot_scooter/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ninebot_scooter/manifest.json b/custom_components/ninebot_scooter/manifest.json index c9804be..aaaa1a3 100644 --- a/custom_components/ninebot_scooter/manifest.json +++ b/custom_components/ninebot_scooter/manifest.json @@ -20,5 +20,5 @@ "requirements": [ "ninebot-ble==0.0.5" ], - "version": "0.0.2" + "version": "0.0.1" }