Skip to content

Commit

Permalink
Update philips.js
Browse files Browse the repository at this point in the history
Wrong unit used, sorry.
  • Loading branch information
Burki24 authored Dec 21, 2021
1 parent fb0a00c commit c888fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/philips.js
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ module.exports = [
fz.legacy.hue_dimmer_switch, fz.battery],
exposes: [e.battery(), e.action(['on-press', 'on-hold', 'on-hold-release', 'up-press', 'up-hold', 'up-hold-release',
'down-press', 'down-hold', 'down-hold-release', 'off-press', 'off-hold', 'off-hold-release']),
exposes.numeric('duration', ea.STATE).withUnit('ms')],
exposes.numeric('duration', ea.STATE).withUnit('s')],
toZigbee: [],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint1 = device.getEndpoint(1);
Expand Down

0 comments on commit c888fde

Please sign in to comment.