mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-25 12:35:19 +01:00
511cb62dd9
* f1 * renamed to fan_mode * fixes, add back compat with ha * revert client_version - add swing
8 lines
320 B
Bash
Executable File
8 lines
320 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Generate protobuf compiled files
|
|
protoc --python_out=aioesphomeapi -I aioesphomeapi aioesphomeapi/*.proto
|
|
|
|
# https://github.com/protocolbuffers/protobuf/issues/1491
|
|
sed -i 's/import api_options_pb2 as api__options__pb2/from . import api_options_pb2 as api__options__pb2/' aioesphomeapi/api_pb2.py
|