Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def zbON_OFF 0x00060000
// If we have a node with Binary Switch + Color Switch, we need to simulate
// the Level cluster.
def simulate_level (e'zwCOLOR_SWITCH_v & (e'zwMULTILEVEL_v==0))
def simulate_on_off (e'zwCOLOR_SWITCH_v & (e'zwBINARY_SWITCH_v ==0))
def simulate_on_off (e'zwCOLOR_SWITCH_v & (e'zwMULTILEVEL_v==0) & (e'zwBINARY_SWITCH_v ==0))

// Intermediate calculations
// Hue/Saturation/Level is just a lot easier than CieXY.
Expand Down