Skip to content

Commit

Permalink
[ 1.0.4 ] Added debug logging instructions to console.log version inf…
Browse files Browse the repository at this point in the history
…ormation.
  • Loading branch information
thlucas1 committed Oct 23, 2024
1 parent a29fe9b commit 6d5cebd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Change are listed in reverse chronological order (newest to oldest).

<span class="changelog">

###### [ 1.0.4 ] - 2024/10/23

* Added debug logging instructions to console.log version information.

###### [ 1.0.3 ] - 2024/10/23

* Changed all references of "spotifyplus-card.js" to "spotifyplus_card.js" to match github repository name.
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { css } from 'lit';

/** current version of the card. */
export const CARD_VERSION = '1.0.3';
export const CARD_VERSION = '1.0.4';

/** SpotifyPlus integration domain identifier. */
export const DOMAIN_SPOTIFYPLUS = 'spotifyplus';
Expand Down
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ console.log(
"Wiki Docs:",
"https://github.com/thlucas1/spotifyplus_card/wiki/Configuration-Options"
);
console.log(
"Debug logging commands:\n",
"- enable: localStorage.setItem('debug', 'spotifyplus-card:*');\n",
"- disable: localStorage.setItem('debug', '');"
);
console.groupEnd();

// Register our card for the card picker dialog in the HA UI dashboard
Expand Down

0 comments on commit 6d5cebd

Please sign in to comment.