Closed makserge closed 2 months ago
Current discovery message format is JSON in all cases (in application code). I had no issues when did sensors discovery from my device to my hass. So, your provided description looks unreal for me. But I'm newbie here so I could be wrong.
Aren't you confusing the old yaml code displayed for legacy purposes with the internal HASS discovery format?
Current discovery message format is JSON in all cases (in application code). I had no issues when did sensors discovery from my device to my hass. So, your provided description looks unreal for me. But I'm newbie here so I could be wrong.
What HASS version do you use?
2024.6.4
Describe the bug This firmware have outdated Home assistant MQTT discovery message format. Home assistant version: 2024.6.4
Firmware:
To Reproduce Steps to reproduce the behavior:
Reason: firmware has outdated MQTT discovery format
Example
Discovery topic: homeassistant
Payload Current format:
Correct format: according to HA docs (https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery)
Discovery topic:
homeassistant/switch/OpenBK7231N_LedStripHall_relay_0/config
Payload: