Skip to content

Commit ef35333

Browse files
committed
Fix "No converter available for 'on_time'" for lights. Koenkk/zigbee2mqtt#12276
1 parent 00dff50 commit ef35333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

converters/toZigbee.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ const converters = {
792792
},
793793
},
794794
light_onoff_brightness: {
795-
key: ['state', 'brightness', 'brightness_percent'],
795+
key: ['state', 'brightness', 'brightness_percent', 'on_time'],
796796
options: [exposes.options.transition()],
797797
convertSet: async (entity, key, value, meta) => {
798798
const {message} = meta;

0 commit comments

Comments
 (0)