Add `has_bluetooth_proxy` flag to device info (#247)

This commit is contained in:
Jesse Hills 2022-08-22 15:50:43 +12:00 committed by GitHub
parent 08e187018f
commit 4426a94638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 176 additions and 166 deletions

View File

@ -192,6 +192,8 @@ message DeviceInfoResponse {
string project_version = 9;
uint32 webserver_port = 10;
bool has_bluetooth_proxy = 11;
}
message ListEntitiesRequest {

File diff suppressed because one or more lines are too long

View File

@ -105,6 +105,7 @@ class DeviceInfo(APIModelBase):
project_name: str = ""
project_version: str = ""
webserver_port: int = 0
has_bluetooth_proxy: bool = False
class EntityCategory(APIIntEnum):