Skip to content

Commit

Permalink
feat(add): NAS-AB06B2 (#5878)
Browse files Browse the repository at this point in the history
* Add NEO NAS-AB06B2

* Change tab to spaces

* Update neo.ts

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
tygroo and Koenkk authored Jun 12, 2023
1 parent ca82536 commit 9ce2bea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/devices/neo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const definitions: Definition[] = [
},
},
{
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_t1blo2bj'}, {modelID: 'TS0601', manufacturerName: '_TZE204_t1blo2bj'}],
zigbeeModel: ['1blo2bj'],
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_t1blo2bj', '_TZE204_t1blo2bj', '_TZE200_nlrfgpny']),
zigbeeModel: ['1blo2bj', 'lrfgpny'],
model: 'NAS-AB02B2',
vendor: 'Neo',
description: 'Alarm',
Expand All @@ -51,6 +51,7 @@ const definitions: Definition[] = [
e.enum('volume', ea.STATE_SET, ['low', 'medium', 'high']),
e.numeric('battpercentage', ea.STATE).withUnit('%'),
],
whiteLabel: [tuya.whitelabel('Neo', 'NAS-AB06B2', 'Outdoor solar alarm', ['_TZE200_nlrfgpny'])],
onEvent: tuya.onEventSetLocalTime,
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
Expand Down

0 comments on commit 9ce2bea

Please sign in to comment.