Skip to content

Commit

Permalink
fix: power button not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil committed Apr 11, 2024
1 parent 12ecddf commit 55cedfc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ class Volume extends LitElement {
<div style="flex: ${max - volume};text-align: right">${max}%</div>
</div>
</div>
<sonos-ha-player
hide=${showPowerButton}
.store=${this.store}
.features=${[TURN_ON, TURN_OFF]}
></sonos-ha-player>
<mxmp-ha-player hide=${showPowerButton} .store=${this.store} .features=${[TURN_ON, TURN_OFF]}></mxmp-ha-player>
</div>
`;
}
Expand Down

0 comments on commit 55cedfc

Please sign in to comment.