Sensors.Imagenex852: modified entity state mechanism.