EPMatt / awesome-ha-blueprints

A curated collection of automation blueprints for Home Assistant.
https://epmatt.github.io/awesome-ha-blueprints
GNU General Public License v3.0
834 stars 250 forks source link

Bug - Volume controls do not work with Samsung Smart TVs #599

Open mkopec opened 8 months ago

mkopec commented 8 months ago

Blueprint name

media_player

Home Assistant Core Version

2024.1.6

Home Assistant Installation Type

Home Assistant Container

Description

Samsung Smart TV integrations expose a 0 - 100 scale volume slider that is not functional with my TV - Samsung S95B (2022). Calling the volume_{up, down} services on them works fine, only the slider setting does not get applied.

The media player automaiton tries to set a volume explicitly if possible, so it fails on my TV. I worked this around by simply always calling the volume_{up,down} services in the blueprint.

Not sure if this is a bug for you, for hass or for Samsung to solve. Can we have a toggle for disabling explicit volume control and only using the up / down actions?

Automation YAML config

- id: '1707349134240'
  alias: Hook - Media Player
  description: ''
  use_blueprint:
    path: EPMatt/media_player.yaml
    input:
      controller_entity: sensor.styrbar_action
      controller_model: IKEA E2001/E2002 STYRBAR Remote control
      media_player: media_player.samsung_s95b

To Reproduce

  1. Long press the up button on the remote
  2. Wait for volume to begin changing

Expected behavior

Volume starts to increase

Actual Behaviour

Volume stays the same

Additional Details

Screenshots

No response

Additional context

No response