diff --git a/components/dfplayer.rst b/components/dfplayer.rst index 512559c1e7..3e88a0d7a3 100644 --- a/components/dfplayer.rst +++ b/components/dfplayer.rst @@ -312,6 +312,24 @@ Randomly plays all tracks. then: - dfplayer.random + +``dfplayer.set_current_track_repeat`` Action +-------------------------------------------- + +Enable or disable the current track to repeat playback. If the track is already playing. + +.. code-block:: yaml + + on_...: + then: + - dfplayer.set_current_track_repeat: true + + on_...: + then: + - dfplayer.set_current_track_repeat: + enable: false + + All actions -----------