Skip to content

Commit

Permalink
Rename landroid-linear-progress to lc-linear-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Barma-lej committed Oct 26, 2024
1 parent a6e6985 commit 59a1789
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ class LandroidLinearProgress extends HTMLElement {
}
}

customElements.define('landroid-linear-progress', LandroidLinearProgress);
customElements.define('lc-linear-progress', LandroidLinearProgress);
7 changes: 4 additions & 3 deletions src/landroid-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import { stopPropagation, isObject, wifiStrenghtToQuality } from './helpers';
import * as consts from './constants';
import { DEFAULT_LANG, defaultConfig } from './defaults';
import LandroidCardEditor from './landroid-card-editor';
import './elements/landroid-linear-progress';
import './elements/lc-linear-progress';
import './elements/lc-config-card';

const editorName = 'landroid-card-editor';
const SENSOR_DEVICE_CLASS_TIMESTAMP = 'timestamp';
Expand Down Expand Up @@ -1227,7 +1228,7 @@ return html`
}
${dailyProgress
? html`
<landroid-linear-progress
<lc-linear-progress
title="${dailyProgress.attributes
.friendly_name}: ${this.hass.formatEntityState(
dailyProgress,
Expand All @@ -1236,7 +1237,7 @@ return html`
role="progressbar"
progress="${dailyProgress.state || 0}"
>
</landroid-linear-progress>
</lc-linear-progress>
`
: nothing}
</div>
Expand Down

0 comments on commit 59a1789

Please sign in to comment.