Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarwood committed Aug 29, 2020
1 parent 2c8af5f commit 1fc84e2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { mdiNetwork, mdiServerNetwork } from "@mdi/js";
import {
CSSResultArray,
CSSResult,
customElement,
html,
LitElement,
Expand Down Expand Up @@ -83,8 +83,8 @@ class OZWConfigNetwork extends LitElement {
`;
}

static get styles(): CSSResultArray {
return [haStyle];
static get styles(): CSSResult {
return haStyle;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
CSSResultArray,
CSSResult,
customElement,
html,
LitElement,
Expand Down Expand Up @@ -42,8 +42,8 @@ class OZWConfigNode extends LitElement {
`;
}

static get styles(): CSSResultArray {
return [haStyle];
static get styles(): CSSResult {
return haStyle;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ class OZWNetworkDashboard extends LitElement {
}

private async _fetchData() {
this._network = await fetchOZWNetworkStatus(this.hass!, this.ozw_instance);
this._network = await fetchOZWNetworkStatus(this.hass!, this.ozwInstance);
this._statistics = await fetchOZWNetworkStatistics(
this.hass!,
this.ozw_instance
this.ozwInstance
);
if (networkOnlineStatuses.includes(this._network.Status)) {
this._status = "online";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "@material/mwc-button/mwc-button";
import "@material/mwc-fab";
import { mdiAlert, mdiCheck } from "@mdi/js";
import {
CSSResultArray,
CSSResult,
customElement,
html,
internalProperty,
Expand Down Expand Up @@ -120,8 +120,8 @@ class OZWNetworkNodes extends LitElement {
this._nodes = await fetchOZWNodes(this.hass!, this.ozwInstance!);
}

static get styles(): CSSResultArray {
return [haStyle];
static get styles(): CSSResult {
return haStyle;
}
}

Expand Down

0 comments on commit 1fc84e2

Please sign in to comment.