Add suggested_area to device info (#607)

This commit is contained in:
Jesse Hills 2023-10-26 18:01:43 +13:00 committed by GitHub
parent cafdccaf6c
commit e91da7e301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 255 additions and 252 deletions

View File

@ -217,6 +217,8 @@ message DeviceInfoResponse {
string friendly_name = 13;
uint32 voice_assistant_version = 14;
string suggested_area = 16;
}
message ListEntitiesRequest {

File diff suppressed because one or more lines are too long

View File

@ -133,6 +133,7 @@ class DeviceInfo(APIModelBase):
voice_assistant_version: int = 0
legacy_bluetooth_proxy_version: int = 0
bluetooth_proxy_feature_flags: int = 0
suggested_area: str = ""
def bluetooth_proxy_feature_flags_compat(self, api_version: APIVersion) -> int:
if api_version < APIVersion(1, 9):