Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hassio/src/addon-store/hassio-addon-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class HassioAddonStore extends LitElement {
main-page
.tabs=${supervisorTabs}
>
<span slot="header">Add-on store</span>
<span slot="header">Add-on Store</span>
<ha-button-menu
corner="BOTTOM_START"
slot="toolbar-icon"
Expand Down
2 changes: 1 addition & 1 deletion hassio/src/hassio-tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const supervisorTabs: PageNavigation[] = [
iconPath: mdiViewDashboard,
},
{
name: "Add-on store",
name: "Add-on Store",
path: `/hassio/store`,
iconPath: mdiStore,
},
Expand Down
4 changes: 2 additions & 2 deletions hassio/src/snapshots/hassio-snapshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class HassioSnapshots extends LitElement {

<div class="content">
<h1>
Create snapshot
Create Snapshot
</h1>
<p class="description">
Snapshots allow you to easily backup and restore all data of your
Expand Down Expand Up @@ -219,7 +219,7 @@ class HassioSnapshots extends LitElement {
</ha-card>
</div>

<h1>Available snapshots</h1>
<h1>Available Snapshots</h1>
<div class="card-group">
${this._snapshots === undefined
? undefined
Expand Down
8 changes: 4 additions & 4 deletions hassio/src/system/hassio-host-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class HassioHostInfo extends LitElement {
${this.hostInfo.features.includes("network")
? html` <ha-settings-row>
<span slot="heading">
IP address
IP Address
</span>
<span slot="description">
${primaryIpAddress}
Expand All @@ -103,7 +103,7 @@ class HassioHostInfo extends LitElement {

<ha-settings-row>
<span slot="heading">
Operating system
Operating System
</span>
<span slot="description">
${this.hostInfo.operating_system}
Expand Down Expand Up @@ -221,7 +221,7 @@ class HassioHostInfo extends LitElement {
});
} catch (err) {
showAlertDialog(this, {
title: "Failed to get Hardware list",
title: "Failed to get hardware list",
text: extractApiErrorMessage(err),
});
}
Expand Down Expand Up @@ -324,7 +324,7 @@ class HassioHostInfo extends LitElement {
private async _changeHostnameClicked(): Promise<void> {
const curHostname: string = this.hostInfo.hostname;
const hostname = await showPromptDialog(this, {
title: "Change hostname",
title: "Change Hostname",
inputLabel: "Please enter a new hostname:",
inputType: "string",
defaultValue: curHostname,
Expand Down
8 changes: 4 additions & 4 deletions hassio/src/system/hassio-supervisor-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class HassioSupervisorInfo extends LitElement {
</ha-settings-row>
<ha-settings-row>
<span slot="heading">
Newest version
Newest Version
</span>
<span slot="description">
${this.supervisorInfo.version_latest}
Expand Down Expand Up @@ -98,7 +98,7 @@ class HassioSupervisorInfo extends LitElement {
${this.supervisorInfo?.supported
? html` <ha-settings-row three-line>
<span slot="heading">
Share diagnostics
Share Diagnostics
</span>
<div slot="description" class="diagnostics-description">
Share crash reports and diagnostic information.
Expand Down Expand Up @@ -135,7 +135,7 @@ class HassioSupervisorInfo extends LitElement {
<div class="card-actions">
<ha-progress-button
@click=${this._supervisorReload}
title="Reload parts of the supervisor."
title="Reload parts of the supervisor"
>
Reload
</ha-progress-button>
Expand Down Expand Up @@ -212,7 +212,7 @@ class HassioSupervisorInfo extends LitElement {
button.progress = true;

const confirmed = await showConfirmationDialog(this, {
title: "Update supervisor",
title: "Update Supervisor",
text: `Are you sure you want to update supervisor to version ${this.supervisorInfo.version_latest}?`,
confirmText: "update",
dismissText: "cancel",
Expand Down
2 changes: 1 addition & 1 deletion hassio/src/system/hassio-supervisor-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class HassioSupervisorLog extends LitElement {
${this.hass.userData?.showAdvanced
? html`
<paper-dropdown-menu
label="Log provider"
label="Log Provider"
@iron-select=${this._setLogProvider}
>
<paper-listbox
Expand Down
12 changes: 6 additions & 6 deletions hassio/src/system/hassio-system-metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,29 @@ class HassioSystemMetrics extends LitElement {
const usedSpace = this._getUsedSpace(this.hostInfo);
const metrics = [
{
description: "Core CPU usage",
description: "Core CPU Usage",
value: this._coreMetrics?.cpu_percent,
},
{
description: "Core RAM usage",
description: "Core RAM Usage",
value: this._coreMetrics?.memory_percent,
},
{
description: "Supervisor CPU usage",
description: "Supervisor CPU Usage",
value: this._supervisorMetrics?.cpu_percent,
},
{
description: "Supervisor RAM usage",
description: "Supervisor RAM Usage",
value: this._supervisorMetrics?.memory_percent,
},
{
description: "Used space",
description: "Used Space",
value: usedSpace,
},
];

return html`
<ha-card header="System metrics">
<ha-card header="System Metrics">
<div class="card-content">
${metrics.map((metric) =>
this._renderMetric(metric.description, metric.value ?? 0)
Expand Down