Skip to content

[Bug]: Error parsing Beckett manufacturer data #1501

@vartom

Description

@vartom

What happened?

Эта ошибка возникла в пользовательской интеграции.

Регистратор: custom_components.ble_monitor.ble_parser.beckett
Источник: custom_components/ble_monitor/ble_parser/beckett.py:226
интеграция: Passive BLE monitor (документация, проблемы)
Зафиксировано первый раз: 15 сентября 2025 г. в 21:32:41 (33 случая)
Зафиксировано последний раз: 10:40:19

Error parsing Beckett manufacturer data:
Traceback (most recent call last):
File "/config/custom_components/ble_monitor/ble_parser/beckett.py", line 226, in parse_beckett
mfg_data: BeckettMfgData = parse_mfg_data(data)
~~~~~~~~~~~~~~^^^^^^
File "/config/custom_components/ble_monitor/ble_parser/beckett.py", line 195, in parse_mfg_data
mfg_info = unwrap_mfg_data(raw_bytes)
File "/config/custom_components/ble_monitor/ble_parser/beckett.py", line 159, in unwrap_mfg_data
product_key = _get_base_device_product_key(D)
File "/config/custom_components/ble_monitor/ble_parser/beckett.py", line 82, in _get_base_device_product_key
return BeckettProductKey(base_key_value)
File "/usr/local/lib/python3.13/enum.py", line 726, in call
return cls.new(cls, value)
~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 1203, in new
raise ve_exc
ValueError: 6308 is not a valid BeckettProductKey

Sensor type

No response

Relevant log output

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