Skip to content

Commit

Permalink
GITBOOK-71: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
bkbilly authored and gitbook-bot committed Apr 13, 2024
1 parent b840f5f commit b3b56f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions media-player.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ data:
target:
entity_id: camera.demo_camera
```
### Volume change by a predefined step
```yaml
service: media_player.volume_set
data:
volume_level: '{{ state_attr("media_player.desktop_linux", "volume_level") - 0.01 }}'
target:
entity_id: media_player.desktop_linux
```

0 comments on commit b3b56f8

Please sign in to comment.