Skip to content

Commit

Permalink
docs(device): remove notes about _click actions for Z2M
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Jan 9, 2021
1 parent 3ab7d9b commit 2ec1216
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 45 deletions.
64 changes: 32 additions & 32 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
fail_fast: true
repos:
- repo: local
hooks:
- id: isort
name: isort
entry: pipenv run isort
language: python
types: [python]
args: []
require_serial: false
- id: black
name: black
entry: pipenv run black
language: python
types: [python]
- id: flake8
name: flake8
entry: pipenv run flake8
language: python
types: [python]
- id: mypy
name: mypy
entry: pipenv run mypy apps/controllerx/ tests/
language: python
types: [python]
pass_filenames: false
- id: pytest
name: pytest
entry: pipenv run pytest
language: python
types: [python]
pass_filenames: false
always_run: true
- repo: local
hooks:
- id: isort
name: isort
entry: pipenv run isort
language: python
types: [python]
args: []
require_serial: false
- id: black
name: black
entry: pipenv run black
language: python
types: [python]
- id: flake8
name: flake8
entry: pipenv run flake8
language: python
types: [python]
- id: mypy
name: mypy
entry: pipenv run mypy apps/controllerx/ tests/
language: python
types: [python]
pass_filenames: false
- id: pytest
name: pytest
entry: pipenv run pytest
language: python
types: [python]
pass_filenames: false
always_run: true
4 changes: 0 additions & 4 deletions docs/_data/controllers/WXKG11LM-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ device_support:
- "1 click → Toggle"
- "2 clicks → Full brightness"
- "Hold the button → Brightness up/down with direction changes"
note: >-
For z2m integration, this controller has 2 sensors that need to be added to the configuration.
One ends with `_action` and the other one with `_click`.
<a href="https://github.com/xaviml/controllerx/issues/28#issuecomment-587799277"> See here.</a>
integrations:
- name: Zigbee2MQTT
codename: z2m
Expand Down
4 changes: 0 additions & 4 deletions docs/_data/controllers/WXKG11LM-sensor_switch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ device_support:
- "2 clicks → Full brightness"
- "3 clicks → Minimum brightness (just ZHA integration)"
- "4 clicks → 50% brightness (just ZHA integration)"
note: >-
For z2m integration, this controller has 2 sensors that need to be added to the configuration.
One ends with `_action` and the other one with `_click`.
<a href="https://github.com/xaviml/controllerx/issues/28#issuecomment-587799277"> See here.</a>
integrations:
- name: ZHA
codename: zha
Expand Down
4 changes: 0 additions & 4 deletions docs/_data/controllers/WXKG12LM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ device_support:
- "2 clicks → Full brightness"
- "Shake the controller → Minimum brightness"
- "Hold the button → Brightness up/down with direction changes"
note: >-
For z2m integration, this controller has 2 sensors that need to be added to the configuration.
One ends with `_action` and the other one with `_click`.
<a href="https://github.com/xaviml/controllerx/issues/28#issuecomment-587799277"> See here.</a>
integrations:
- name: Zigbee2MQTT
codename: z2m
Expand Down
2 changes: 1 addition & 1 deletion docs/others/extract-controller-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The purpose of this page is to indicate what value the `controller` attribute sh

#### Zigbee2MQTT

The name you need to add to the `controller` parameter can be found in `Configuration > Integrations > MQTT` and then select the controller. Then you will see the action sensor that by default finishes in `_action` or `_click`. The parameter you need is the entity id of the sensor.
The name you need to add to the `controller` parameter can be found in `Configuration > Integrations > MQTT` and then select the controller. Then you will see the action sensor that by default finishes in `_action`. The parameter you need is the entity id of the sensor.

#### deCONZ

Expand Down

0 comments on commit 2ec1216

Please sign in to comment.