Skip to content

Commit

Permalink
fix element name
Browse files Browse the repository at this point in the history
  • Loading branch information
raizyr committed Jun 30, 2023
1 parent 05789fb commit 3718636
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dist/four-speed-fan-button-row.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
window.customCards = window.customCards || [];
window.customCards.push({
type: "fan-percent-button-row",
name: "fan percent button row",
description: "A plugin to display your fan controls in a button row.",
type: "four-speed-fan-button-row",
name: "four speed fan button row",
description: "A plugin to display your Four speed fan controls in a button row.",
preview: false,
});

const LitElement = customElements.get("ha-panel-lovelace") ? Object.getPrototypeOf(customElements.get("ha-panel-lovelace")) : Object.getPrototypeOf(customElements.get("hc-lovelace"));
const html = LitElement.prototype.html;
const css = LitElement.prototype.css;

class CustomFanPercentRow extends LitElement {
class CustomFourSpeedPercentRow extends LitElement {

constructor() {
super();
Expand Down Expand Up @@ -455,4 +455,4 @@ class CustomFanPercentRow extends LitElement {
}
}

customElements.define('fan-percent-button-row', CustomFanPercentRow);
customElements.define('four-speed-fan-button-row', CustomFourSpeedPercentRow);

0 comments on commit 3718636

Please sign in to comment.