Skip to content

Commit

Permalink
avoid detecting Seplos v2 as JBD
Browse files Browse the repository at this point in the history
  • Loading branch information
patman15 committed Dec 14, 2024
1 parent 855d9a5 commit a4f7201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/bms_ble/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"manufacturer_id": 2917
},
{
"local_name": "[!B]*",
"service_uuid": "0000ff00-0000-1000-8000-00805f9b34fb"
},
{
Expand Down
1 change: 1 addition & 0 deletions custom_components/bms_ble/plugins/jbd_bms.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def matcher_dict_list() -> list[dict[str, Any]]:
"""Provide BluetoothMatcher definition."""
return [
{
"local_name": "[!B]*", # avoid confusion with Seplos v2
"service_uuid": BMS.uuid_services()[0],
"connectable": True,
},
Expand Down

0 comments on commit a4f7201

Please sign in to comment.