Custom attributes in media_player

Thanks to this resurrected thread

This is what I needed

@property
def device_state_attributes(self):
    """Return the device specific state attributes."""
    return {"model": "test"}

Pretty weird unnecessarily hardcoded stuff.

1 Like