Added support for two sensors