mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 04:46:34 +00:00
remove unused code
This commit is contained in:
parent
a4b7f1a1f9
commit
554d1f3e6a
@ -1069,12 +1069,3 @@ export const cancelSecureBootstrapS2 = (
|
|||||||
type: "zwave_js/cancel_secure_bootstrap_s2",
|
type: "zwave_js/cancel_secure_bootstrap_s2",
|
||||||
entry_id,
|
entry_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const fetchZwaveNeighbors = (
|
|
||||||
hass: HomeAssistant,
|
|
||||||
entry_id: string
|
|
||||||
): Promise<Record<number, number[]>> =>
|
|
||||||
hass.callWS({
|
|
||||||
type: "zwave_js/get_neighbors",
|
|
||||||
entry_id,
|
|
||||||
});
|
|
||||||
|
@ -116,9 +116,6 @@ export class ZWaveJSNetworkVisualization extends SubscribeMixin(LitElement) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this._nodeStatuses = nodeStatuses;
|
this._nodeStatuses = nodeStatuses;
|
||||||
|
|
||||||
// const neighbors = await fetchZwaveNeighbors(this.hass!, this.configEntryId);
|
|
||||||
// console.log("neighbors", neighbors);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private _tooltipFormatter = (params: TopLevelFormatterParams): string => {
|
private _tooltipFormatter = (params: TopLevelFormatterParams): string => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user