Skip to content

Commit 10ba6d5

Browse files
committed
New Chromecast Buttons and App Launchers
v4.1.3 This version contains new Chromecast media control buttons from @prabhjotsbhatia-ca and new App Launchers Find the full launcher list here https://github.com/PRProd/HA-Firemote/wiki/Firemote-App-Launchers What's New: - App Launcher for Smarters Pro (closes #548) - App Launcher for Corridor Digital (closes #549) - App Launcher for Helix TV (closes #550) - App Launcher for BlazeTV (closes #551) - App Launcher for Zwift (closes #553) - New optional media control buttons for Chromecast Remotes (#554) - App Launcher for GeForce Now (closes #556) Can't see these changes after updating? Visit this link: https://github.com/PRProd/HA-Firemote/wiki/Force-a-Refresh
1 parent 4caa17b commit 10ba6d5

File tree

3 files changed

+202
-15
lines changed

3 files changed

+202
-15
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ Options:
197197
| use_theme_background | bool | no | true<br>false | Optionally hide the AL1 or AL2 remote style's background color to let the HA theme color show |
198198
| hide_button_group_frame | bool | no | true<br>false | Optionally hide the frames around the button groups when using AL1 or AL2 |
199199
| useCustomSkin | bool | no | true<br>false | Toggle a custom background skin color on or off when using AL1 or AL2 |
200+
| show_media_controls | bool | no | true<br>false | Show additional media control buttons for Chromecast style remotes CC1, CC2, or CC3 |
200201
| skin | hex color value | no | Any hex color value e.g.: #ffffff | background skin color for AL1 or AL2 |
201202
| dpad_style | string | no | amazon-fire<br>apple-tv-black<br>apple-tv-silver<br>chromecast<br>xiaomi<br>minimal | Dpad style options for AL1 or AL2 |
202203

dist/HA-Firemote.js

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
const HAFiremoteVersion = 'v4.1.2';
1+
const HAFiremoteVersion = 'v4.1.3';
22

33
import {LitElement, html, css, unsafeHTML, unsafeCSS, styleMap} from './lit/lit-all.min.js';
4-
import {launcherData, launcherCSS} from "./launcher-buttons.js?version=v4.1.2";
5-
import {rosettaStone} from './language-translations.js?version=v4.1.2';
6-
import {devices} from './supported-devices.js?version=v4.1.2';
4+
import {launcherData, launcherCSS} from "./launcher-buttons.js?version=v4.1.3";
5+
import {rosettaStone} from './language-translations.js?version=v4.1.3';
6+
import {devices} from './supported-devices.js?version=v4.1.3';
77

88
console.groupCollapsed("%c 🔥 FIREMOTE-CARD 🔥 %c "+HAFiremoteVersion+" installed ", "color: orange; font-weight: bold; background: black", "color: green; font-weight: bold;"),
99
console.log("Readme:", "https://github.com/PRProd/HA-Firemote"),
@@ -8371,21 +8371,15 @@ class FiremoteCardEditor extends LitElement {
83718371
`;
83728372
}
83738373
}
8374+
83748375
getChromecastMediaControls(remoteStyle) {
83758376
if (['CC1', 'CC2', 'CC3'].includes(remoteStyle)) {
83768377
return html`
8377-
<br />
83788378
<label for="showMediaControlsCheckbox">
8379-
<input
8380-
type="checkbox"
8381-
id="showMediaControlsCheckbox"
8382-
name="show_media_controls"
8383-
?checked=${this._config.show_media_controls === true}
8384-
@change=${this.configChanged}
8385-
/>&nbsp; ${this.translateToUsrLang("Show Media Controls")}
8379+
<input type="checkbox" id="showMediaControlsCheckbox" name="show_media_controls"
8380+
?checked=${this._config.show_media_controls === true} @change=${this.configChanged}>&nbsp; ${this.translateToUsrLang("Show Media Controls")}
83868381
</label>
8387-
<br />
8388-
`;
8382+
<br>`;
83898383
}
83908384
}
83918385

0 commit comments

Comments
 (0)