diff --git a/source/_integrations/thinkingcleaner.markdown b/source/_integrations/thinkingcleaner.markdown index 7b59d6fb9fa..a375506d4f3 100644 --- a/source/_integrations/thinkingcleaner.markdown +++ b/source/_integrations/thinkingcleaner.markdown @@ -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 +``` +