Skip to content

Commit

Permalink
fix: add missing text to GPS option (#123)
Browse files Browse the repository at this point in the history
* fix: add missing text to GPS option

* fix `update_listener` for GPS option
  • Loading branch information
firstof9 authored Dec 20, 2024
1 parent 80e06bb commit 4a79d68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions custom_components/gasbuddy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ async def update_listener(hass: HomeAssistant, config_entry: ConfigEntry) -> Non

original_config[CONF_INTERVAL] = config_entry.options[CONF_INTERVAL]
original_config[CONF_UOM] = config_entry.options[CONF_UOM]
original_config[CONF_GPS] = config_entry.options[CONF_GPS]

hass.config_entries.async_update_entry(
entry=config_entry,
Expand Down
3 changes: 2 additions & 1 deletion custom_components/gasbuddy/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"init": {
"data": {
"interval": "Polling interval",
"uom": "Show per liter/gallon in unit of measure"
"uom": "Show per liter/gallon in unit of measure",
"gps": "Show stations on map (disable lat/long attributes)"
}
}
}
Expand Down

0 comments on commit 4a79d68

Please sign in to comment.