Skip to content

Commit

Permalink
Added version number console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
gadgetchnnel committed Jun 24, 2021
1 parent 4ecc2e5 commit a83473b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lovelace-home-feed-card.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ import { computeStateDisplay as computeStateDisplayHelper } from "./helpers/comp
import { handleClick, computeStateDisplay as computeStateDisplayLegacy } from "custom-card-helpers";
import { createCard } from "card-tools/src/lovelace-element";
import { getCalendarString } from "./locale.js";
import { CARD_VERSION } from "./version.js";

console.info(
`%c HOME-FEED-CARD \n%c Version ${CARD_VERSION} `,
'color: orange; font-weight: bold; background: black',
'color: white; font-weight: bold; background: dimgray',
);

class HomeFeedCard extends LitElement {
constructor() {
Expand Down
1 change: 1 addition & 0 deletions src/version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const CARD_VERSION = '0.6.2';

0 comments on commit a83473b

Please sign in to comment.