Added a 'lighting with state' example, works more like a light switch.