make sensors api v 1.2 suitable