mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Improve message when no discovery data is found (#25252)
* Improve message when no discovery data is found It was pointed out its a bit confusing when a device has not been discovered yet for the discovery/network browser panels as we only said there was no data. Give the user a better hint as to why there is no data. * Improve message when no discovery data is found It was pointed out its a bit confusing when a device has not been discovered yet for the discovery/network browser panels as we only said there was no data. Give the user a better hint as to why there is no data. * Improve message when no discovery data is found It was pointed out its a bit confusing when a device has not been discovered yet for the discovery/network browser panels as we only said there was no data. Give the user a better hint as to why there is no data. * Improve message when no discovery data is found It was pointed out its a bit confusing when a device has not been discovered yet for the discovery/network browser panels as we only said there was no data. Give the user a better hint as to why there is no data.
This commit is contained in:
parent
b81d2013dc
commit
a544ff4c8a
@ -210,6 +210,9 @@ export class BluetoothAdvertisementMonitorPanel extends LitElement {
|
||||
.route=${this.route}
|
||||
.columns=${this._columns(this.hass.localize)}
|
||||
.data=${this._dataWithNamedSourceAndIds(this._data)}
|
||||
.noDataText=${this.hass.localize(
|
||||
"ui.panel.config.bluetooth.no_advertisements_found"
|
||||
)}
|
||||
@row-click=${this._handleRowClicked}
|
||||
.initialGroupColumn=${this._activeGrouping}
|
||||
.initialCollapsedGroups=${this._activeCollapsed}
|
||||
|
@ -96,6 +96,9 @@ export class DHCPConfigPanel extends SubscribeMixin(LitElement) {
|
||||
.route=${this.route}
|
||||
.columns=${this._columns(this.hass.localize)}
|
||||
.data=${this._dataWithIds(this._data)}
|
||||
.noDataText=${this.hass.localize(
|
||||
"ui.panel.config.dhcp.no_devices_found"
|
||||
)}
|
||||
filter=${this._macAddress || ""}
|
||||
></hass-tabs-subpage-data-table>
|
||||
`;
|
||||
|
@ -105,6 +105,9 @@ export class SSDPConfigPanel extends SubscribeMixin(LitElement) {
|
||||
@grouping-changed=${this._handleGroupingChanged}
|
||||
@collapsed-changed=${this._handleCollapseChanged}
|
||||
.data=${this._dataWithIds(this._data)}
|
||||
.noDataText=${this.hass.localize(
|
||||
"ui.panel.config.ssdp.no_devices_found"
|
||||
)}
|
||||
@row-click=${this._handleRowClicked}
|
||||
clickable
|
||||
></hass-tabs-subpage-data-table>
|
||||
|
@ -112,6 +112,9 @@ export class ZeroconfConfigPanel extends SubscribeMixin(LitElement) {
|
||||
@grouping-changed=${this._handleGroupingChanged}
|
||||
@collapsed-changed=${this._handleCollapseChanged}
|
||||
.data=${this._dataWithIds(this._data)}
|
||||
.noDataText=${this.hass.localize(
|
||||
"ui.panel.config.zeroconf.no_devices_found"
|
||||
)}
|
||||
@row-click=${this._handleRowClicked}
|
||||
clickable
|
||||
></hass-tabs-subpage-data-table>
|
||||
|
@ -5508,6 +5508,7 @@
|
||||
"connection_monitor": "Connection monitor",
|
||||
"used_connection_slot_allocations": "Used connection slot allocations",
|
||||
"no_connections": "No active connections",
|
||||
"no_advertisements_found": "No matching Bluetooth advertisements found",
|
||||
"no_connection_slot_allocations": "No connection slot allocations information available",
|
||||
"no_active_connection_support": "This adapter does not support making active (GATT) connections.",
|
||||
"address": "Address",
|
||||
@ -5528,7 +5529,8 @@
|
||||
"title": "DHCP discovery",
|
||||
"mac_address": "MAC Address",
|
||||
"hostname": "Hostname",
|
||||
"ip_address": "IP Address"
|
||||
"ip_address": "IP Address",
|
||||
"no_devices_found": "No recent DHCP requests found; no matching discoveries detected"
|
||||
},
|
||||
"thread": {
|
||||
"other_networks": "Other networks",
|
||||
@ -5577,7 +5579,8 @@
|
||||
"ssdp_headers": "SSDP Headers",
|
||||
"upnp": "Universal Plug and Play (UPnP)",
|
||||
"discovery_information": "Discovery information",
|
||||
"copy_to_clipboard": "Copy to clipboard"
|
||||
"copy_to_clipboard": "Copy to clipboard",
|
||||
"no_devices_found": "No matching SSDP/UPnP discoveries found"
|
||||
},
|
||||
"zeroconf": {
|
||||
"name": "Name",
|
||||
@ -5586,7 +5589,8 @@
|
||||
"ip_addresses": "IP Addresses",
|
||||
"properties": "Properties",
|
||||
"discovery_information": "Discovery information",
|
||||
"copy_to_clipboard": "Copy to clipboard"
|
||||
"copy_to_clipboard": "Copy to clipboard",
|
||||
"no_devices_found": "No matching Zeroconf discoveries found"
|
||||
},
|
||||
"zha": {
|
||||
"common": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user