|
1 | | -const HAFiremoteVersion = 'v4.1.2'; |
| 1 | +const HAFiremoteVersion = 'v4.1.3'; |
2 | 2 |
|
3 | 3 | 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'; |
7 | 7 |
|
8 | 8 | console.groupCollapsed("%c 🔥 FIREMOTE-CARD 🔥 %c "+HAFiremoteVersion+" installed ", "color: orange; font-weight: bold; background: black", "color: green; font-weight: bold;"), |
9 | 9 | console.log("Readme:", "https://github.com/PRProd/HA-Firemote"), |
@@ -8371,21 +8371,15 @@ class FiremoteCardEditor extends LitElement { |
8371 | 8371 | `; |
8372 | 8372 | } |
8373 | 8373 | } |
| 8374 | + |
8374 | 8375 | getChromecastMediaControls(remoteStyle) { |
8375 | 8376 | if (['CC1', 'CC2', 'CC3'].includes(remoteStyle)) { |
8376 | 8377 | return html` |
8377 | | - <br /> |
8378 | 8378 | <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 | | - /> ${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}> ${this.translateToUsrLang("Show Media Controls")} |
8386 | 8381 | </label> |
8387 | | - <br /> |
8388 | | - `; |
| 8382 | + <br>`; |
8389 | 8383 | } |
8390 | 8384 | } |
8391 | 8385 |
|
|
0 commit comments