Skip to content

Commit

Permalink
Add more don’t cache properties. Koenkk/zigbee-herdsman-converters#284
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Feb 19, 2019
1 parent e9bc525 commit 042a51b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/extension/deviceReceive.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const settings = require('../util/settings');
const logger = require('../util/logger');

const dontCacheProperties = ['action', 'button', 'button_left', 'button_right', 'click', 'forgotten', 'keyerror'];
const dontCacheProperties = [
'action', 'button', 'button_left', 'button_right', 'click', 'forgotten', 'keyerror',
'step_size', 'transition_time', 'action_color_temperature', 'action_color_x', 'action_color_y',
];

/**
* This extensions handles messages received from devices.
Expand Down

0 comments on commit 042a51b

Please sign in to comment.