Skip to content

Commit 0c17776

Browse files
bramkragtenmarcelveldt
authored andcommitted
Add country to detect location info (#82941)
1 parent b0f160d commit 0c17776

File tree

1 file changed

+3
-0
lines changed
  • homeassistant/components/config

1 file changed

+3
-0
lines changed

homeassistant/components/config/core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,7 @@ async def websocket_detect_config(
110110
if location_info.currency:
111111
info["currency"] = location_info.currency
112112

113+
if location_info.country_code:
114+
info["country"] = location_info.country_code
115+
113116
connection.send_result(msg["id"], info)

0 commit comments

Comments
 (0)