esphome-proto/README.md
2024-01-17 21:41:02 +10:00

17 lines
634 B
Markdown

esphome-proto
=============
[ESPHome native API][native-api] protocol data structures generated from
[protobuf files] in [the Python client][aioesphomeapi].
## Regenerating
In order to avoid each consumer of this crate having to regenerate the Rust
source and pull in build-time dependencies on the protobuf code generator the
generated files are committed into this repository.
To regenerate the files run `make codegen`.
[native-api]: https://esphome.io/components/api.html
[protobuf files]: https://github.com/esphome/esphome/blob/dev/esphome/components/api/api.proto
[aioesphomeapi]: https://github.com/esphome/aioesphomeapi