remove unused code

This commit is contained in:
Petar Petrov 2025-07-08 16:07:43 +03:00
parent a4b7f1a1f9
commit 554d1f3e6a
2 changed files with 0 additions and 12 deletions

View File

@ -1069,12 +1069,3 @@ export const cancelSecureBootstrapS2 = (
type: "zwave_js/cancel_secure_bootstrap_s2",
entry_id,
});
export const fetchZwaveNeighbors = (
hass: HomeAssistant,
entry_id: string
): Promise<Record<number, number[]>> =>
hass.callWS({
type: "zwave_js/get_neighbors",
entry_id,
});

View File

@ -116,9 +116,6 @@ export class ZWaveJSNetworkVisualization extends SubscribeMixin(LitElement) {
});
this._nodeStatuses = nodeStatuses;
// const neighbors = await fetchZwaveNeighbors(this.hass!, this.configEntryId);
// console.log("neighbors", neighbors);
}
private _tooltipFormatter = (params: TopLevelFormatterParams): string => {