sbryfcz / harmony-card

A Home Assistant Lovelace Care for Harmony Integration
MIT License
104 stars 12 forks source link

Volume Slider Missing After Upgrading to 11.1 #91

Closed Spiffieman closed 11 months ago

Spiffieman commented 1 year ago

Hi there - after upgrading to 2023.11.1 today, I noticed that the volume slider bar is missing from my harmony card. Any thoughts on that?

image

The volume up, down, and mute buttons still work but the slider bar is just gone.

Here is the card code (it is a conditional card). This is happening on my PC as well as my android phone. Thanks!

type: conditional conditions:

Spiffieman commented 1 year ago

Here is where it used to be:

image

Spiffieman commented 1 year ago

Volume slider still shows via the Denon integration:

image

kalhimeo commented 1 year ago

I can confirm the problem, I had a look but unfortunately I am not able to fix that :/

werfpsa commented 1 year ago

I have made a work around using a conditional card for the receiver with the mini media player card. The mini media card is only visible when the receiver is on and used for the volume. The mini media card only shows the volume bar...

type: conditional
conditions:
  - condition: state
    entity: sensor.harmony_activity
    state_not: MF library
  - condition: state
    entity: sensor.harmony_activity
    state_not: MF CD
  - condition: state
    entity: sensor.harmony_activity
    state_not: PowerOff
  - condition: state
    entity: remote.woonkamer
    state_not: unavailable
card:
  type: custom:mini-media-player
  entity: media_player.denon_avc_x8500h
  hide:
    source: true
    info: true
    icon: true
    name: true
    power: true
    volume_level: false
    play_pause: true
chrisns commented 11 months ago

Also an issue with sonos speakers :( Appears the paper-slider isn't rendered because Polymer was finally removed after being deprecated for a while the answer is to migrate this module to use the new ha-slider element, or include the @polymer/paper-slider fortunately the ha-slider element has the same behaviours, so i've raised a PR #92 to change over and restore the volume control!

image
chrisns commented 11 months ago

thanks for reviewing+merging @kalhimeo ! please could you push a release?

kalhimeo commented 11 months ago

Hi Chris, first thank you so much for the bugfix 👍 I am gonna push a release once I have found how it works :-D I have been added to this project by the creator of the card, but to be honest I am not an expert of github and how the link with HACS works :-P

chrisns commented 11 months ago

by the looks of things its using https://github.com/release-drafter/release-drafter so there may be a draft release created you can publish? ¯_(ツ)_/¯

kalhimeo commented 11 months ago

Ok I had to go through it twice, but I think that I got it working now :-) You can try the 0.14.3 release

chrisns commented 11 months ago

Hero! Thanks @kalhimeo ! LGTM