Skip to content

Commit 6292dd3

Browse files
authored
Merge pull request #4 from ashley-b/fix/update_locations
Updated locations to match current Space Weather API
2 parents e33d201 + 8b9f22c commit 6292dd3

File tree

1 file changed

+17
-7
lines changed
  • custom_components/aus_space_weather

1 file changed

+17
-7
lines changed
Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
DOMAIN = "aus_space_weather"
22

3-
# List of supported locations for the K index
3+
# List of supported locations for the K index.
4+
# Referenced from https://sws-data.sws.bom.gov.au/api-docs#get-k-index
45
LOCATIONS = [
56
"Australian region",
6-
"Hobart",
7+
"Alice Springs",
78
"Canberra",
8-
"Sydney",
9+
"Cocos Island",
10+
"Narrabri",
11+
"Darwin",
12+
"Hobart",
13+
"Launceston",
14+
"Learmonth",
915
"Melbourne",
10-
"Brisbane",
16+
"Norfolk Island",
1117
"Perth",
12-
"Adelaide",
13-
"Darwin",
14-
"Alice Springs"
18+
"Sydney",
19+
"Townsville",
20+
# Antarctic region
21+
"Casey",
22+
"Davis",
23+
"Macquarie Island",
24+
"Mawson"
1525
]

0 commit comments

Comments
 (0)