Skip to content

Commit

Permalink
Add top and bottom to postfixes. Koenkk/zigbee-herdsman-converters#319
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Mar 6, 2019
1 parent f0e9ebe commit 83b8fc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/extension/devicePublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ const logger = require('../util/logger');
const utils = require('../util/utils');

const topicRegex = new RegExp(`^${settings.get().mqtt.base_topic}/.+/(set|get)$`);
const postfixes = ['left', 'right', 'center', 'bottom_left', 'bottom_right',
'top_left', 'top_right', 'white', 'rgb', 'system'];
const postfixes = [
'left', 'right', 'center', 'bottom_left', 'bottom_right',
'top_left', 'top_right', 'white', 'rgb', 'system', 'top', 'bottom',
];
const maxDepth = 20;

const groupConverters = [
Expand Down

0 comments on commit 83b8fc9

Please sign in to comment.