mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add country to detect location info (#82941)
This commit is contained in:
parent
1c0f9cf941
commit
573320a0b4
@ -110,4 +110,7 @@ async def websocket_detect_config(
|
|||||||
if location_info.currency:
|
if location_info.currency:
|
||||||
info["currency"] = 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)
|
connection.send_result(msg["id"], info)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user