Skip to content

Does this support zigbee subdevice control #17

Closed Answered by xZetsubou
NJPYY asked this question in Q&A
Discussion options

You must be logged in to vote

There are 3 solutions for this:

  1. add the device as select. if you said device is 0, 1 and 2 then select config would be like this

  2. is to add the device any way you want as sensor or switch but doing action through HA do it with call_service
    to set your actions: [ The best sine you can remap the way you want ]

service: localtuya.set_dp
data:
  device_id: 767823809c9c1f842393 # you devices_id
  dp: 1 # The DP you want to control it
  value: 0 # assuming 0 is single_click
  1. Is I can actually make you add button multi times and remap button set_value so you can Have 3 buttons in you HA Device TAB each button perform specific click.

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@NJPYY
Comment options

@xZetsubou
Comment options

@xZetsubou
Comment options

@xZetsubou
Comment options

Answer selected by xZetsubou
@NJPYY
Comment options

@xZetsubou
Comment options

@NJPYY
Comment options

@xZetsubou
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16 on August 28, 2023 09:05.