Important note
This commit is contained in:
@@ -139,6 +139,8 @@ binary_sensor:
|
|||||||
if:
|
if:
|
||||||
condition:
|
condition:
|
||||||
dfplayer.is_playing
|
dfplayer.is_playing
|
||||||
|
# Note: this is True only if the dfplayer is playing the track we asked.
|
||||||
|
# If it's looping, the following tracks are player with is_playing=false.
|
||||||
then:
|
then:
|
||||||
dfplayer.play_previous
|
dfplayer.play_previous
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
|
|||||||
Reference in New Issue
Block a user