Hi, i'm trying to create a rule to control my fan from a novelli blue switch, but not sure how to go about it in rule machine. Any help or input would be appreciated. This is a copy from invelli below.
Create a Rule in Rule Machine
Trigger:
• Button 7 pushed on your VZM31‑SN
Actions (in order):
IF (FanCycleState = "off") THEN
Set FanCycleState to "on"
Set VZM36 Fan to On
ELSE-IF (FanCycleState = "on") THEN
Set FanCycleState to "low"
Set VZM36 Fan Speed to Low
ELSE-IF (FanCycleState = "low") THEN
Set FanCycleState to "medium"
Set VZM36 Fan Speed to Medium
ELSE-IF (FanCycleState = "medium") THEN
Set FanCycleState to "high"
Set VZM36 Fan Speed to High
ELSE-IF (FanCycleState = "high") THEN
Set FanCycleState to "off"
Turn Off VZM36 Fan
END-IF