https://github.com/NinDTendo/homeassistant_gradual_volume_control
Home Assistant integration providing a service to gradually change the volume of media_players over a given timespan.
https://github.com/NinDTendo/homeassistant_gradual_volume_control
hacs home-assistant home-assistant-config home-automation homeassistant
Last synced: 2 months ago
JSON representation
Home Assistant integration providing a service to gradually change the volume of media_players over a given timespan.
- Host: GitHub
- URL: https://github.com/NinDTendo/homeassistant_gradual_volume_control
- Owner: NinDTendo
- Created: 2023-01-25T16:33:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T21:37:58.000Z (over 1 year ago)
- Last Synced: 2023-10-02T23:39:08.337Z (over 1 year ago)
- Topics: hacs, home-assistant, home-assistant-config, home-automation, homeassistant
- Language: Python
- Homepage:
- Size: 59.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# homeassistant_gradual_volume_control [](https://github.com/hacs/integration)
This integration provides a service to gradually change the volume of a mediaplayer over a given timespan
## Installation (with HACS)1. Go to Home Assistant > HACS > Integrations > Click on tree dot (on top right corner) > Custom repositories \
and fill :
* **Repository** : `NinDTendo/homeassistant_gradual_volume_control`
* **Category** : `Integration`2. Click on `ADD`, restart HA.
## Installation (manual)
1. Download last release.
2. Unzip `grad_vol` folder into your HomeAssistant : `custom_components`
3. Restart HA## Configuration
Edit your Home Assistant `configuration.yaml` and set :
``` YAML
grad_vol:
```
to use this integration.## Usage
Using a service-call, you can gradually change the volume to a target volume over a given timespan
For example: I want to have the volume gradually increase to 80% over 20 seconds.
The volume would be: 0.8
duration: 20
if the duration is not provided it will fall back to 5 seconds by default.example:
``` YAML
service: grad_vol.set_volume
data:
volume:
duration:
target:
entity_id:
```