Skip to content

Commit 690fa13

Browse files
committed
Update layout
1 parent 5d0eb6b commit 690fa13

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

source/_components/smappee.markdown

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,42 @@ ha_release: "0.64"
1212
ha_category: Hub
1313
---
1414

15-
[Smappee](https://www.smappee.com/) controller for energy monitoring and Comport plug switches.
15+
The `smappee` component adds support for the [Smappee](https://www.smappee.com/) controller for energy monitoring and Comport plug switches.
1616

1717
Switches and Sensors are supported - and will be automatically added when you connect to the Smappee controller.
1818

19-
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
19+
The smappee component gets information from [Smappee API](https://smappee.atlassian.net/wiki/display/DEVAPI/API+Methods).
2020

21-
<p class='note'>
22-
Info on how to get api access is described in the [smappy wiki](https://github.com/EnergieID/smappy/wiki)
23-
</p>
21+
## {% linkable_title Configuration %}
22+
23+
Info on how to get API access is described in the [smappy wiki](https://github.com/EnergieID/smappy/wiki).
24+
25+
To use the `smappee` component in your installation, add the following to your `configuration.yaml` file:
2426

25-
# Configuration
2627

2728
```yaml
2829
# Example configuration.yaml entry
2930
smappee:
30-
host: 10.0.0.5
31-
client_id: YOUR_CLIENT_ID
32-
client_secret: YOUR_CLIENT_SECRET
33-
username: YOUR_MYSMAPPEE_USERNAME
34-
password: YOUR_MYSMAPPEE_PASSWORD
31+
host: 10.0.0.5
32+
client_id: YOUR_CLIENT_ID
33+
client_secret: YOUR_CLIENT_SECRET
34+
username: YOUR_MYSMAPPEE_USERNAME
35+
password: YOUR_MYSMAPPEE_PASSWORD
3536
```
3637
3738
```yaml
3839
# Minimal example configuration.yaml entry
3940
smappee:
40-
host: 10.0.0.5
41+
host: 10.0.0.5
4142
```
4243
4344
```yaml
4445
# Cloud only example configuration.yaml entry
4546
smappee:
46-
client_id: YOUR_CLIENT_ID
47-
client_secret: YOUR_CLIENT_SECRET
48-
username: YOUR_MYSMAPPEE_USERNAME
49-
password: YOUR_MYSMAPPEE_PASSWORD
47+
client_id: YOUR_CLIENT_ID
48+
client_secret: YOUR_CLIENT_SECRET
49+
username: YOUR_MYSMAPPEE_USERNAME
50+
password: YOUR_MYSMAPPEE_PASSWORD
5051
```
5152
5253
Configuration variables:

0 commit comments

Comments
 (0)