Add country to detect location info (#82941)

pull/82963/head
Bram Kragten 2022-11-29 19:52:49 +01:00 committed by GitHub
parent 1c0f9cf941
commit 573320a0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -110,4 +110,7 @@ async def websocket_detect_config(
if location_info.currency:
info["currency"] = location_info.currency
if location_info.country_code:
info["country"] = location_info.country_code
connection.send_result(msg["id"], info)