Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume Slider Missing After Upgrading to 11.1 #91

Closed
Spiffieman opened this issue Nov 4, 2023 · 10 comments · Fixed by #92
Closed

Volume Slider Missing After Upgrading to 11.1 #91

Spiffieman opened this issue Nov 4, 2023 · 10 comments · Fixed by #92
Labels
bug Something isn't working

Comments

@Spiffieman
Copy link

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:

  • entity: switch.harmony_hub_watch_tv_2
    state_not: 'off'
    card:
    type: custom:harmony-card
    entity: remote.harmony_hub
    volume_entity: media_player.receiver
    scale: 1.25
    activities:
    • name: Chromecast
    • name: Shield
    • name: XBox
      buttons:
      '0':
      command: '0'
      icon: mdi:numeric-0-circle
      hide: true
      '1':
      command: '1'
      icon: mdi:numeric-1-circle
      hide: true
      '2':
      command: '2'
      icon: mdi:numeric-2-circle
      hide: true
      '3':
      command: '3'
      icon: mdi:numeric-3-circle
      hide: true
      '4':
      command: '4'
      icon: mdi:numeric-4-circle
      hide: true
      '5':
      command: '5'
      icon: mdi:numeric-5-circle
      hide: true
      '6':
      command: '6'
      icon: mdi:numeric-6-circle
      hide: true
      '7':
      command: '7'
      icon: mdi:numeric-7-circle
      hide: true
      '8':
      command: '8'
      icon: mdi:numeric-8-circle
      hide: true
      '9':
      command: '9'
      icon: mdi:numeric-9-circle
      hide: true
      a:
      command: VolumeDown
      device: Receiver
      icon: mdi:minus
      hide: true
      color: null
      b:
      command: mute
      device: Receiver
      icon: mdi:volume-off
      x:
      icon: mdi:plus
      device: Receiver
      command: VolumeUp
      color: null
      hide: true
      dpad_up:
      command: DirectionUp
      device: NVIDIA Game Console
      icon: mdi:chevron-up-circle
      hide: false
      dpad_down:
      command: DirectionDown
      device: NVIDIA Game Console
      icon: mdi:chevron-down-circle
      hide: false
      dpad_left:
      command: DirectionLeft
      device: NVIDIA Game Console
      icon: mdi:chevron-left-circle
      hide: false
      dpad_right:
      command: DirectionRight
      device: NVIDIA Game Console
      icon: mdi:chevron-right-circle
      hide: false
      dpad_center:
      command: Select
      device: NVIDIA Game Console
      icon: mdi:checkbox-blank-circle
      hide: false
      'y':
      command: Home
      device: NVIDIA Game Console
      icon: mdi:home
      hide: false
      back:
      command: Back
      device: NVIDIA Game Console
      hide: false
      xbox:
      hide: true
      play:
      command: Play
      device: NVIDIA Game Console
      icon: mdi:play
      hide: false
      pause:
      command: Pause
      device: NVIDIA Game Console
      icon: mdi:pause
      hide: false
      skip_forward:
      command: FastForward
      device: NVIDIA Game Console
      icon: mdi:skip-next
      hide: false
      skip_back:
      command: Rewind
      device: NVIDIA Game Console
      icon: mdi:skip-previous
      hide: false
      name: Shield Remote
      show_error: false
      show_warning: false
@Spiffieman
Copy link
Author

Here is where it used to be:

image

@Spiffieman
Copy link
Author

Volume slider still shows via the Denon integration:

image

@kalhimeo
Copy link
Collaborator

kalhimeo commented Nov 5, 2023

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

@kalhimeo kalhimeo added the bug Something isn't working label Nov 5, 2023
@werfpsa
Copy link

werfpsa commented Nov 6, 2023

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
Copy link
Contributor

chrisns commented Nov 29, 2023

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
Copy link
Contributor

chrisns commented Nov 29, 2023

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

@kalhimeo
Copy link
Collaborator

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
Copy link
Contributor

chrisns commented Nov 29, 2023

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
Copy link
Collaborator

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
Copy link
Contributor

chrisns commented Nov 29, 2023

Hero! Thanks @kalhimeo ! LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants