def media_play_pause(hass):
 hass.services.call(DOMAIN, SERVICE_MEDIA_PLAY_PAUSE)

def media_play_pause ( hass ) : hass . services . call ( DOMAIN , SERVICE_MEDIA_PLAY_PAUSE )
press the keyboard button for play/pause .