An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# homeassistant_gradual_volume_control [![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](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:
```