From 8a06043974c301a0628c00b2fd28f989fb2f7115 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 22 Apr 2020 21:31:12 +0200 Subject: [PATCH] Add documentation about switch support --- docs/_data/controllers/E1743.yml | 1 + docs/index.md | 4 ++-- docs/start/configuration.md | 11 +++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/_data/controllers/E1743.yml b/docs/_data/controllers/E1743.yml index 873178a0..28273308 100644 --- a/docs/_data/controllers/E1743.yml +++ b/docs/_data/controllers/E1743.yml @@ -1,6 +1,7 @@ name: E1743 (IKEA) device_support: - Light (E1743Controller; 350ms delay) + - Switch (E1743SwitchController) light_example: E1743Controller integrations: - name: Zigbee2mqtt diff --git a/docs/index.md b/docs/index.md index 7284a3a0..5ef90980 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,8 +9,8 @@ _Bring full functionality to light and media player controllers. From turning de ControllerX brings the following functionalities for different [controllers](/controllerx/controllers): -- Turn on/Turn off light(s) -- Toggle light(s) +- Turn on/Turn off light(s) or switch(es) +- Toggle light(s) or switch(es) - Manual increase/decrease of brightness and color temperature - Smooth increase/decrease (holding button) of brightness and color temperature - Color loop changing if the light supports xy color. diff --git a/docs/start/configuration.md b/docs/start/configuration.md index 9df63c77..370697ad 100644 --- a/docs/start/configuration.md +++ b/docs/start/configuration.md @@ -38,6 +38,17 @@ nameOfYourInstanceApp: media_player: ``` +or: + +```yaml +nameOfYourInstanceApp: + module: controllerx + class: + controller: + integration: + switch: +``` + ## Real examples You can check real examples in [here](/controllerx/examples).