Skip to content

Commit

Permalink
Busy April App Launcher Updates
Browse files Browse the repository at this point in the history
v3.4.1

What's New:
 - App launcher for Greek TV Live & Radio Player (closes #381)
 - App launcher for APTV (closes #383)
 - App launcher for Fox Local (closes #385)
 - App launcher for Spectrum TV (closes #388)
 - App launcher for Sky Q (closes #390)
 - App launcher for Eurosport Player (closes #391)

Fixes / Changes:
 - Fixed the app launcher for Кинопоиск Яндекс ТВ (closes #374)

Can't see these changes after updating? Visit this link:
https://github.com/PRProd/HA-Firemote/wiki/Force-a-Refresh
  • Loading branch information
PRProd committed Apr 29, 2024
1 parent 95a1aa1 commit c5115e8
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 26 deletions.
27 changes: 7 additions & 20 deletions dist/HA-Firemote.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const HAFiremoteVersion = 'v3.4.0';
const HAFiremoteVersion = 'v3.4.1';

import {LitElement, html, css, unsafeHTML, unsafeCSS} from './lit/lit-all.min.js';
import {launcherData, launcherCSS} from "./launcher-buttons.js?version=v3.4.0";
import {rosettaStone} from './language-translations.js?version=v3.4.0';
import {devices} from './supported-devices.js?version=v3.4.0';
import {launcherData, launcherCSS} from "./launcher-buttons.js?version=v3.4.1";
import {rosettaStone} from './language-translations.js?version=v3.4.1';
import {devices} from './supported-devices.js?version=v3.4.1';

console.groupCollapsed("%c 🔥 FIREMOTE-CARD 🔥 %c "+HAFiremoteVersion+" installed ", "color: orange; font-weight: bold; background: black", "color: green; font-weight: bold;"),
console.log("Readme:", "https://github.com/PRProd/HA-Firemote"),
Expand Down Expand Up @@ -4328,7 +4328,6 @@ class FiremoteCard extends LitElement {
<div class="dpadContainer">
<button class="centerbutton type-button" id="center-button" @click=${this.buttonClicked}></button>
<!-- <button class="centerbutton type-button" id="center-button" @click=${this.buttonClicked} @mousedown=${this.buttonDown} @mouseup=${this.buttonUp} @mouseleave=${this.buttonUp}> </button> -->
<div class="directionButtonContainer">
<button class="dpadbutton" id="up-button" @click=${this.buttonClicked}></button>
<button class="dpadbutton" id="right-button" @click=${this.buttonClicked}></button>
Expand Down Expand Up @@ -4560,21 +4559,6 @@ class FiremoteCard extends LitElement {

}

// TODO: Testing for button holds
buttonDown(pressedButton) {
pressedButton.preventDefault();
var pressed = pressedButton.target.id;
console.log('I heard a button down for '+pressed);
}


buttonUp(releasedButton) {
var released = releasedButton.target.id;
console.log('I heard a button up for '+released);
releasedButton.preventDefault();
}



// Remote Button Click Handler
buttonClicked(clicked) {
Expand Down Expand Up @@ -5548,6 +5532,9 @@ class FiremoteCard extends LitElement {
}

}



}
customElements.define('firemote-card', FiremoteCard);

Expand Down
Loading

0 comments on commit c5115e8

Please sign in to comment.