Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

[BUG] Breaking changes for MQTT in Home Assistant 2023.8 #90

Description

@redneckdba

Describe the bug
After upgrading my HomeAssistant to 2023.8 my logs are flooded regarding WallPanel MQTT entities due to a breaking change in HA.
From the Release Notes:

The way MQTT entities are named and how device configuration can be shared between discovered entities has changed.

Sharing of device configuration

Discovered MQTT entities can share device configuration, meaning one entity can include the full device configuration, and other entities can link to that device by only setting mandatory fields.

The mandatory fields were previously limited to at least one of connection and identifiers, but have now been extended to at least one of connection and identifiers as well as the name.

Naming of MQTT entities

The naming of MQTT entities has been changed to be aligned with the entity naming guidelines:

The has_entity_name entity will be set to True on all MQTT entities.
This means any MQTT entity which is part of a device will automatically have its friendly_name attribute prefixed with the device name.
Unnamed binary_sensor, button, event, number, and sensor entities will now be named by their device class instead of being named “MQTT binary sensor” etc.
It’s now allowed to set an MQTT entity’s name to None to mark it as the main feature of a device.

https://www.home-assistant.io/blog/2023/08/02/release-20238/

To Reproduce
Upgrade Home Assistant to 2023.8 with WallPanel MQTT entities

Smartphone (please complete the following information):

  • Device: Samsung GalaxyTab A7 Lite
  • OS: Android 13
  • Application version: 0.10.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingMQTT & HTTPIssue specific to MQTT or HTTPPlatform: HASSSpecific issue with Home Assistant as dashboard

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions