Update layout

This commit is contained in:
Fabian Affolter 2018-04-06 23:13:40 +02:00
parent 5d0eb6b5a6
commit 690fa13130
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -12,41 +12,42 @@ ha_release: "0.64"
ha_category: Hub ha_category: Hub
--- ---
[Smappee](https://www.smappee.com/) controller for energy monitoring and Comport plug switches. The `smappee` component adds support for the [Smappee](https://www.smappee.com/) controller for energy monitoring and Comport plug switches.
Switches and Sensors are supported - and will be automatically added when you connect to the Smappee controller. Switches and Sensors are supported - and will be automatically added when you connect to the Smappee controller.
The smappee component gets information from [Smappee API](https://smappee.atlassian.net/wiki/display/DEVAPI/API+Methods) using the [smappy](https://github.com/EnergieID/smappy) pypy module The smappee component gets information from [Smappee API](https://smappee.atlassian.net/wiki/display/DEVAPI/API+Methods).
<p class='note'> ## {% linkable_title Configuration %}
Info on how to get api access is described in the [smappy wiki](https://github.com/EnergieID/smappy/wiki)
</p> Info on how to get API access is described in the [smappy wiki](https://github.com/EnergieID/smappy/wiki).
To use the `smappee` component in your installation, add the following to your `configuration.yaml` file:
# Configuration
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
smappee: smappee:
host: 10.0.0.5 host: 10.0.0.5
client_id: YOUR_CLIENT_ID client_id: YOUR_CLIENT_ID
client_secret: YOUR_CLIENT_SECRET client_secret: YOUR_CLIENT_SECRET
username: YOUR_MYSMAPPEE_USERNAME username: YOUR_MYSMAPPEE_USERNAME
password: YOUR_MYSMAPPEE_PASSWORD password: YOUR_MYSMAPPEE_PASSWORD
``` ```
```yaml ```yaml
# Minimal example configuration.yaml entry # Minimal example configuration.yaml entry
smappee: smappee:
host: 10.0.0.5 host: 10.0.0.5
``` ```
```yaml ```yaml
# Cloud only example configuration.yaml entry # Cloud only example configuration.yaml entry
smappee: smappee:
client_id: YOUR_CLIENT_ID client_id: YOUR_CLIENT_ID
client_secret: YOUR_CLIENT_SECRET client_secret: YOUR_CLIENT_SECRET
username: YOUR_MYSMAPPEE_USERNAME username: YOUR_MYSMAPPEE_USERNAME
password: YOUR_MYSMAPPEE_PASSWORD password: YOUR_MYSMAPPEE_PASSWORD
``` ```
Configuration variables: Configuration variables: