iantrich / roku-card

📺 Roku Remote Card
MIT License
116 stars 40 forks source link

Volume Lag #79

Open janstadt opened 2 years ago

janstadt commented 2 years ago

Checklist:

Release with the issue: Latest Last working release (if known): Unsure Browser and Operating System: Home Assistant iOS companion app, all browsers.

Description of problem: I have this card setup to work with a couple roku ultra's and a roku express 4k. I set the tv:true set which seems to work with the roku via HDMI CEC with my televisions (a sony android tv, hisense android tv and a tcl android tv) but there is a huge lag between volume actions. Like 6-10seconds between each press. All the other buttons have little to no latency and was hoping to see if anyone has a solution for this? I know i could use the android tv integration but was hoping to keep it all going through the Roku integrations i already have. TIA!

nextcode4u commented 1 year ago

Change the call service to media instead if your call service is remote.

type: custom:roku-card entity: media_player.obeythewalrus_tv tv: true volume_up: tap_action: action: call-service service: media_player.volume_up service_data: entity_id: media_player.obeythewalrus_tv volume_down: double_tap_action: action: call-service service: media_player.volume_down service_data: entity_id: media_player.obeythewalrus_tv