Skip to content

Fix nested composite temperature discovery for thermostats - #32484

Draft
MaxRink wants to merge 7 commits into
Koenkk:devfrom
MaxRink:z2m-ha-composite-discovery
Draft

Fix nested composite temperature discovery for thermostats#32484
MaxRink wants to merge 7 commits into
Koenkk:devfrom
MaxRink:z2m-ha-composite-discovery

Conversation

@MaxRink

@MaxRink MaxRink commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Per the message in this thread, Bosch thermostats still need their local_temperature sensor in Home Assistant even when the 230V cable-sensor expose is present.

This keeps the thermostat's room-temperature sensor visible and only narrows the duplicate check to nested local_temperature sensors, so unrelated cable-sensor readings do not suppress it.

Fixes #25695.

@MaxRink
MaxRink force-pushed the z2m-ha-composite-discovery branch from 8e41468 to 0fd7bd6 Compare July 4, 2026 21:54
@MaxRink
MaxRink marked this pull request as ready for review July 4, 2026 23:20
@MaxRink
MaxRink changed the base branch from master to dev July 5, 2026 09:50
@Koenkk

Koenkk commented Jul 5, 2026

Copy link
Copy Markdown
Owner

I believe this was discovered on purpose, see #30804 (CC: @burmistrzak)

@MaxRink
MaxRink marked this pull request as draft July 5, 2026 10:11
@MaxRink
MaxRink force-pushed the z2m-ha-composite-discovery branch from 831b1a8 to c53394c Compare July 5, 2026 14:04
@burmistrzak

Copy link
Copy Markdown
Contributor

I'm not sure I can follow. Why exactly would this be necessary?

The mere presence of cable_sensor_temperature doesn't remove the local_temperature-based sensor for long-term statistics. 馃

@burmistrzak

Copy link
Copy Markdown
Contributor

@MaxRink AFAICT, there's no issue on my end. Does the cable sensor need to be activated?
image

@MaxRink
MaxRink force-pushed the z2m-ha-composite-discovery branch from 9c1fddf to 2c2e9e6 Compare August 14, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants