Skip to content

Conversation

@Rambylon
Copy link

Update tuya.ts to add tuya 4 gang + 4 scene button switch

Link to picture pull request: TODO
tuya_8button_4 relay_4scene

Update tuya.ts to add tuya 4 gang + 4 scene button switch
[4, 'Switch_4', tuya.valueConverter.raw],
[13, 'Master_Switch', tuya.valueConverter.raw],
[102, 'Backlight', tuya.valueConverter.raw],
[103, 'Scene',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[103, 'Scene',
[103, 'action',

This is an action right? A result of e.g. a button press

},
{
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE284_f3tddpwc'}],
model: 'TS0601_4gang+4scene',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
model: 'TS0601_4gang+4scene',
model: '_TZE284_f3tddpwc',

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