Skip to content

Commit

Permalink
Fixed text for selects in configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknn committed Oct 28, 2024
1 parent d91ec00 commit 51bf2e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custom_components/pax_ble/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, hass, device, model, mac, pin, scan_interval, scan_interval_f
hass,
_LOGGER,
# Name of the data. For logging purposes.
name="Pax Calima: " + device.name,
name=model + ": " + device.name,
# Polling interval. Will only be polled if there are subscribers.
update_interval=dt.timedelta(seconds=scan_interval),
)
Expand Down
12 changes: 7 additions & 5 deletions custom_components/pax_ble/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"edit_device": {
"title": "Pax BLE: Edit device",
"description": "Enter new device details for {dev_name}",
"data": {
"data": {
"name": "Name of device",
"model": "Device model",
"mac": "MAC Address (aa:bb:cc:dd:ee:ff)",
Expand All @@ -59,13 +59,15 @@
},
"remove_device": {
"title": "Pax BLE: Remove device",
"description": "Select device to remove.",
"data": {}
"data": {
"selected_device": "Select device to remove."
}
},
"select_edit_device": {
"title": "Pax BLE: Edit Device",
"description": "Select device to edit.",
"data": {}
"data": {
"selected_device": "Select device to edit."
}
}
},
"error": {
Expand Down

0 comments on commit 51bf2e2

Please sign in to comment.