1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Added vol +/- control to dfplayer (#1856)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
foxsam21
2021-06-02 18:12:23 -04:00
committed by GitHub
parent 3b18f1b87f
commit 2b9350ce76
3 changed files with 42 additions and 0 deletions

View File

@@ -141,6 +141,14 @@ api:
then:
- dfplayer.random
- service: dfplayer_volume_up
then:
- dfplayer.volume_up
- service: dfplayer_volume_down
then:
- dfplayer.volume_down
- service: battery_level_percent
variables:
level_percent: int