def trash_note(self, note_id):
        # get note
        note, status = self.get_note(note_id)
        if (status == -1):
            return note, status
        # set deleted property
        note["deleted"] = 1
        # update note
        return self.update_note(note)
Send play command.
dataset/ETHPy150Open cpbotha/nvpy/nvpy/simplenote.py/Simplenote.trash_note--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/panasonic_viera.py/PanasonicVieraTVDevice.media_play