mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +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}
|
.route=${this.route}
|
||||||
.columns=${this._columns(this.hass.localize)}
|
.columns=${this._columns(this.hass.localize)}
|
||||||
.data=${this._dataWithNamedSourceAndIds(this._data)}
|
.data=${this._dataWithNamedSourceAndIds(this._data)}
|
||||||
|
.noDataText=${this.hass.localize(
|
||||||
|
"ui.panel.config.bluetooth.no_advertisements_found"
|
||||||
|
)}
|
||||||
@row-click=${this._handleRowClicked}
|
@row-click=${this._handleRowClicked}
|
||||||
.initialGroupColumn=${this._activeGrouping}
|
.initialGroupColumn=${this._activeGrouping}
|
||||||
.initialCollapsedGroups=${this._activeCollapsed}
|
.initialCollapsedGroups=${this._activeCollapsed}
|
||||||
|
@ -96,6 +96,9 @@ export class DHCPConfigPanel extends SubscribeMixin(LitElement) {
|
|||||||
.route=${this.route}
|
.route=${this.route}
|
||||||
.columns=${this._columns(this.hass.localize)}
|
.columns=${this._columns(this.hass.localize)}
|
||||||
.data=${this._dataWithIds(this._data)}
|
.data=${this._dataWithIds(this._data)}
|
||||||
|
.noDataText=${this.hass.localize(
|
||||||
|
"ui.panel.config.dhcp.no_devices_found"
|
||||||
|
)}
|
||||||
filter=${this._macAddress || ""}
|
filter=${this._macAddress || ""}
|
||||||
></hass-tabs-subpage-data-table>
|
></hass-tabs-subpage-data-table>
|
||||||
`;
|
`;
|
||||||
|
@ -105,6 +105,9 @@ export class SSDPConfigPanel extends SubscribeMixin(LitElement) {
|
|||||||
@grouping-changed=${this._handleGroupingChanged}
|
@grouping-changed=${this._handleGroupingChanged}
|
||||||
@collapsed-changed=${this._handleCollapseChanged}
|
@collapsed-changed=${this._handleCollapseChanged}
|
||||||
.data=${this._dataWithIds(this._data)}
|
.data=${this._dataWithIds(this._data)}
|
||||||
|
.noDataText=${this.hass.localize(
|
||||||
|
"ui.panel.config.ssdp.no_devices_found"
|
||||||
|
)}
|
||||||
@row-click=${this._handleRowClicked}
|
@row-click=${this._handleRowClicked}
|
||||||
clickable
|
clickable
|
||||||
></hass-tabs-subpage-data-table>
|
></hass-tabs-subpage-data-table>
|
||||||
|
@ -112,6 +112,9 @@ export class ZeroconfConfigPanel extends SubscribeMixin(LitElement) {
|
|||||||
@grouping-changed=${this._handleGroupingChanged}
|
@grouping-changed=${this._handleGroupingChanged}
|
||||||
@collapsed-changed=${this._handleCollapseChanged}
|
@collapsed-changed=${this._handleCollapseChanged}
|
||||||
.data=${this._dataWithIds(this._data)}
|
.data=${this._dataWithIds(this._data)}
|
||||||
|
.noDataText=${this.hass.localize(
|
||||||
|
"ui.panel.config.zeroconf.no_devices_found"
|
||||||
|
)}
|
||||||
@row-click=${this._handleRowClicked}
|
@row-click=${this._handleRowClicked}
|
||||||
clickable
|
clickable
|
||||||
></hass-tabs-subpage-data-table>
|
></hass-tabs-subpage-data-table>
|
||||||
|
@ -5508,6 +5508,7 @@
|
|||||||
"connection_monitor": "Connection monitor",
|
"connection_monitor": "Connection monitor",
|
||||||
"used_connection_slot_allocations": "Used connection slot allocations",
|
"used_connection_slot_allocations": "Used connection slot allocations",
|
||||||
"no_connections": "No active connections",
|
"no_connections": "No active connections",
|
||||||
|
"no_advertisements_found": "No matching Bluetooth advertisements found",
|
||||||
"no_connection_slot_allocations": "No connection slot allocations information available",
|
"no_connection_slot_allocations": "No connection slot allocations information available",
|
||||||
"no_active_connection_support": "This adapter does not support making active (GATT) connections.",
|
"no_active_connection_support": "This adapter does not support making active (GATT) connections.",
|
||||||
"address": "Address",
|
"address": "Address",
|
||||||
@ -5528,7 +5529,8 @@
|
|||||||
"title": "DHCP discovery",
|
"title": "DHCP discovery",
|
||||||
"mac_address": "MAC Address",
|
"mac_address": "MAC Address",
|
||||||
"hostname": "Hostname",
|
"hostname": "Hostname",
|
||||||
"ip_address": "IP Address"
|
"ip_address": "IP Address",
|
||||||
|
"no_devices_found": "No recent DHCP requests found; no matching discoveries detected"
|
||||||
},
|
},
|
||||||
"thread": {
|
"thread": {
|
||||||
"other_networks": "Other networks",
|
"other_networks": "Other networks",
|
||||||
@ -5577,7 +5579,8 @@
|
|||||||
"ssdp_headers": "SSDP Headers",
|
"ssdp_headers": "SSDP Headers",
|
||||||
"upnp": "Universal Plug and Play (UPnP)",
|
"upnp": "Universal Plug and Play (UPnP)",
|
||||||
"discovery_information": "Discovery information",
|
"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": {
|
"zeroconf": {
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
@ -5586,7 +5589,8 @@
|
|||||||
"ip_addresses": "IP Addresses",
|
"ip_addresses": "IP Addresses",
|
||||||
"properties": "Properties",
|
"properties": "Properties",
|
||||||
"discovery_information": "Discovery information",
|
"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": {
|
"zha": {
|
||||||
"common": {
|
"common": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user