Skip to content

Thermopro Integration - TP972 Error #147839

Open
@alex182

Description

@alex182

The problem

Thermopro Integration adds the TP972 but does not show any entities.

Error log message from Home Assistant

Source: components/bluetooth/passive_update_processor.py:371
integration: ThermoPro (documentation, issues)
First occurred: 5:52:00 PM (13 occurrences)
Last logged: 5:55:49 PM

Unexpected error updating TP972R data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/bluetooth/passive_update_processor.py", line 371, in _async_handle_bluetooth_event
    update = self._update_method(service_info)
  File "/usr/src/homeassistant/homeassistant/components/thermopro/__init__.py", line 39, in process_service_info
    update = data.update(service_info)
  File "/usr/local/lib/python3.13/site-packages/bluetooth_sensor_state_data/__init__.py", line 95, in update
    self._start_update(data)
    ~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/site-packages/thermopro_ble/parser.py", line 88, in _start_update
    ) = UNPACK_SPIKE_TEMP(data)
        ~~~~~~~~~~~~~~~~~^^^^^^
struct.error: unpack requires a buffer of 7 bytes

### What version of Home Assistant Core has the issue?

2025.6.3

### What was the last working version of Home Assistant Core?

2025.6.3

### What type of installation are you running?

Home Assistant OS

### Integration causing the issue

Thermopro

### Link to integration documentation on our website

ThermoPro - Home Assistant https://share.google/bDmSBusuuSoRHSrbJ

### Diagnostics information

Thermopro Integration adds the TP972 but does not show any entities.  

Error log message from Home Assistant 

``` Logger: homeassistant.components.thermopro
Source: components/bluetooth/passive_update_processor.py:371
integration: ThermoPro (documentation, issues)
First occurred: 5:52:00 PM (13 occurrences)
Last logged: 5:55:49 PM

Unexpected error updating TP972R data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/bluetooth/passive_update_processor.py", line 371, in _async_handle_bluetooth_event
    update = self._update_method(service_info)
  File "/usr/src/homeassistant/homeassistant/components/thermopro/__init__.py", line 39, in process_service_info
    update = data.update(service_info)
  File "/usr/local/lib/python3.13/site-packages/bluetooth_sensor_state_data/__init__.py", line 95, in update
    self._start_update(data)
    ~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/site-packages/thermopro_ble/parser.py", line 88, in _start_update
    ) = UNPACK_SPIKE_TEMP(data)
        ~~~~~~~~~~~~~~~~~^^^^^^
struct.error: unpack requires a buffer of 7 bytes

### Example YAML snippet

```yaml

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions