<feed xmlns='http://www.w3.org/2005/Atom'>
<title>embassy-ha/src/entity_switch.rs, branch embassy-git</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/'/>
<entry>
<title>cargo fmt</title>
<updated>2026-01-20T15:00:53+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2026-01-20T15:00:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=4402ce6478027d48435eb937087690ae41f152c1'/>
<id>4402ce6478027d48435eb937087690ae41f152c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed clippy warnings</title>
<updated>2025-12-16T14:02:20+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-16T14:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=28c4116565bfe71ef7328f4a34458501ef3dc5b0'/>
<id>28c4116565bfe71ef7328f4a34458501ef3dc5b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve documentation and replace publish_on_command with CommandPolicy enum</title>
<updated>2025-12-14T14:49:02+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-14T14:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=993d2a9fd34ce08760933a013e638108827f6f70'/>
<id>993d2a9fd34ce08760933a013e638108827f6f70</id>
<content type='text'>
- Enhanced crate-level documentation with comprehensive examples and feature list
- Improved README with badges, better structure, and clearer examples
- Added README.tpl template and generate-readme.sh script for cargo-readme
- Documented run() and connect_and_run() functions with detailed behavior explanations
- Replaced publish_on_command boolean with CommandPolicy enum (PublishState/Manual)
- Added comprehensive documentation for CommandPolicy explaining both modes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Enhanced crate-level documentation with comprehensive examples and feature list
- Improved README with badges, better structure, and clearer examples
- Added README.tpl template and generate-readme.sh script for cargo-readme
- Documented run() and connect_and_run() functions with detailed behavior explanations
- Replaced publish_on_command boolean with CommandPolicy enum (PublishState/Manual)
- Added comprehensive documentation for CommandPolicy explaining both modes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>formatting and improved timeout handling</title>
<updated>2025-12-08T20:49:23+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-08T20:49:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=8ac9ddd2cbc9cf454eae066e5e60d05ee714a83e'/>
<id>8ac9ddd2cbc9cf454eae066e5e60d05ee714a83e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added queue_publish logic to switch set method</title>
<updated>2025-12-05T20:00:48+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-05T20:00:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=f64200686f402157e525158f6133763bdfdc2b58'/>
<id>f64200686f402157e525158f6133763bdfdc2b58</id>
<content type='text'>
Updates switch's set method to only queue publish when the state value
actually changes, matching the behavior in entity_number. This prevents
unnecessary MQTT publishes when setting the same state multiple times.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updates switch's set method to only queue publish when the state value
actually changes, matching the behavior in entity_number. This prevents
unnecessary MQTT publishes when setting the same state multiple times.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>added publish_on_command option to switch</title>
<updated>2025-12-05T19:29:44+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-05T19:29:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=b609a315e7921dcc712da6955890f4dc7c2c4b9f'/>
<id>b609a315e7921dcc712da6955890f4dc7c2c4b9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>reworked entity storage</title>
<updated>2025-12-05T15:09:09+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-05T15:09:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=9696489d5f1807a507214d6fcdecac4d47e0356d'/>
<id>9696489d5f1807a507214d6fcdecac4d47e0356d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>reworked entity creation</title>
<updated>2025-12-05T12:17:01+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-05T12:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=0c86da392af50c7588b087c3f72602e8368af65e'/>
<id>0c86da392af50c7588b087c3f72602e8368af65e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
