generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c34eee9
commit 850b31f
Showing
3 changed files
with
103 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"title": "Fuel Prices", | ||
"config": { | ||
"step": { | ||
"finished": { | ||
"title": "Fuel Prices", | ||
"description": "Click submit to finish setup" | ||
}, | ||
"sources": { | ||
"title": "Configure data collection sources", | ||
"description": "Using this menu you can change what providers the integration will collect data from.", | ||
"data": { | ||
"sources": "Data source(s)" | ||
} | ||
}, | ||
"area_menu": { | ||
"title": "Configure areas to register devices and sensors", | ||
"menu_options": { | ||
"area_create": "Create an area", | ||
"area_update_select": "Update an area", | ||
"area_delete": "Delete an area", | ||
"main_menu": "Return to main menu" | ||
} | ||
}, | ||
"area_create": { | ||
"title": "Create an area", | ||
"description": "Using this menu you can create areas to register devices and sensors. This integration will create a device for each fuel station discovered, under this a sensor will be created for each fuel type.", | ||
"data": { | ||
"name": "Area name (must be unique)", | ||
"radius": "Maximum search radius", | ||
"latitude": "Latitude for the center of the search location", | ||
"longitude": "Longitude for the center of the search location" | ||
} | ||
}, | ||
"area_update_select": { | ||
"title": "Select area to update", | ||
"data": { | ||
"name": "Area name" | ||
} | ||
}, | ||
"area_update": { | ||
"title": "Create an area", | ||
"description": "Using this menu you can create areas to register devices and sensors. This integration will create a device for each fuel station discovered, under this a sensor will be created for each fuel type.", | ||
"data": { | ||
"name": "Area name (must be unique)", | ||
"radius": "Maximum search radius", | ||
"latitude": "Latitude for the center of the search location", | ||
"longitude": "Longitude for the center of the search location" | ||
} | ||
}, | ||
"area_delete": { | ||
"title": "Select area to delete", | ||
"data": { | ||
"name": "Area name" | ||
} | ||
} | ||
} | ||
}, | ||
"error": { | ||
"already_configured": "Only one instance of this integration is allowed." | ||
}, | ||
"services": { | ||
"find_fuels": { | ||
"name": "Find fuel prices from location", | ||
"description": "This will retrieve all fuel prices for a given location sorted by the cheapest first.", | ||
"fields": { | ||
"location": { | ||
"name": "Location", | ||
"description": "The location of the area to search" | ||
}, | ||
"type": { | ||
"name": "Fuel Type", | ||
"description": "The fuel type to search for (such as E5, E10, B7, SDV)" | ||
} | ||
} | ||
}, | ||
"find_fuel_station": { | ||
"name": "Find fuel stations from location", | ||
"description": "Find all of the available fuel stations, alongside available fuels and cost for a given location. The results are not sorted.", | ||
"fields": { | ||
"location": { | ||
"name": "Location", | ||
"description": "The location of the area to search" | ||
} | ||
} | ||
} | ||
} | ||
} |