1
0
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:
Jesse Hills
2022-06-13 13:28:55 +12:00
parent 6e83790308
commit 041bef8bcd
5 changed files with 79 additions and 24 deletions

View File

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