Media "state" property?

Can anyone comment on what the “state” property of the media widget is for? I tried to link it to the Play/Pause item of my squeezebox player but it does nothing when pressed.

Same, not seeing anything from my HA media player entity when I setup this widget

@cybergrimes HA media player components should be supported. What type of media player you use?

@TommySharp I’ve got to test Media widget with squeezebox player specifically, and it looks like Player item does work with it. Since OpenHAB item states are pretty standardized I’m not sure why it wouldn’t work in your case.
Any chance you can provide JSON from items API for "type": "Player" item?

I think I have the same issue with the Media widget in combination with Home Assistant (0.84.5). I’m running the latest beta version of the HomeHabit app.

I can’t use the Pause/Play button for both my Sonos and the Google cast media players (they work fine within Home Assistant).

Is this a bug? Do you want me to collect some logging or screenshots?

@stefan2904 yes, fix should be available soon.

1 Like

@Igor, you still need me to help out with this? Sorry I’ve been offline for a little while.

@TommySharp Yes, that would be great.

Sure thing @Igor although I’m not exactly sure what you are asking for…

Maybe this is what you are looking for?

{
    "link": "http://192.168.1.93:8080/rest/items/BulletBox",
    "state": "PAUSE",
    "editable": false,
    "type": "Player",
    "name": "BulletBox",
    "label": "Bullet Box",
    "tags": [],
    "groupNames": [
      "SBBulletBox"
    ]
  }