home-assistant.io/source/_components/climate.sensibo.markdown
dayofdoom b64ba0dfb6 Sensible documentation change (#6843)
* Sensible documentation change

I updated the sample API key in the documentation to something more beginner friendly to understand.

* Align with other docs
2018-10-16 08:46:27 +02:00

76 lines
1.9 KiB
Markdown

---
layout: page
title: "Sensibo A/C controller"
description: "Instructions on how to integrate Sensibo A/C controller into Home Assistant."
date: 2017-04-01 15:00 +0200
sidebar: true
comments: false
sharing: true
footer: true
logo: sensibo.png
ha_category: Climate
ha_release: 0.44
ha_iot_class: "Cloud Polling"
---
Integrates [Sensibo](https://sensibo.com) Air Conditioning controller into Home Assistant.
To enable this platform, add the following lines to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
climate:
- platform: sensibo
api_key: YOUR_API_KEY
```
{% configuration %}
api_key:
description: Your Sensibo API key (To get your API key visit <https://home.sensibo.com/me/api>).
required: true
type: string
id:
description: A unit ID or a list of IDs. If none specified then all units accessible by the `api_key` will be used.
required: false
type: string
{% endconfiguration %}
<p class="note">
If you create the API key using a dedicated user (and not your main user),
then in the Sensibo app log you will be able to distinguish between actions
done in the app and actions done by Home Assistant.
</p>
### {% linkable_title Full config example %}
```yaml
climate:
- platform: sensibo
api_key: YOUR_API_KEY
id:
- id1
- id2
```
### {% linkable_title Adding a quick switch example %}
If you want a "Quick Switch" to turn your AC On / Off, you can do that using the following `Switch Template`:
{% raw %}
```yaml
switch:
- platform: template
switches:
ac:
friendly_name: "AC"
value_template: "{{ is_state('climate.ac', 'cool') or is_state('climate.ac', 'heat') or is_state('climate.ac', 'dry') or is_state('climate.ac', 'heat')}}"
turn_on:
service: climate.turn_on
data:
entity_id: climate.ac
turn_off:
service: climate.turn_off
data:
entity_id: climate.ac
```
{% endraw %}