Important note

This commit is contained in:
Daniele Verducci
2025-12-12 00:05:36 +01:00
parent b1f86b90d5
commit 0bdf342f41

View File

@@ -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