# Merged tariff

Source: https://docs.evcc.io/en/tariffs/merged-tariff

Uses the prices of the primary tariff and continues with the secondary tariff where they end. For example real market prices combined with a longer-term forecast.

Supported features: Global

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| primary | Primary tariff |  |  |
| secondary | Secondary tariff |  |  |

## Configuration example for evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: merged
      primary: # Primary tariff
      secondary: # Secondary tariff
```
