I have created a new component for musiccast devices. I can pause, stop and resume playback from the service call page. But I do not see any start, volume button in the frontend.
I suspect this is the issue:
supported_media_commands: 0
I cannot see any reason for this behavior in my code:
gistfile1.txt
state output:
media_player.box playing device_id: 00A0DEDFFF
entity_picture: /api/media_player_proxy/media_player.box?token=a61e8aad579a1a58701f3ba722491e8605290ea7e4be7f88b771af6b7a57198c&cache=a50da
friendly_name: Box
is_volume_muted: false
media_album_name: Märchen
media_artist: toksi
media_content_type: music
media_title: Märchen
This file has been truncated. show original
musiccast.py
"""
Support for Musiccast Receivers.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/media_player.yamaha/
"""
import logging
import voluptuous as vol
from homeassistant.components.media_player import (
This file has been truncated. show original
I struggled on this one too… You have to implement supported_features() like this: https://github.com/jalmeroth/hass_yamaha_multicast/blob/master/yamaha_multicast.py#L80-L83
Hope this helps…