mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Remove manual interaction section (#17972)
This commit is contained in:
parent
f27f5d3b01
commit
1bc701f990
@ -188,21 +188,6 @@ name:
|
|||||||
default: myStrom Switch
|
default: myStrom Switch
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
Check if you are able to access the device located at `http://IP_ADRRESS`. The details about your switch is provided as a JSON response.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ curl -X GET -H "Content-Type: application/json" http://IP_ADDRESS/report
|
|
||||||
{
|
|
||||||
"power": 0,
|
|
||||||
"relay": false
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
or change its state:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
curl -G -X GET http://IP_ADDRESS/relay -d 'state=1'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Get the current power consumption
|
### Get the current power consumption
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user