From cde2a0cb75c987b09612a53e36f0ae8fdbd0bec1 Mon Sep 17 00:00:00 2001 From: Mans Matulewicz Date: Mon, 9 Mar 2020 13:32:35 +0100 Subject: [PATCH] Update thinkingcleaner docs with static ip option (#12308) * Update thinkingcleaner.markdown * Update thinkingcleaner.markdown * Update thinkingcleaner.markdown * Update thinkingcleaner.markdown * Update thinkingcleaner.markdown --- source/_integrations/thinkingcleaner.markdown | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) 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 +``` +