# LG Heat pump water heater (ThinQ)

Source: https://docs.evcc.io/en/heating/lg-heat-pump-water-heater-thinq

Controls LG heat pump water heaters (e.g. WH27S) via the LG ThinQ Connect cloud API.
A personal access token (PAT) must be created at https://connect-pat.lgthinq.com with the permissions "view devices", "view device status" and "control devices".
evcc sets the water heater target temperature: the normal temperature outside of boost, the boost temperature during boost.

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| token | Personal access token (PAT) |  |  |
| country | Country code Country code of the LG account (ISO 3166-1 alpha-2) | DE |  |
| device | Device ID Required if multiple water heaters are present in the account |  |  |
| normal | Normal temperature Target temperature outside of boost | 50 °C |  |
| setpoint | Boost temperature Target temperature during boost, must exceed the normal temperature | 60 °C |  |
| cache | Cache Time interval for data refresh | 1m | advanced |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_heating
      type: template
      template: lg-thinq
      token: # Personal access token (PAT)
      country: DE # Country code, Country code of the LG account (ISO 3166-1 alpha-2) (optional)
      device: # Device ID, Required if multiple water heaters are present in the account (optional)
      normal: 50 # Normal temperature (°C), Target temperature outside of boost (optional)
      setpoint: 60 # Boost temperature (°C), Target temperature during boost, must exceed the normal temperature (optional)
      cache: 1m # Cache, Time interval for data refresh (optional)
```
