Add friendly_name to device info api (#362)

This commit is contained in:
Jesse Hills 2023-01-16 12:10:04 +13:00 committed by GitHub
parent 1e4678eaf2
commit acf594d4c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 211 additions and 208 deletions

View File

@ -206,6 +206,8 @@ message DeviceInfoResponse {
uint32 bluetooth_proxy_version = 11;
string manufacturer = 12;
string friendly_name = 13;
}
message ListEntitiesRequest {

File diff suppressed because one or more lines are too long

View File

@ -107,6 +107,7 @@ class APIVersion(APIModelBase):
class DeviceInfo(APIModelBase):
uses_password: bool = False
name: str = ""
friendly_name: str = ""
mac_address: str = ""
compilation_time: str = ""
model: str = ""