diff --git a/dist/HA-Firemote.js b/dist/HA-Firemote.js
index ac048ec..0db0a42 100644
--- a/dist/HA-Firemote.js
+++ b/dist/HA-Firemote.js
@@ -3716,6 +3716,23 @@ class FiremoteCard extends LitElement {
}
}
+ //Draw Optional MediaControl buttons on CC
+ function drawMediaControlButtons(e, config) {
+ if (config.show_media_controls==true) {
+ return html`
+
+
+
+ `;
+ }
+ return;
+ }
// Reused SVG Logos
function renderfiretvlogo() {
@@ -5316,6 +5333,9 @@ class FiremoteCard extends LitElement {
+ ${drawMediaControlButtons(this, this._config)}
+
+
${drawAppLaunchButtons(this, this._config, 2, appButtonMax[getDeviceAttribute('defaultRemoteStyle')])}
@@ -7934,6 +7954,9 @@ class FiremoteCardEditor extends LitElement {
case 'useCustomSkinCheckbox':
this._config.useCustomSkin = ev.target.checked;
break;
+ case "showMediaControlsCheckbox":
+ this._config.show_media_controls = ev.target.checked;
+ break;
}
}
@@ -8348,6 +8371,23 @@ class FiremoteCardEditor extends LitElement {
`;
}
}
+ getChromecastMediaControls(remoteStyle) {
+ if (['CC1', 'CC2', 'CC3'].includes(remoteStyle)) {
+ return html`
+
+
+
+ `;
+ }
+ }
render() {
if (!this.hass || !this._config) {
@@ -8457,6 +8497,8 @@ class FiremoteCardEditor extends LitElement {
+ ${this.getChromecastMediaControls(getDeviceAttribute("defaultRemoteStyle"))}
+
${this.getCompatibilityModeDropdown(this._config.compatibility_mode, getDeviceAttribute('friendlyName'))}
${this.getAppChoiceOptionMenus(getDeviceAttribute("defaultRemoteStyle"))}