Expose webserver port via native API (#131)
This commit is contained in:
parent
b43f64f829
commit
09d760a3dd
|
@ -183,6 +183,8 @@ message DeviceInfoResponse {
|
|||
// The esphome project details if set
|
||||
string project_name = 8;
|
||||
string project_version = 9;
|
||||
|
||||
uint32 webserver_port = 10;
|
||||
}
|
||||
|
||||
message ListEntitiesRequest {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -104,6 +104,7 @@ class DeviceInfo(APIModelBase):
|
|||
esphome_version: str = ""
|
||||
project_name: str = ""
|
||||
project_version: str = ""
|
||||
webserver_port: int = 0
|
||||
|
||||
|
||||
class EntityCategory(APIIntEnum):
|
||||
|
|
Loading…
Reference in New Issue