mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Implement media player volume actions (#3551)
This commit is contained in:
@@ -604,6 +604,14 @@ touchscreen:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: ["touch.x", "touch.y"]
|
||||
- media_player.play:
|
||||
- media_player.pause:
|
||||
- media_player.stop:
|
||||
- media_player.toggle:
|
||||
- media_player.volume_up:
|
||||
- media_player.volume_down:
|
||||
- media_player.volume_set: 50%
|
||||
|
||||
|
||||
media_player:
|
||||
- platform: i2s_audio
|
||||
|
||||
Reference in New Issue
Block a user