Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added lall, switch_all, master, master_switch to endpointNames #18157

Closed
wants to merge 4 commits into from

Conversation

Qianli-Ma
Copy link

Addes support so that certain TuYa devices that can turn on/off all switches at once (Master switch)

DP ID DP Name Identifier Data Transfer Type Data Type
13 Master Switch switch_all Send Only Bool

add support for certain TuYa devices that can turn on/off all switches at once (Master switch)
add master and master_switch to endpoints
@Qianli-Ma Qianli-Ma changed the base branch from master to dev June 30, 2023 17:44
@Koenkk
Copy link
Owner

Koenkk commented Jul 1, 2023

Can you also create a pr for zigbee-herdsman-converters so I can better understand the use-case?

Qianli-Ma added a commit to Qianli-Ma/zigbee-herdsman-converters that referenced this pull request Jul 1, 2023
Adds support for tuya 4gang + 2 scene switch with backlight.
Power on behavior is still WIP.
master_switch requires Koenkk/zigbee2mqtt#18157 to work
@Qianli-Ma
Copy link
Author

Created

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this pull request Jul 9, 2023
…-41Z (#5935)

* Update terncy.ts

Added Terncy CL001 support

* Update terncy.ts

Fixed linting issues

* Update tuya.ts

added support for tuya G3 smart 4 gang switch with 2 scene controller

* Update tuya.ts

Changed model name

* Update tuya.ts

fix typo

* Update terncy.ts

* Update tuya.ts

Adds support for tuya 4gang + 2 scene switch with backlight.
Power on behavior is still WIP.
master_switch requires Koenkk/zigbee2mqtt#18157 to work

* Update tuya.ts

fixed linting errors

* Update tuya.ts

Moved _TZE200_wunufsil to an individual device with switch countdown timer, power on behavior, backlight control, and master switch functions.

* Update tuya.ts

Changed model name to reflect 2 gang control

* Update tuya.ts

_TZE200_0j5jma9b :
  fixed description
  fixed master switch
_TZE200_wunufsil:
  removed extra endpoints

* Update tuya.ts

Added TS0601_3gang switch with backlight

* Update tuya.ts

Fixed duplicate _TZE200_vhy3iakz (new code supports countdown, backlight mode, and main switch)  and changed some formatting

* Update tuya.ts

fix duplicates and format

* Update tuya.ts

Changed _TZE200_k6jhsr0q to support additional features

* Update tuya.ts

Update device names per request

* Update tuya.ts

Updated model names

* Update tuya.ts

Changed

* Update tuya.ts

Fixed power on behavior
Fixed backlightModeOffOn get

* Update tuya.ts

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
@Qianli-Ma Qianli-Ma closed this Jul 10, 2023
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this pull request Jul 17, 2023
* Update terncy.ts

Added Terncy CL001 support

* Update terncy.ts

Fixed linting issues

* Update tuya.ts

added support for tuya G3 smart 4 gang switch with 2 scene controller

* Update tuya.ts

Changed model name

* Update tuya.ts

fix typo

* Update terncy.ts

* Update tuya.ts

Adds support for tuya 4gang + 2 scene switch with backlight.
Power on behavior is still WIP.
master_switch requires Koenkk/zigbee2mqtt#18157 to work

* Update tuya.ts

fixed linting errors

* Update tuya.ts

Moved _TZE200_wunufsil to an individual device with switch countdown timer, power on behavior, backlight control, and master switch functions.

* Update tuya.ts

Changed model name to reflect 2 gang control

* Update tuya.ts

_TZE200_0j5jma9b :
  fixed description
  fixed master switch
_TZE200_wunufsil:
  removed extra endpoints

* Update tuya.ts

Added TS0601_3gang switch with backlight

* Update tuya.ts

Fixed duplicate _TZE200_vhy3iakz (new code supports countdown, backlight mode, and main switch)  and changed some formatting

* Update tuya.ts

fix duplicates and format

* Update tuya.ts

Changed _TZE200_k6jhsr0q to support additional features

* Update tuya.ts

Update device names per request

* Update tuya.ts

Updated model names

* Update tuya.ts

Changed

* Update tuya.ts

Fixed power on behavior
Fixed backlightModeOffOn get

* Update tuya.ts

* Update tuya.ts

 Add individual mode/power on behavior switch for tuya devices

* Adds support for M9-zigbee-SL

Adds support for M9-zigbee-SL
'light_mode' is needed to control individual indicator lights.

* Fix linting

* refactor code

* Code refactor

* Update tuya.ts

* Update tuya.ts

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants