aboutsummaryrefslogtreecommitdiff
path: root/embedded-mqtt/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* moved embedded-mqtt crate to a modulediogo4642025-12-091-491/+0
|
* updated Cargo.toml for publishdiogo4642025-12-091-0/+4
|
* Fix availability handling with MQTT retain flagdiogo4642025-12-061-1/+2
| | | | | | | | | | | | | Added retain flag support to MQTT messages to properly handle device availability in Home Assistant. Both the availability "online" publish and the last will "offline" message now use retain=true, ensuring HA always sees the current device status even when subscribing after the messages were sent. Changes: - Added will_retain field to embedded_mqtt::ConnectParams - Set retain=true for availability publish using publish_with() - Set will_retain=true in connect params for last will message 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
* initdiogo4642025-12-041-0/+486