
* 2 for 1: configuration markdown & usage sample Fixing configuration markdown #6385 also, added a simple switch example for AC management. * Fix configuration section Hope I got it right this time :)
1.9 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Sensibo A/C controller | Instructions on how to integrate Sensibo A/C controller into Home Assistant. | 2017-04-01 15:00 +0200 | true | false | true | true | sensibo.png | Climate | 0.44 | Cloud Polling |
Integrates Sensibo Air Conditioning controller into Home Assistant.
To enable this platform, add the following lines to your configuration.yaml
file:
# Example configuration.yaml entry
climate:
- platform: sensibo
api_key: <your_key_here>
{% 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 %}
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.
{% linkable_title Full config example %}
climate:
- platform: sensibo
api_key: deadbeaf
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 %}
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 %}