Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jkbms_ble' into master
Browse files Browse the repository at this point in the history
baranator authored Mar 28, 2023
2 parents c734938 + 3f67884 commit 500e7ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/dbus-serialbattery/jkbms_ble.py
Original file line number Diff line number Diff line change
@@ -65,7 +65,8 @@ def test_connection(self):
self.jk.stop_scraping()
return False

if not status["device_info"]["vendor_id"].startswith("JK-"):

if not status["device_info"]["vendor_id"].startswith(("JK-", "JK_")):
self.jk.stop_scraping()
return False

0 comments on commit 500e7ab

Please sign in to comment.