JeffLIrion / homeassistant_native_firetv

43 stars 16 forks source link

volume controls #20

Closed uchagani closed 5 years ago

uchagani commented 5 years ago

are volume controls supposed to work? i see there is implementation for it but wasn't sure if there was something else i needed to do.

JeffLIrion commented 5 years ago

You know, I've never really looked into that part of the component. I think it might work if you import SUPPORT_VOLUME_STEP and add it to the SUPPORT_FIRETV variable.

JeffLIrion commented 5 years ago

On closer inspection, volume control is not implemented in the HA component. You can try playing around with it using this version of the component. It registers a service called media_player.firetv_adb_shell. According to these key codes, you should be able to adjust the volume using

{"entity_id": "media_player.fire_tv_living_room", "cmd": "input keyevent <KEY>"}

where some relevant volume keys are:

I tried those myself just now but it didn't seem to do anything.

JeffLIrion commented 5 years ago

I removed volume support, since it wasn't actually implemented and the ADB commands didn't seem to work.