Skip to content

Newly discovered devices via MQTT are no more in the suggested_area #162557

@seblu

Description

@seblu

The problem

Newly discovered devices via MQTT are no more in the area specified in suggested_area.

  '0x001f8d012498208f':
    friendly_name: Bathroom Washer Waterleak
    homeassistant:
      device:
        suggested_area: Bathroom
Image

The MQTT payload has the suggested_area in his device dictionary.

availability:
  - topic: zigbee2mqtt/bridge/state
    value_template: '{{ value_json.state }}'
  - topic: zigbee2mqtt/Bathroom Washer Waterleak/availability
    value_template: '{{ value_json.state }}'
availability_mode: all
default_entity_id: binary_sensor.bathroom_washer_waterleak_water_leak
device:
  hw_version: 1
  identifiers:
    - zigbee2mqtt_**
  manufacturer: ***
  model: Water leak detector
  model_id: ***
  suggested_area: Bathroom
  name: Bathroom Washer Waterleak
device_class: moisture
object_id: bathroom_washer_waterleak_water_leak
origin:
  support_url: https://www.zigbee2mqtt.io
  name: Zigbee2MQTT
  sw_version: 2.8.0
payload_off: false
payload_on: true
state_topic: zigbee2mqtt/Bathroom Washer Waterleak
value_template: '{{ value_json.water_leak }}'

I noted the deprecation of DeviceEntity.suggested_area but this should not be connected as stated in #149730 (comment).

What version of Home Assistant Core has the issue?

core-2026.2.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

mqtt

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mqtt/

Diagnostics information

No response

Example YAML snippet

'0x000000abcdef':
    friendly_name:xxxx
    homeassistant:
      device:
        suggested_area: YOU_AREA

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions