esphome-proto/README.md

18 lines
634 B
Markdown
Raw Permalink Normal View History

2024-01-17 11:41:02 +00:00
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