Skip to content

Deprecated project and available forks #21

@rrooggiieerr

Description

@rrooggiieerr

I'm posting this issue here because @juleskers and @t0urista don't have issues enabled on their forks.

@juleskers thanks for putting together a fork that consolidates the different forks and pull requests. I'm now able to compile the BTHome component with the lates ESPHome 2025.10.0.

There is one thing that didn't work for me anymore, and that was using temperature as the measurement_type in the sensor definition. Instead I had to use the hex value of the BTHome sensor event as the measurement_type

Didn't work anymore:

sensor:
  - platform: bthome_ble_receiver
    mac_address: ...
    sensors:
      - measurement_type: temperature
        id: temperature_sensor
        name: Temperature

Instead I had to use this to make it work again:

sensor:
  - platform: bthome_ble_receiver
    mac_address: ...
    sensors:
      - measurement_type: 0x02
        id: temperature_sensor
        name: Temperature
        accuracy_decimals: 2
        unit_of_measurement: °C
        device_class: temperature

Diving into the different commits of the last year I found out the commit 7a25b9d by @t0urista introduced non unique keys for the sensor schema.

Removing those non unique keys made the temperature measurement_type work again.

Instead of removing the non unique keys I think it is better to rename the non unique keys to unique ones.

I think it would be good if @juleskers enables issues on his fork so future issues can be addressed there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions