Skip to content

Update MQTT implementation to stop using deprecated option "object_id"#2174

Open
roy13 wants to merge 1 commit intodalathegreat:mainfrom
roy13:roy13-patch-1
Open

Update MQTT implementation to stop using deprecated option "object_id"#2174
roy13 wants to merge 1 commit intodalathegreat:mainfrom
roy13:roy13-patch-1

Conversation

@roy13
Copy link
Copy Markdown

@roy13 roy13 commented Mar 28, 2026

Updated 35 object_id to default_entity_id. Addresses #1899

What
This PR implements a fix for a Home Assistatant bug

Why
The configuration for entity sensor.be_bms_status & others use the deprecated option object_id to set the default entity id.

How
Replace the "object_id": "be_bms_status" option with "default_entity_id": "sensor.be_bms_status" in your published discovery configuration

Updated 35 object_id to default_entity_id
@dalathegreat dalathegreat changed the title Update mqtt.cpp Update MQTT implementation to stop using depreiated option "object_id" Mar 31, 2026
@dalathegreat dalathegreat changed the title Update MQTT implementation to stop using depreiated option "object_id" Update MQTT implementation to stop using deprecated option "object_id" Mar 31, 2026
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.

1 participant