From 0d135e85456809ab00c3458acb2e56e2cc02b551 Mon Sep 17 00:00:00 2001 From: elyobelyob Date: Wed, 8 May 2024 21:25:02 +0100 Subject: [PATCH] rename --- README.md | 2 +- hacs.json | 2 +- octopus-energy-greenness-forecast-card.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3be6b14..16fd92a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Lovelace custom card for Octopus Greenness Forecast Score +# Lovelace custom card for Octopus Energy Greenness Forecast [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/hacs/integration) diff --git a/hacs.json b/hacs.json index 343e493..449ed38 100644 --- a/hacs.json +++ b/hacs.json @@ -1,4 +1,4 @@ { - "name": "octopus-greenness-forecast-card", + "name": "octopus-energy-greenness-forecast-card", "render_readme": true } diff --git a/octopus-energy-greenness-forecast-card.js b/octopus-energy-greenness-forecast-card.js index 336556a..b263635 100644 --- a/octopus-energy-greenness-forecast-card.js +++ b/octopus-energy-greenness-forecast-card.js @@ -1,4 +1,4 @@ -class OctopusGreennessForecastCard extends HTMLElement { +class OctopusEnergyGreennessForecastCard extends HTMLElement { set hass(hass) { const config = this._config; if (!this.content) { @@ -219,12 +219,12 @@ tables += ""; } } -customElements.define('octopus-greenness-forecast-card', OctopusGreennessForecastCard); +customElements.define('octopus-energy-greenness-forecast-card', OctopusEnergyGreennessForecastCard); window.customCards = window.customCards || []; window.customCards.push({ - type: 'octopus-greenness-forecast-card', - name: 'Octopus Greenness Forecast Card', + type: 'octopus-energy-greenness-forecast-card', + name: 'Octopus Energy Greenness Forecast Card', preview: false, description: 'This card displays the greenness forecast for Octopus Energy.' });