Update thinkingcleaner docs with static ip option (#12308)

* Update thinkingcleaner.markdown

* Update thinkingcleaner.markdown

* Update thinkingcleaner.markdown

* Update thinkingcleaner.markdown

* Update thinkingcleaner.markdown
This commit is contained in:
Mans Matulewicz 2020-03-09 13:32:35 +01:00 committed by GitHub
parent bdb8e5becd
commit cde2a0cb75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,23 +21,51 @@ The `thinkingcleaner` sensor platform simple displays information about your [Th
To enable this sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: thinkingcleaner
```
{% configuration %}
host:
description: IP address of Thinking Cleaner device
required: false
type: string
{% endconfiguration %}
This will automatically add sensors for each Thinking Cleaner in your network.
## switch
## Switch
The `thinkingcleaner` switch platform allows you to control your [Thinking Cleaner](https://www.thinkingcleaner.com/) add-on.
To enable this switch in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
switch:
- platform: thinkingcleaner
```
{% configuration %}
host:
description: IP address of Thinking Cleaner device
required: false
type: string
{% endconfiguration %}
This will automatically add switches for each Thinking Cleaner in your network.
## Example configuration using a Roomba with a static IP
If your `thinkingcleaner` device has a static IP address, you can also supply this to the sensor and switch using the host parameter. This is optional and will disable the automatic lookup.
```yaml
sensor:
- platform: thinkingcleaner
host: 10.0.0.55
switch:
- platform: thinkingcleaner
host: 10.0.0.55
```