From 73322f15c363202c2b2f7a48761e17382d84e550 Mon Sep 17 00:00:00 2001 From: Xavi Date: Thu, 30 Jul 2020 23:15:53 +0200 Subject: [PATCH] feat(controller): add `mapping` attribute and deprecate custom controllers Now the mapping attribute can be used in any Controller type, so no need of CustomLightController for example, use LightController instead. We can also now use the mapping attribute for device controllers like E1810Controller or MFKZQ01LMLightController for example. related to #98 --- docs/examples/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/index.md b/docs/examples/index.md index a1426ee0..3bbad81b 100644 --- a/docs/examples/index.md +++ b/docs/examples/index.md @@ -274,7 +274,7 @@ livingroom_light_on: livingroom_light_off: module: controllerx - class: E1810Controller + class: LightController controller: sensor.livingroom_controller_action integration: z2m light: light.livingroom