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

Add support for Sber door sensor, motion sensor, 1-button switch #6099

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ const definitions: Definition[] = [
{vendor: 'Tesla Smart', model: 'TSL-SEN-DOOR'},
{vendor: 'Cleverio', model: 'SS100'},
tuya.whitelabel('Niceboy', 'ORBIS Windows & Door Sensor', 'Door sensor', ['_TZ3000_qrldbmfn']),
tuya.whitelabel('Sber', 'SBDV-00030', 'Door sensor', ['_TYZB01_epni2jgy']),
],
configure: async (device, coordinatorEndpoint, logger) => {
try {
Expand Down Expand Up @@ -1834,11 +1835,13 @@ const definitions: Definition[] = [
},
{
zigbeeModel: ['TS0041'],
fingerprint: [{manufacturerName: '_TZ3000_tk3s5tyg'}],
fingerprint: [{manufacturerName: '_TZ3000_tk3s5tyg'}, {modelID: 'TS0041A', manufacturerName: '_TYZB01_ub7urdza'}],
model: 'TS0041',
vendor: 'TuYa',
description: 'Wireless switch with 1 button',
whiteLabel: [{vendor: 'Smart9', model: 'S9TSZGB'}, {vendor: 'Lonsonho', model: 'TS0041'}, {vendor: 'Benexmart', model: 'ZM-sui1'}],
whiteLabel: [{vendor: 'Smart9', model: 'S9TSZGB'}, {vendor: 'Lonsonho', model: 'TS0041'}, {vendor: 'Benexmart', model: 'ZM-sui1'},
tuya.whitelabel('Sber', 'SBDV-00032', 'Wireless switch with 1 button', ['_TYZB01_ub7urdza']),
],
exposes: [e.battery(), e.action(['single', 'double', 'hold'])],
fromZigbee: [fz.tuya_on_off_action, fz.battery],
toZigbee: [],
Expand Down Expand Up @@ -5360,6 +5363,7 @@ const definitions: Definition[] = [
whiteLabel: [
tuya.whitelabel('Cleverio', 'SS200', 'Motion sensor', ['_TYZB01_z2umiwvq']),
tuya.whitelabel('Marmitek', 'SM0202_1', 'Motion sensor', ['_TYZB01_yr95mpib']),
tuya.whitelabel('Sber', 'SBDV-00029', 'Motion sensor', ['_TYZB01_2jzbhomb']),
],
},
{
Expand Down