mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Add details about enabling the REST API (#6310)
This commit is contained in:
parent
321ad3ac8b
commit
3a076534cd
@ -16,6 +16,17 @@ ha_iot_class: "Local Polling"
|
||||
|
||||
The `mystrom` switch platform allows you to control the state of your [myStrom](https://mystrom.ch/en/) switches. The built-in sensor is measuring the power consumption while the switch is on.
|
||||
|
||||
## {% linkable_title Setup %}
|
||||
|
||||
Make sure that you have enabled the REST API under **Advanced** in the web frontend of the switch.
|
||||
|
||||
<p class='img'>
|
||||
<img src='{{site_root}}/images/components/mystrom/mystrom-advanced.png' />
|
||||
</p>
|
||||
|
||||
|
||||
## {% linkable_title Configuration %}
|
||||
|
||||
To use your myStrom switch in your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
|
BIN
source/images/components/mystrom/switch-advanced.png
Normal file
BIN
source/images/components/mystrom/switch-advanced.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
x
Reference in New Issue
Block a user