Skip to content

Commit

Permalink
feat(controller): add mapping attribute and deprecate custom contro…
Browse files Browse the repository at this point in the history
…llers

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
  • Loading branch information
xaviml committed Aug 17, 2020
1 parent 7ce9afb commit 73322f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73322f1

Please sign in to comment.