Skip to content

Commit

Permalink
Fixed exception on load
Browse files Browse the repository at this point in the history
  • Loading branch information
berrywhite96 committed Aug 21, 2022
1 parent 221252e commit af77d39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/shutter-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ div.card-second-row div.infos {
}`;
styleInject(css_248z);

let PACKAGE_JSON = require('./package.json');
let HASSIO_CARD_ID = "shutter-row";
let HASSIO_CARD_NAME = "Shutter row";
let VERSION = PACKAGE_JSON.version;
let VERSION = "0.1.1";


class ShutterRow extends s {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@berrywhite/lovelace-shutter-row",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"description": "Home Assistant Lovelace Shutter Row Card",
"main": "shutter-row.js",
"module": "shutter-row.js",
Expand Down
3 changes: 1 addition & 2 deletions src/shutter-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import { LitElement, html } from 'lit';
import { fireEvent } from 'custom-card-helpers';
import style from './style.css';

let PACKAGE_JSON = require('./package.json');
let HASSIO_CARD_ID = "shutter-row";
let HASSIO_CARD_NAME = "Shutter row";
let VERSION = PACKAGE_JSON.version;
let VERSION = "0.1.1"


class ShutterRow extends LitElement {
Expand Down

0 comments on commit af77d39

Please sign in to comment.