Add country to detect location info (#82941)

This commit is contained in:
Bram Kragten
2022-11-29 19:52:49 +01:00
committed by GitHub
parent 1c0f9cf941
commit 573320a0b4

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)