Skip to content

has no attribute 'AF_BLUETOOTH' #1070

Open
@oomichalekoo

Description

@oomichalekoo

What happened?

How I can dissable this error?

`Ten błąd pochodzi z niestandardowej integracji.

Logger: root
Source: custom_components/ble_monitor/init.py:597
Integration: Passive BLE monitor (documentation, issues)
First occurred: 23:16:17 (10 occurrences)
Last logged: 23:25:21

Uncaught thread exception
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/data/data/com.termux/files/home/AIS/custom_components/ble_monitor/init.py", line 597, in run
mysocket[hci] = aiobs.create_bt_socket(hci)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/aioblescan/aioblescan.py", line 1691, in create_bt_socket
family=socket.AF_BLUETOOTH, type=socket.SOCK_RAW, proto=socket.BTPROTO_HCI
AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'
`

Sensor type

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions