aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-12-09 22:22:22 +0000
committerdiogo464 <[email protected]>2025-12-09 22:22:22 +0000
commit6bb6d358f39c31b5486621b49da463f97226fea5 (patch)
tree8ac1b8f4564507faa52b1ea5fdab3af572d19ae7 /README.md
parentfc57d8583a578df9565d3143108504b1a21fd1b7 (diff)
added README
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..7c773cb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
1# embassy-ha
2
3Home Assistant MQTT device library for embassy.
4
5To create a device use the [`new`] function.
6After the device is created you should create one or more entities using functions such as
7[`create_button`]/[`create_sensor`]/...
8
9Once the entities have been created either [`run`] or [`connect_and_run`] should be called in a
10seperate task.
11
12There are various examples you can run locally (ex: `cargo run --features tracing --example
13button`) assuming you have a home assistant instance running. To run the examples the
14environment variable `MQTT_ADDRESS` should be set to the mqtt server used by home assistant.
15
16License: MIT OR Apache-2.0