mirror of https://github.com/lumapu/ahoy.git
Browse Source
Home Assistant requires MQTT discovery messages to be sent with the retained flag to properly discover devices. Previously, discovery messages were affected by the global 'enableRetain' setting, causing discovery to fail when retain was disabled for sensor data. This fix ensures discovery messages are always retained regardless of the global retain setting, while preserving the original behavior for regular sensor data.pull/1854/head
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue