In order for the occupancy sensor to switch the thermostat into occupied mode the override timer in the thermostat configuration must be set to greater than 0:00. This setting can be found on the configuration page.