Skip to content

Commit

Permalink
add menu items to config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Apr 12, 2023
1 parent f91c410 commit 61dc768
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions custom_components/nws_alerts/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,25 @@
"description": "Please select your NWS lookup method.\n\nFor a brief explanation of the advantages and disadvantages of each method please see [here](https://github.com/finity69x2/nws_alerts/blob/master/lookup_options.md).\n\nIf you don't know which is better for your situation, you should probably select the Zone ID version.",
"menu_options": {
"zone": "Zone ID (more generalized location - includes County ID if applicable)",
"gps_loc": "GPS Location (precise location)"
"gps": "GPS Location (precise location)"
}
},
"gps": {
"description": "Please choose a GPS method.",
"menu_options": {
"gps_loc": "Using your Home Assistant location",
"gps_tracker": "Using a device tracker"
}
},
"gps_tracker": {
"description": "Select the device you'd like to track for alerts.",
"data": {
"name": "Friendly Name",
"tracker": "Device to track",
"interval": "Update Interval (in minutes)",
"timeout":"Update Timeout (in seconds)"
}
},
"gps_loc": {
"description": "Please enter your latitude and longitude, by default your coordinates from Home Assistant are used.",
"data": {
Expand All @@ -34,9 +50,25 @@
"description": "Please select your NWS lookup method.\n\nFor a brief explanation of the advantages and disadvantages of each method please see [here](https://github.com/finity69x2/nws_alerts/blob/master/lookup_options.md).\n\nIf you don't know which is better for your situation, you should probably select the Zone ID version.",
"menu_options": {
"zone": "Zone ID (more generalized location - includes County ID if applicable)",
"gps_loc": "GPS Location (precise location)"
"gps": "GPS Location (precise location)"
}
},
"gps": {
"description": "Please choose a GPS method.",
"menu_options": {
"gps_loc": "Using your Home Assistant location",
"gps_tracker": "Using a device tracker"
}
},
"gps_tracker": {
"description": "Select the device you'd like to track for alerts.",
"data": {
"name": "Friendly Name",
"tracker": "Device to track",
"interval": "Update Interval (in minutes)",
"timeout":"Update Timeout (in seconds)"
}
},
"gps_loc": {
"description": "Please enter your latitude and longitude, by default your coordinates from Home Assistant are used.",
"data": {
Expand Down

0 comments on commit 61dc768

Please sign in to comment.